Tomcat ignores classpath from JVM and creates it's own one, including endorsed libraries. If you want to inject specific library at the endorsed level there is an endorsed/lib folder part of tomcat distribution. ypomonh a écrit : > I'm trying to write a servlet that use the latest version of JAX-WS API. > > This is a newer version of the API than the one shipped with JDK 6, so > in order to avoid loading the older library from the bootstrap loader, > I put the new JAX-WS JARs in <java-home>/lib/endorsed. > > Still when the servlet runs I get an error message that indicates that > the required libs are loaded from the bootstrap classloader. It is > like the endorsed directory is completely ignored by Tomcat :-( > > > If I am correct and Tomcat ignores the endorsed directory mechanism, > this means that I cannot override ANY classes that are shipped with > the JDK, even if I place their JARs in any of the folders that are > required by the Tomcat specific classloaders... > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]