I think this is it - I copied the lib files to the java ext directory (quick & dirty, I know) and it seems to work.) I guess JBoss/Tomcat is loading the ParserFactory first.

If this is in fact the case, what is the proper solution, versus my very crude but somewhat effective one?

Thanks for the help.

Matt

On Wednesday, January 29, 2003, at 05:45 AM, Dieter wrote:

Hi Matthew,
this could be a classloader problem. The problem "could" occur if you use a ParserFactory which is loaded by a classloader before your webapp (e.g. JDK1.4, or some libs from tomcats common directory). Then it's the responsibility of the classloader that loaded the Factory class to load the desired Implementation class. This classloader doesn't see any of your webapp libs => ClassNotFound.



Matthew Van Horn wrote:
I copied my Xindice.war file from one machine to another, and I am getting an error during deployment.
The error is javax.servlet.ServletException: XML-RPC support requires Xerces.
Root cause is java.lang.ClassNotFoundException: SAX driver not found: org.apache.xerces.parsers.SAXParser
The things is, I looked, and the lib secion of the web app has xercesImpl-2.1.0.jar, and that jar has a org/apache/xerces/parsers/SAXParser.class
Any ideas for me? Do I need xerces somewhere else in my class path?
Thanks for your help.
matt





Reply via email to