Has anyone run into this error
java.lang.ExceptionInInitializerError: java.lang.ClassCastException: 
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
   at 
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:147)
   at 
org.apache.soap.util.xml.XMLParserUtils.refreshDocumentBuilderFactory(XMLParserUtils.java:112)
   at 
org.apache.soap.util.xml.XMLParserUtils.<clinit>(XMLParserUtils.java:79)
   at org.apache.soap.server.ServiceManager.<init>(ServiceManager.java:83)
   at 
org.apache.soap.server.http.ServerHTTPUtils.getServiceManagerFromContext(ServerHTTPUtils.java:103)
   at 
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:212)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:254)

it goes on.  I get this error when I run testit.sh in the addressbook 
sample.  I am using soap 2.2 in tomcat 4.0.  I had xerces 2.0alpha as 
the first thing in the tomcat classpath.  It show up first in the 
classpath that tomcat prints out that it is using on startup.  I tried 
switching back to xerces 1.4.2 and I still get the same error,  The 
server is working I get the approiate message when I go to 
localhost:8080/soap/servlet/rpcrouter and I can get to the admin page.  
Any ideas.

Rich Catlett

Reply via email to