[Bug 315314] [NEW] Tomcat BasicDataSourceFactory class not found due to incompatible location in libcommons-dbcp-java
Eric P
eric.maillist at gmail.com
Fri Jan 9 02:36:17 UTC 2009
Public bug reported:
Binary package hint: libcommons-dbcp-java
Disclaimer: I'm pretty much a Java/Tomcat newb (go easy on me ;).
Ubuntu 8.10's libcommons-dbcp-java package provides the BasicDataSourceFactory class here:
org.apache.commons.dbcp.BasicDataSourceFactory.class
However, Ubuntu 8.10's Tomcat 6 doesn't find the class as it is looking here:
org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
Here is the relavant warning that appears in the catalina log file on a default Tomcat 6 install on Ubuntu 8.10.
org.apache.catalina.core.NamingContextListener addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory]
Trying to add a JDBC datasource in the conf/context.xml file doesn't
work and produces only more of the above warning. So the default Tomcat
6 install on Ubuntu 8.10 is effectively broken in its current state.
Distro/package versions:
Ubuntu - 8.10
libcommons-dbcp-java - 1.2.2-1ubuntu1
tomcat6* - 6.0.18-0ubuntu3
libtomcat6-java - 6.0.18-0ubuntu3
libservlet2.5-java - 6.0.18-0ubuntu3
Thanks and let me know if I can provide further details.
Eric P
** Affects: libcommons-dbcp-java (Ubuntu)
Importance: Undecided
Status: New
--
Tomcat BasicDataSourceFactory class not found due to incompatible location in libcommons-dbcp-java
https://bugs.launchpad.net/bugs/315314
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list