tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Tomcat 4.0.3 and JAXP1.2
Date Mon, 08 Apr 2002 14:02:00 GMT
I am trying to use JAXP1.2 (from the java_xml_pack-spring02-dev from SUN) 
with Tomcat 4.03 (jdk1.3.1_03). I have put all the jar files from JAXP1.2 
into the WEB-INF/lib directory of my webapplication.
When a servlet tries to instantiate a class which uses JAXP features (for 
XSL-transformation) it becomes unavailable: (from localhost_log)2002-04-07 
16:04:20 StandardWrapper
[/WFB:EntryConfirmServlet]: Marking servlet EntryConfirmServlet as unavailable
2002-04-07 16:04:20 StandardContext[/WFB]: Servlet /WFB threw load() 
exception javax.servlet.ServletException: Error instantiating servlet class 
de.wfb.servlets.EntryConfirmServlet at 
at org.apache.catalina.core.StandardWrapper.load(
----- Root Cause -----
javax/xml/transform/TransformerException at 
java.lang.Class.newInstance0(Native Method) at 
java.lang.Class.newInstance( at 
at org.apache.catalina.core.StandardWrapper.load( at 

In a documentation about Tomcat 4 (seems not to be specific for 4.03) I have 
By default the Java API for XML Processing (Version 1.1) reference 
implementation is utilized .... 
However this parser is not visible for to web applications ...
To make an XML parser available to your web applications, ...
To utilize an XML parser in a single web application simply include the 
parser's JAR files in the /WEB-INF/web.xml (?? I guess that should read 
/WEB-INF/lib) directory of the application. This will work, no matter what 
parser might be used ....
The class in question compiles and runs in a stand-alone version.
Any ideas?

Many thanks,



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message