Bug#401222: tomcat5.5: Can't load JDBC driver jar when needed (more general problem ?)

kaouete kaouete at crazydwarves.org
Fri Dec 1 22:29:58 CET 2006


Package: tomcat5.5
Version: 5.5.20-2
Severity: important

Hi,

I was trying to test a simple webapp using a jndi declared jdbc
datasource but i couldn't make it work.

After a lot of test and the help of people on #tomcat on freenode, this
is what i can say :
1) i am using tomcat 5.5 from unstable, with sun-java5-jdk and mysql5.0,
i downloaded the mysql connectorJ 5.0.3 and i put it in
/usr/share/tomcat5.5/common/lib like the tomcat website tells me to do.
2) my app works on a server installed by hand with the downloaded
binaries from tomcat website.
3) my app doesnt work on debian with and without the security manager
4) i tried to run tomcat with -verbose:class in the CATALINA_OPTS and i
can say that the class needed by the DriverManager
(com.mysql.jdb.Driver) wasnt loaded, but other classes from common/lib
were.

I think there is a real problem with the debian tomcat package and a guy
from #tomcat said to me the same thing.


Thanks you for your work on tomcat, 

kaouete



-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (400, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.2-walter
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)

Versions of packages tomcat5.5 depends on:
ii  adduser                     3.99         Add and remove users and groups
ii  apache2-utils               2.2.3-3.1    utility programs for webservers
ii  apache2.2-common            2.2.3-3.1    Next generation, scalable, extenda
ii  ecj-bootstrap               3.2.1-3      bootstrap version of the Eclipse J
ii  gij-4.1 [java2-runtime]     4.1.1-17     The GNU Java bytecode interpreter
ii  libtomcat5.5-java           5.5.20-2     Java Servlet engine -- core librar
ii  sun-java5-jre [java2-runtim 1.5.0-08-1.1 Sun Java(TM) Runtime Environment (

tomcat5.5 recommends no packages.

-- no debconf information




More information about the pkg-java-maintainers mailing list