1 Reply Latest reply on Feb 16, 2006 5:55 AM by Walter Herbert

    Where to place JDBC mysgl-connector-java-x.x.x.-bin.jar?

    T. Meyer Newbie


      I have a webarchieve, with the mysql-connector-java-3.1.7-bin.jar in the
      WEB-INF/lib folder.

      If I deploy this webarchive to standalone Tomcat, my apllication works fine.
      If I deploy it to JBoss it gives me an error message:


      Following line of my JAVA source causes the eception:

      The same exception I had also before with Tomcat, but solved by placing the mysql-connector-java-3.1.7-bin.jar in the WEB-INF/lib folder and
      re-deploying. So it seems that the JBoss cannot find my

      Where is the right place in my Web-Archive or JBoss server to store the
      I thought all necessary *.jar should be placed in my application archive in
      the WEB-INF/lib folder and thats it!?!

      I also copied an exploded war from my appl.war (got from Tomcat after
      doploying) and deployed it to JBoss, the mysql-connector-java-3.1.7-bin.jar was to find under the WEB-INF/lib folder, but no success, even no success by updating the manifest.mf and the classpath with the path to the

      So whats the right way to make the mysql-connector-java-3.1.7-bin.jar
      accessible for JBoss as well?

      Thanks for any ideas!