-
Jun 28th, 2008, 07:22 PM
#1
Deploying Web Service to Tomcat Using SAAJ and Saxon
I have developed a webservice using the AbstractJDOMEndpoint. It works fine in my embedded tomcat server in eclipse. When I deployed the application to a tomcat server 6.0 on debian, i get a ClassLoader exception. I believe the problem is the way classloading works with tomcat. The SAAJ apis which are part of JDK1.6 are referencing the Saxon apis which are located in the WEB-INF/lib folder. I could move the saxon jars to jre/lib/ext directory but I am wondering if that would cause other problems. Is there a way to tell SAAJ to use Xerces/Xalan parsers which are also part of the JRE.
Any one else run into this problem. Any ideas appreciated.
Thanks
Irfan
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules