AnsweredAssumed Answered

ArcGIS service Stops immediately after it starts

Question asked by bbirbo2008 on Jan 7, 2016
Latest reply on Feb 5, 2016 by bbirbo2008

Hi.

 

Yesterday the pc that was running ArcGIS Server 10.2.2 shutted down unexpectedly and since then the ArcGIS service Stops immediately after it starts. ( Even manually or Automatically )

 

Here is what the log file says

 

<Msg time="2016-01-07T11:46:11,915" type="INFO" code="7702" source="Admin" process="3796" thread="1" methodName="" machine="MACHINE1.COM" user="" elapsed="">Web server started successfully.</Msg>

<Msg time="2016-01-07T11:46:16,88" type="SEVERE" code="6615" source="Admin" process="3796" thread="1" methodName="" machine="MACHINE1.COM" user="" elapsed="">Unable to retrieve 'Permissions' resource information. Content is not allowed in prolog.</Msg>

<Msg time="2016-01-07T11:46:16,89" type="DEBUG" code="9999" source="Admin" process="3796" thread="1" methodName="" machine="MACHINE1.COM" user="" elapsed="">com.esri.arcgis.discovery.admin.security.AGSSecurityException: Content is not allowed in prolog.

    at com.esri.arcgis.discovery.admin.security.impl.FSPermissionManager.initialize(FSPermissionManager.java:85)

    at com.esri.arcgis.discovery.admin.SiteManager.getPermissionManager(SiteManager.java:1717)

    at com.esri.arcgis.discovery.admin.SiteManager.getPermissionManager(SiteManager.java:1691)

    at com.esri.arcgis.discovery.admin.SiteManager.a(SiteManager.java:256)

    at com.esri.arcgis.discovery.admin.SiteManager.&lt;init&gt;(SiteManager.java:237)

    at com.esri.arcgis.discovery.admin.SiteManager.&lt;init&gt;(SiteManager.java:154)

    at com.esri.arcgis.discovery.admin.SiteManager$i_.&lt;clinit&gt;(SiteManager$i_.java:356)

    at com.esri.arcgis.discovery.admin.SiteManager.getInstance(SiteManager.java:367)

    at com.esri.arcgis.discovery.admin.plugins.DirectoryCleaner$b_.run(DirectoryCleaner$b_.java:167)

Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.

    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)

    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:347)

    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)

    at com.esri.arcgis.discovery.util.XMLUtil.openXMLDocument(XMLUtil.java:112)

    at com.esri.arcgis.discovery.admin.security.impl.FSPermissionManager.c(FSPermissionManager.java:913)

    at com.esri.arcgis.discovery.admin.security.impl.FSPermissionManager.b(FSPermissionManager.java:823)

    at com.esri.arcgis.discovery.admin.security.impl.FSPermissionManager.a(FSPermissionManager.java:791)

    at com.esri.arcgis.discovery.admin.security.impl.FSPermissionManager.initialize(FSPermissionManager.java:81)

    ... 8 more

</Msg>

 

 

Apparently there should be a corrupted XML file somewhere but we couldn't find which one.

Any idea on how to get the exact XML filename that is causing the problem ?

 

Thanks.

Outcomes