English

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

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"

Cause

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.