Re: Conflicts between 2 lib in Tomcat 4.0.3

2003-02-04 Thread Elodie Tasia
Or maybe he is using the old Xerces (1.4.4) with the new Xerces(2.x). They have make huge changes between the 2 versions and backward compatibility is no longer supported (Xerces 1.4.4 doesn't fully supports JAXP, Xerces 2.x does). They probably use a public API, but not the JAXP one.

Conflicts between 2 lib in Tomcat 4.0.3

2003-02-03 Thread Elodie Tasia
Hi, I'm working with TC 4.0.3. In the WEB-INF/lib directory, I've got 2 libraries : xerces.jar (I think it's an old Xerces, I didn't put myself there : someone else need it) and xercesImpl.jar (a newer version of xerces). I coded a class that need xerces2, but when I launch it (via a servlet)

Re: Conflicts between 2 lib in Tomcat 4.0.3

2003-02-03 Thread Elodie Tasia
I already tried to remove those libs from WEB-INF/lib to CATALINA_HOME/common/lib or CATALINA_HOME/lib, but all the classes in WEB-INF/classes that were coded by another developpers didn't worked any more ! Put it in CATALINA_HOME/common/endorsed or common/lib. You aren't supposed to put

Servlet not in webapps directory

2001-06-21 Thread elodie . tasia
Hi ! It is possible to lauch a sevlet that is not in the TOMCAT_HOME directory ? Can I do that by configuring a Context for my servlet ? And how exactly ? thanx -- Sent through GMX FreeMail - http://www.gmx.net

RE: Servlet not in webapps directory

2001-06-21 Thread elodie . tasia
In the server.xml you can define a new Context that maps between context and actual directory. In the following example calling servlets through http://your.company.com/tt/servlet/myservlet will launch the servlets from d:/xx/yy/zz/webpages Context path=/tt

RE: Servlet not in webapps directory

2001-06-21 Thread elodie . tasia
In order that it will work the d:/xx/yy/zz/webpages/ directory should be in the classpath variable before running Tomcat, so Tomcat can find your servlet. Another way, and actually the standard one, is to create WEB-INF/classes directory under d:/xx/yy/zz/webpages/ and put there your