При попытке опубликовать картографический сервис , указываю в настройках сервиса чтобы строился кэш.
Но кэш не строится,при просмотре через JavaSсript в Manager-e пустота и в статусе кэша все по нулям.
Geoprocessing->REesult показывается следущее сообщение
попробуйте построить кэш вручную для небольшого экстента. в каких масштабах строится кэш?
возможно, если отключить background processes, все заработает
перепробовал уже много различных масштабов. По арккгисовским оценкам (Calculate cache size) от нескольких метров до гигабайтов пробовал. Выбирал различные экстенты: от Full extent до экстента равному одной фиче..Отключал background processes.. Не помогает
Сервис создается , но в конце вылетает сообщение "the service has been published successfully. The cache for the service has been enabled but the cache generation failed"
Инструменты кэширования на сервере же активны?
Перед публикацией сервиса лучше снять галку с "построить кэш автоматически", а после публикации попробовать построить кэш по зоне интереса (area of interest), значения экстента вбить вручную. если и после этого будет ошибка - копать логи.
еще вопрос: кэш для других сервисов пробовали строить?
Инструменты активны
для других картографических сервисов пробовал. Для уже созданных ранее,в менеджере на вкладке Кэширования настраиваю все как надо ,нажимаю сохранить и перезапустить. Сервис ребутится ,но кэширование сбрасывается опять.
вот лог публикации из ArcMap сервиса с кэшированием Уровень Время Сообщение
INFO 30.09.2013 17:18:59 Instance of service 'System/CachingTools' has been created successfully.
INFO 30.09.2013 17:18:59 Geoprocessing service instance is successfully constructed.
VERBOSE 30.09.2013 17:18:58 Service CachingTools.GPServer resuming
VERBOSE 30.09.2013 17:18:55 Extensions debug info: Service 'CachingTools.GPServer' started inside process '31044'. There are no extensions enabled on this service. This service will remain suspended for a duration of 2500 ms .
INFO 30.09.2013 17:18:55 Creating instance of service 'System/CachingTools.GPServer'.
INFO 30.09.2013 17:18:54 Recycling is configured for service System.CachingTools.GPServer. Recycling will start at 01.10.13 0:00 and repeat every 24 hours.
INFO 30.09.2013 17:18:54 A request has come in from the user 'siteadmin' for the service 'System/CachingTools.GPServer'.
INFO 30.09.2013 17:18:53 A request has come in from the user 'siteadmin' for the service 'newService.MapServer'.
INFO 30.09.2013 17:18:53 A request has come in from the user 'siteadmin' for the service 'newService.MapServer'.
INFO 30.09.2013 17:18:53 A request has come in from the user 'siteadmin' for the service 'newService.MapServer'.
INFO 30.09.2013 17:18:53 A request has come in from the user 'siteadmin' for the service 'newService.MapServer'.
INFO 30.09.2013 17:18:53 A request has come in from the user 'siteadmin' for the service 'newService.MapServer'.
INFO 30.09.2013 17:18:53 A request has come in from the user 'siteadmin' for the service 'newService.MapServer'.
INFO 30.09.2013 17:18:53 A request has come in from the user 'siteadmin' for the service 'newService.MapServer'.
INFO 30.09.2013 17:18:53 A request has come in from the user 'siteadmin' for the service 'newService.MapServer'.
INFO 30.09.2013 17:18:52 A request has come in from the user 'siteadmin' for the service 'newService.MapServer'.
INFO 30.09.2013 17:18:52 A request has come in from the user 'siteadmin' for the service 'newService.MapServer'.
INFO 30.09.2013 17:18:52 A request has come in from the user 'siteadmin' for the service 'newService.MapServer'.
INFO 30.09.2013 17:18:51 REST cache cleared on all server machines.
INFO 30.09.2013 17:18:51 REST cache cleared on all server machines.
VERBOSE 30.09.2013 17:18:51 Connection to callback URL 'http://GISSERVER:6080/arcgis/services' is successful.
VERBOSE 30.09.2013 17:18:51 Attempting to callback into server using URL 'http://GISSERVER:6080/arcgis/services'.
INFO 30.09.2013 17:18:50 Instance of service 'newService' has been created successfully.
Уровень Время Сообщение
INFO 30.09.2013 17:44:19 Instance of service 'System/CachingTools' has been created successfully.
INFO 30.09.2013 17:44:19 Geoprocessing service instance is successfully constructed.
VERBOSE 30.09.2013 17:44:17 Service CachingTools.GPServer resuming
VERBOSE 30.09.2013 17:44:15 Extensions debug info: Service 'CachingTools.GPServer' started inside process '16128'. There are no extensions enabled on this service. This service will remain suspended for a duration of 2500 ms .
INFO 30.09.2013 17:44:15 Creating instance of service 'System/CachingTools.GPServer'.
INFO 30.09.2013 17:44:14 Recycling is configured for service System.CachingTools.GPServer. Recycling will start at 01.10.13 0:00 and repeat every 24 hours.
INFO 30.09.2013 17:44:14 A request has come in from the user 'siteadmin' for the service 'System/CachingTools.GPServer'.
INFO 30.09.2013 17:44:12 A request has come in from the user 'siteadmin' for the service 'newService.MapServer'.
INFO 30.09.2013 17:44:12 A request has come in from the user 'siteadmin' for the service 'newService.MapServer'.
Geoprocessing result
Messages
Executing: ManageMapServerCacheTiles "C:\Documents and Settings\AbleevVR\Application Data\ESRI\Desktop10.1\ArcCatalog\arcgis on gisserver-test_6080 (admin)\newService.MapServer" 2311162,217155;1155581,108577;577790,554289;288895,277144;144447,638572;72223,819286;36111,909643 RECREATE_ALL_TILES 2 "Feature Set" "7731446,98616117 8448990,56579387 8346757,39808828 8783898,76106709" WAIT
Start Time: Mon Sep 30 17:44:11 2013
ERROR 999999: Error executing function.
Bad syntax in request.
Failed to execute (ManageMapServerCacheTiles).
Failed at Mon Sep 30 17:44:19 2013 (Elapsed Time: 8,00 seconds)
VERBOSE 30.09.2013 17:44:15 Extensions debug info: Service 'CachingTools.GPServer' started inside process '16128'. There are no extensions enabled on this service. This service will remain suspended for a duration of 2500 ms .
сейчас еше раз пытаюсь создать кэш . в этот раз создал картографический сервис "te2".
пробую создать кэш с помощью сервиса геопроцессинга (Caching service/Create map cache) через браузер.
Браузер выдает ошибку
Invalid or missing input parameters.
Error executing tool.: ERROR 001428: Failed to retrieve configuration for service http: //localhost:6080/arcgis/rest/services/te2/MapServer. Failed to execute (Create Map Cache).
кто нибудь может написать корректный Get-запрос, который у вас проходит и кэш создается??
при публикации сервиса лучше сразу настроить масштабы кэша и экстент интереса кэша.
потом через каталог ПКМ на сервисе -> Manage Cache... -> Manage Tiles... либо через тулбокс Server Tools -> Caching -> Manage Map Server Cache Tiles.
Create map server cache используется если у сервиса изначально не был настроен кэш.