java.lang.ClassCastException: org.apache.crimson.tree.XmlDocument

Last Published: April 25, 2020

Error Message

This error is returned to the console and monitor log files when starting the ArcIMS Monitor service/daemon (spatial server):

"java.lang.ClassCastException: org.apache.crimson.tree.XmlDocument"


The problem is directly related to the presence of the crimson.jar file. The crimson.jar contains a custom version of the JAXP. The JAXP provides a standard, vendor neutral API for working with, and transforming, XML documents. The version included in the crimson.jar file does not work with ArcIMS XML requirements.

Solution or Workaround

1. Check the locations specified in the CLASSPATH variable as well as the lib/ext directory under your JRE or JDK installation for the crimson.jar file.

2. Move it to another directory (/tmp directory) or delete it and restart the ArcIMS services/daemons.

Article ID:000004628

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic