Select to view content in your preferred language

Services Directory not listing newly published REST services after 10 SP2

2335
3
05-11-2011 02:14 PM
DionLiddell
Deactivated User
After installing ArcGIS Server 10 Service Pack 2, I am finding that newly published services are not automatically appearing in the REST services directory http://myserver/ArcGIS/rest/services.
I've turned on verbose logging and there doesn't appear to be any technical issues with the simple (new) MXD I am trying to publish.
I can workaround the issue by logging into the rest admin interface http://myserver/ArcGIS/rest/admin then selecting 'Clear Cache Options'  and then 'Clear Cache Now' and then select 'Apply Settings'.  The newly published service is then visible.

If anyone knows how to get the services to appear automatically again then please let me know.
0 Kudos
3 Replies
RobChouinard
Frequent Contributor
I always had to 'Clear Cache Now' or wait till the cache is cleared automatically to get newly created or changed REST services to appear in Services Directory. You can set to have your cache cleared periodically every ____ minutes. Then the minutes you set will be your max wait time till the services show up. It would be nice to have the cache automatically cleared when any of the REST services are changed/added/removed.
0 Kudos
RyanKelley
Deactivated User
I have the same problem... though I have had it in SP1 too. Our dev and production servers are in a virtual env, though our production server (SOM) uses SOCs on two different virtual servers. 

I can successfully publish a service to dev and it shows up as a REST service after clearing the cache. Not the case in the production env... as it takes sometimes several hours (or I have to restart the SOC/SOM... not a good solution).
0 Kudos
AaronKreag
Deactivated User
It may not matter since this is three years old but for some reason I had this issue with publishing MXD.  Publish MSD and they show up....
0 Kudos