3 Replies Latest reply on Mar 28, 2005 12:00 AM by Dennis Cartier

    Autodeploy

    ryan groth Newbie

      09-07-2001

      JBoss-2.2.2_Tomcat-3.2.2
      JDK 1.3.0

      Hi all,

      I've deployed a web application that uses Apache Xalan 2.1.0.
      Thus I put xalan.jar into WEB-INF/lib.

      But when I execute my servlet (opening a JSP), the javax.xml.transform.TransformerFactory class is loaded from jboss/lib/jaxp.jar and not from WEB-INF/lib/xalan.jar (leading at the end to an exception java.lang.ClassNotFoundException: org.apache.xalan.processor.TransformerFactoryImpl).

      The javax.xml.transform package is different in jboss/lib and in xalan 2.1.0 (different versions of JAXP).

      How can I avoid this side-effect (ie, the JSP/servlet container having in its classpath jboss/lib)?

      Thanks,

      Olivier