tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60611] New: empty org.apache.dbcp.dbcp2.BasicDataSource ?
Date Thu, 19 Jan 2017 22:01:55 GMT
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


Mime
View raw message