In one of our customers ArcGIS Server, we have a problem. AGS consists of a cluster build, there are 2 AGS machine. And we have also an ArcGIS Portal machine. We keep our server config folders at portal machine. So the 3 machine can communicate with each other without a problem. The problem is when we publish a service and try to use it in another process such as "Create map server cache" or "Manage map server cache tiles" we get an error "sometimes". Here is the problem:
ERROR: Failed to start one or more services. "No enum constant com.esri.arcgis.discovery.admin.services.lifecycle.ServiceLifeCycleType.EDİTED"
you can see a capital i there, at EDİTED word, it is a Turkish letter. I don't know if it is a regional problem. But we get the error like this, "EDİTED".
When i get this error usually the service gets stopped. Then i go to AGS manager and try to start this service and i usually get the same error for 1-5 times more every time i try (i keep pressing Start button for 10 seconds) and after couple of seconds the service gets started again. And i can use the service in every process.
When i search for the problem i see no solutions. But when i look for the keywords at AGS config folder i found the json file that consists of the "lifecycle" key. Here is the location of the file:
"C:\arcgisserver\config-store\services\ [SERVICE FOLDER NAME] \ [NAME OF THE SERVICE].MapServer\esriinfo\lifecycleinfos.json"
In this file there are timestamps of the service, here you can see it:
I think when we publish a service, the service definitions are being written to somewhere at cluster machines and since we do not wait it to finish its job and try to use it quickly in another process such as creating cache file, the service says that "just wait, i am being edited" We are having trouble with our customer for this problem even though you can skip the error by just trying to push Start button for 1-5 times at most. I am attaching a bad quality screen shot, sorry.
Do you have any ideas for this problem?
Thank you in advance,