Missing org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory

Bug #1071817 reported by Mark Thornton
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
tomcat7 (Ubuntu)
Fix Released
Medium
Unassigned
Quantal
Won't Fix
Medium
Unassigned
Raring
Fix Released
Medium
Unassigned

Bug Description

The default DataSource factory in tomcat 7 (and previously in tomcat6) is org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory. This is contained in a jar file which the Debian maintainers don't distribute. The same problem also affected tomcat6:

https://bugs.launchpad.net/ubuntu/+source/tomcat6/+bug/283852

Tomcat 7 now includes another connection pool implementation which can be used instead, but it isn't default.

org.apache.tomcat.jdbc.pool.DataSourceFactory

A sufficient fix would be to change the default factory to this (it is already included in the current distribution).

Ubuntu version: 12.10

tomcat7: 7.0.30-0ubuntu1

Revision history for this message
James Page (james-page) wrote :

Interestingly org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory is not present in the upstream source code; so this actually feels like an upstream bug as well.

This sounds like a sensible change.

Changed in tomcat7 (Ubuntu Quantal):
importance: Undecided → Medium
Changed in tomcat7 (Ubuntu Raring):
importance: Undecided → Medium
Changed in tomcat7 (Ubuntu Quantal):
status: New → Triaged
Changed in tomcat7 (Ubuntu Raring):
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tomcat7 - 7.0.34-0ubuntu1

---------------
tomcat7 (7.0.34-0ubuntu1) raring; urgency=low

  * New upstream release.
    - d/p/0014-fix-override.patch: Fix FTBFS due to differing dependency
      versions compared to upstream.
  * d/p/0015-use-jdbc-pool-default.patch: Make jdbc-pool module the default
    pool implementation for DataSources (LP: #1071817).
 -- James Page <email address hidden> Thu, 06 Dec 2012 13:47:08 +0000

Changed in tomcat7 (Ubuntu Raring):
status: Triaged → Fix Released
Revision history for this message
Rolf Leggewie (r0lf) wrote :

quantal has seen the end of its life and is no longer receiving any updates. Marking the quantal task for this ticket as "Won't Fix".

Changed in tomcat7 (Ubuntu Quantal):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.