It is against the sun classloader specification to have the xml parser and DOM classes inside the WEB-INF/lib. It must be in a parent classloader to the webapp. As of the 4.0.2 release, this is enforced. This means your choice are to put the xml parser in either $TOMCAT_HOME/lib or $TOMCAT_HOME/common/lib..... or if you are using JDK1.4, put it in $JAVA_HOME/jre/lib/endorsed.
Read about this issue here: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6374 Jake At 10:24 AM 4/24/2002 +0100, you wrote: >Peter Romianowski wrote: > > > should be like: > > put the parser's JAR into WEB-INF/lib to make them visible to your webapp > > > >This currently fails for me on tomcat 4.02, under AIX 4.3.3 and Java >1.2.2. (ALthough it fails for all versions of Java I've >tried). I'm having to specify the actual jar files in the classpath pof >java when catalina.sh starts it. The jars and seen & >deployed, but the classe sin them are not visible... Is there something >mroe you need to do other than dropping jars in the >lib? Are there any limitations (e.g. java.security.interfaces) > >H > > > > > > Peter > > > > > -----Original Message----- > > > From: Kroeksak Kongman [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, April 24, 2002 10:57 AM > > > To: [EMAIL PROTECTED] > > > Subject: how to include the parser's JAR files in the /WEB-INF/web.xml ? > > > > > > > > > To make an XML parser available to your web applications, you have > several options: > > > > > > * To utilize an XML parser in a single web application, simply > include the parser's JAR files in the /WEB-INF/web.xml > > > directory of that web application. This will work, no matter what > parser might be used by Tomcat 4 internally, or by > > > other web applications running in the same instance of Tomcat 4. > > > > > > Please would you tell me, > > > > > > how to include the parser's JAR files in the /WEB-INF/web.xml ? > > > > > > Best Regards, > > > > > > Koong > > > > > > > > > > > > > > > > -- > > To unsubscribe: <mailto:[EMAIL PROTECTED]> > > For additional commands: <mailto:[EMAIL PROTECTED]> > > Troubles with the list: <mailto:[EMAIL PROTECTED]> > >-- > >I don't suffer from Insanity... | Linux User #16396 > I enjoy every minute of it... | > | >http://www.travellingkiwi.com/ | > > > > >-- >To unsubscribe: <mailto:[EMAIL PROTECTED]> >For additional commands: <mailto:[EMAIL PROTECTED]> >Troubles with the list: <mailto:[EMAIL PROTECTED]>
