BUG
When trying to enable a service for WMS or WMS using the web based ArcIMS WMS or WFS Connector administration console, the following internal error is returned:
"HTTP Status 500, the server encountered an internal error () that prevented it from fulfilling this request.
javax.servlet.ServletException: Servlet execution threw an exception"
The full stack trace of the root cause can be found in the <Tomcat_Installation_Dir>/logs/ showing this error:
Code:
javax.xml.transform.TransformerFactoryConfigurationError:
Provider org.apache.xalan.processor.TransformerFactoryImpl not found
javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
com.esri.wms.util.XMLUtil.transform(XMLUtil.java)
com.esri.wms.CapabilitiesReply.createCapabilitiesOnDisk(CapabilitiesReply.java)
com.esri.wms.AdminCommand.updateCapabilitiesOnDisk(AdminCommand.java)
com.esri.wms.Esrimap.doGet(Esrimap.java)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
When enabling WMS or WFS for an available service in the services list, the WMS or WFS connector will need the help of Tomcat to processes XSLT stylesheets into a Templates object to generate the WMS/WFS capabilities XML document.
To be able to process XSLT, the Xalan-Java XSLT processor from Apache is required. This is not included with the Tomcat installation and therefore cause the error.
Get help from ArcGIS experts
Download the Esri Support App