POST
|
A discussion similar to this one is here: Related discussion I started this discussion in the hopes of getting as well as giving help to those that hit the similar issue that I suspect can manifest itself in different ways-- the errors generated in the related article were slightly different-- different services/XML parse issues occurred on different tools. This learning was derived by a 3.5+ hour tech support call and research through a lot of GeoNet posts, documentation and other supporting information. Sometimes, I find that there isn't a lack of shared knowledge as much as there is a lack of either hashtag usage or indexing the topics, so hopefully I've entered enough tags to help reach more people. I have a new implementation of Enterprise GIS 10.7.1 upgraded from 10.3.1 running on Windows Servers (2016). Both servers are configured with 4 CPUs and 64 GB of RAM in our ArcServer Site. After publishing about 300 services through a python script against Arc Map 10.7.1 .MXD documents, the server would refuse to publish any more, or would get to various states of publishing (it wasn't consistent between SDDraft creation, Staging or uploading) and throw some error(s) to the log (see below) and then hang. I thought my server was just slow, so I waited.. and waited.. and waited.. but the errors on systems running over capacity don't appear to raise an error and stop the processing. This is one of the errors it threw: The server was unable to create a GIS service instance. The exact cause is unknown. Please contact Esri Support for further assistance and provide the following information. 0x80040111 - ClassFactory cannot supply requested class at com.esri.arcgis.gisclient.AGSServerConnectionFactory.open(Unknown Source) at com.esri.arcgis.discovery.servicelib.impl.ConfigFactoryImpl$e.run(ConfigFactoryImpl$e.java:546) Also, intermittently, the server would refuse to start the Publishing Tools (system services). Core server call to create service failed (/admin/createService). InitToolbox Failed The toolbox did not load: C:\Program Files\ArcGIS\Server\ArcToolBox\Services\Publishing Tools.tbx I also got the following errors, which also weren't consistent between publishing attempts, but did recur frequently in my troubleshooting efforts: Failed to construct instance of service 'Data_Services_TEST/test3.MapServer'. Failed to initialize server object 'Data_Services_TEST/test3': 0x80043007: Unable to instantiate class for xml schema type: CIMDEMap Invalid xml registry file: c:\program files\arcgis\server\bin\XmlSupport.dat Unable to instantiate class for xml schema type: CIMGISProject Invalid xml registry file: c:\program files\arcgis\server\bin\XmlSupport.dat Unable to instantiate class for xml schema type: CIMDocumentInfo Invalid xml registry file: c:\program files\arcgis\server\bin\XmlSupport.dat Failed to construct instance of service 'Data_Services_TEST/test3.MapServer'. XML Parser initialization failed. Failed to initialize server object 'Data_Services_TEST/test3': 0x80040111: XML Parser initialization failed. Failed to construct instance of service 'System/PublishingTools.GPServer'. The toolbox did not load: C:\Program Files\ArcGIS\Server\ArcToolBox\Services\Publishing Tools.tbx Failed to initialize server object 'System/PublishingTools': 0x80040111: The toolbox did not load: C:\Program Files\ArcGIS\Server\ArcToolBox\Services\Publishing Tools.tbx If you research XmlSupport.dat, you find an article (among a couple others) from version 9.3 about that particular file being corrupt. I compared that file (downloaded from the article) against the 10.7.1 version. The first thing I noticed is that my file had not been updated since more than a year before, so I made a quick assumption that since no change was made very recently, the file was not corrupted by something I had done (I'm pretty sure in some cases, it could be corrupt, but I couldn't think of any off the top of my head). I opened up the file for editing and the content looked ok-- nothing garbled (this is a very readable file). But when new functionality is added to ArcMap/Server, information about the new services/functionality is stored here that references esri.com (haven't researched what all this entails). Having said that, the old and new files are vastly different. I decided to keep looking. Also, at one point, I received: ERROR 001369: Failed to create the service. While this is noted as a generic error, it was an indicator that only part of the publishing process could be complete-- apparently, in my case, the server reached its maximum processing capacity and just stopped. Some history on our upgrade: One of the reasons we decided to "re-architect" our structure and upgrade to 10.7.1 and add a second server to the ArcServer site was to avoid these issues since we hit the "halt" in publishing-- but with different errors-- back in ArcServer 10.3.1. It just occurred to me to check the number of services that I had built when I consistently saw the server run at >95% capacity via the information from task manager. From the related article(top of this discussion), you can read about some of the things that Windows Server will do to "assist" you when you hit the wall-- memory swapping, for instance, but these activities still don't preclude the server from becoming "unstable" when run at that capacity. Something important I learned: adding servers to a site only spreads processing capabilities (spreads the work out AFTER the service gets published between the different machines in the Server Site) aka horizontal scaling or scaling out. It will NOT scale the system vertically (up) to allow more services to exist on your system at a given time. I found this ESRI user conference powerpoint presentation helpful in understanding scaling and tuning more clearly. I'm sure it's pretty close to the regular ESRI documentation, but sometimes, things presented pictorially work better for me. I'm still working on how we want to resolve this, but I know that by reducing the number of active services (by deleting or stopping the service(s)) it will help alleviate the issue. The problem in troubleshooting? Since all server (hardware) configurations are different, it's hard to say when ArcServer will hit the wall. You must monitor the server and determine the need for more capacity-- memory or processing (CPU)-- or a different configuration (if possible). I used task manager and I'm sure some more System Admin whiz-bang tools will work, to see how "hot" the server was running. Historically (I've been around a while) when servers run at or more than 85% of capacity, you start noticing unusual behavior from software running on the server, apparently, it's still about the same. Meaning, if the server (software) is utilizing more than 80% of CPU or memory (hardware), it's time to investigate increasing capacity (usually through your organization's System Admin request) or by making adjustments to configuration (or both). I'll be requesting additional CPU and memory but I would like a more software (ArcServer) controlled/configuration approach that would allow for me to mitigate the issue. I thought that I had found such configuration through expanded functionality of ArcServer 10.7 by use of shared services (vs dedicated) which is directly related to the number of server processes ArcServer spawns (ArcSOC) upon system startup. Unfortunately, we are still using ArcMap and as the documentation for the shared/dedicated pools points out (Configure shared Services😞 Services published from ArcMap cannot use shared instances This, was a bummer. We'll have to upgrade to ArcPro in order to use this functionality, but even then there are restrictions (see the documentation). Unfortunately, our user base is not ready for this. I'm currently reviewing the tuning and configuration documentation to learn what I can do to tune the server to allow for more services to run before having to increase server capacity. I'll update this discussion when I can resolve my issue without further system scaling. Any suggestions for how to do this would be appreciated!!! Here are the links to the doc I received from Tech support after I pointed out that reducing the number of running services allowed me to publish again: https://enterprise.arcgis.com/en/server/10.7/publish-services/windows/tuning-and-configuring-services.htm https://enterprise.arcgis.com/en/server/10.7/administer/windows/configure-service-instance-settings.htm https://enterprise.arcgis.com/en/server/10.7/deploy/windows/data-storage-considerations-for-an-arcgis-server-site.htm https://enterprise.arcgis.com/en/server/10.7/administer/windows/tuning-your-arcgis-server-site.htm If anyone sees any flaws in the discussion, I'd be happy to learn more about them and update it accordingly. Learning is good
... View more
04-29-2020
11:15 AM
|
3
|
4
|
2781
|
POST
|
HI- I'm trying to re-publish a set of maps onto my ArcServer after making some changes to the MXDs. My general process is: 1. CreateMapSDDraft (primarily sending in the map DOC object of the MXD, the connection file path, and the type of "ARCGIS_SERVER" ) Here's the code: arcpy.mapping.CreateMapSDDraft(mapDoc, sddraft, service_name, 'ARCGIS_SERVER' , connection, True,serverFolder ) 2. Change some capability/configuration items and store off in a newSDDraft, 3. Analyze the new SDDraft 4. Stage the new SDDraft to an SD file 5. Upload the new SD file. The issue is that while it's not throwing errors while going through the process and does successfully re-publish, it doesn't pick up the currently existing capabilities and configurations (like the description). I have watched it shut down and restart the service so I know it's at least going through the motions. It appears to just reset the defaults from the .MXD for the tags and whatnot, and the capabilities to the standard "KML" and "Map Server" as if the service had not been re-published. I suspect the issue is in the CreateMapSDDraft where it all begins, but I've tested the URL I'm sending in for the service and can hit it in a browser along with all the other paths. Any ideas ?!!?!?!
... View more
12-19-2019
08:33 AM
|
0
|
0
|
272
|
POST
|
Hi All- We are currently running ArcServer, et al 10.3.1. I know that the extended support ended in Nov 2018 for this product, but can anyone tell me if the June 2019 security patch is relevant to 10.3.1 since it was caused by changes Microsoft made? Thanks! Tad
... View more
08-02-2019
06:58 AM
|
0
|
0
|
176
|
POST
|
Hi Randall Williams, Sorry for the delay, but we have legacy software requiring us to be on 10.3 until we can get it upgraded. As for the end of life support. It always somewhat confuses me because companies tend to either update their support or like Microsoft call it "Extended support". Thanks for getting back with me! Tad
... View more
08-02-2019
06:38 AM
|
0
|
0
|
297
|
POST
|
Hi Arie- Were you able to get 10.3.1 installed on Windows 2016 and has it been successful? Thanks! Tad City of Greeley, Colorado
... View more
06-10-2019
12:04 PM
|
0
|
2
|
297
|
POST
|
Hi All- I am trying to find the install .msi file for GDBT (GeoDatabase Toolset) for Catalog but the link used in the discussion on the topic (http://resources.arcgis.com/gallery/file/geodatabase/details?entryID=C05E5891-1422-2418-7F0B-4EDDADA28872 ) doesn't exist anymore. Can someone point me in the right direction? Thanks! Tad
... View more
05-16-2019
02:40 PM
|
0
|
1
|
660
|
Title | Kudos | Posted |
---|---|---|
3 | 04-29-2020 11:15 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|