2 Replies Latest reply on Dec 3, 2001 10:54 PM by carlt

    JDBC within Servlet in JBoss using Tomcat

    carlt

      Hi All,

      I hope someone will be able to help me.

      I have a simple servlet that performs basic retrival and updates to an IBM DB2 DB. I have JBoss 2.4.3 with Tomcat installed. I also have a separate copy of Tomcat installed.

      I have setup my classpath to include the DB2 .jar files needed for the JDBC drivers.

      I have deployed the servlet into both tomcat containers and it works fine in the standalone tomcat installation and when I run just Tomcat from the JBoss install it also works fine.

      However when I run JBoss_with_tomcat.bat the servlet errors when trying to load the JDBC DB2 Driver.

      I have created a JBOSS_CLASSPATH which is an exact copy of my normal CLASSPATH but it still doesn't work.

      Can anyone help please ??

      Thanks in advance for any help,

      Carl