You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2017/01/19 22:01:55 UTC

[Bug 60611] New: empty org.apache.dbcp.dbcp2.BasicDataSource ?

https://bz.apache.org/bugzilla/show_bug.cgi?id=60611

            Bug ID: 60611
           Summary: empty org.apache.dbcp.dbcp2.BasicDataSource ?
           Product: Tomcat 8
           Version: 8.5.9
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: hauser@acm.org
  Target Milestone: ----

to solve a cpu max problem (bug 60578#c2) I got the debian jessie backport of
this tomcat version

The cpu now appears to be fixed, but somtimes I get an empty DataSource
(defined in server.xml).

One hypothesis that tc8.0.14 (the real debain stable) didn't yet implement
http://marc.info/?l=tomcat-user&m=148248630513239&w=2 (CVE-2016-6797)

1) that should be fixed in 8.0.14 for debian
2) I guess the
       <Resource name="jdbc/...
in server.xml for 8.5.9 now has to be put inside a 
     <GlobalNamingResources ...>
as per
https://tomcat.apache.org/tomcat-8.5-doc/config/globalresources.html#Resource_Definitions

interestingly, when starting tomcat8.5.9 in eclipse, JNDI returns a
org.apache.commons.dbcp.BasicDataSource

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60611] empty org.apache.dbcp.dbcp2.BasicDataSource ?

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60611

--- Comment #1 from Ralf Hauser <ha...@acm.org> ---
see also Bug 60614

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60611] empty org.apache.dbcp.dbcp2.BasicDataSource ?

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60611

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
The changes for CVE-2016-6797 only affected the use of ResourceLink to make
global resources available to individual web application. It did not affect the
direct definition of a resource within a web application.

This looks like an issue with the Debian distro. The users@ list is the best
place to flush that out if you want feedback from the Tomcat community before
opening a Debian bug.

If the users@ discussion identifies a Tomcat bug, this issue can be re-opened.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org