Mailinglist Archive: opensuse-bugs (5295 mails)

< Previous Next >
[Bug 847505] tomcat-dbcp is missing from tomcat rpm

https://bugzilla.novell.com/show_bug.cgi?id=847505

https://bugzilla.novell.com/show_bug.cgi?id=847505#c5


Michal Vyskocil <mvyskocil@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
InfoProvider|erik@xxxxxxxxxxx |

--- Comment #5 from Michal Vyskocil <mvyskocil@xxxxxxxx> 2013-11-04 13:43:16
UTC ---
(In reply to comment #4)
My understand is that tomcat needs
org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory which is only present in
tomcat-dbcp.jar. I was wondering the same, i.e if the commons package was a
replacement. However, it seems that by default tomcat looks for that
org.apache.tomcat.xxxx classes, I am not sure where that is configured (maybe
hardcoded?). I couldn't find any references in the configurations files.

This is configured in javax.sql.DataSource.Factory, see documentation

http://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html#Other
http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html

But it seems that default is not changed and I don't see a reason to diverge
from upstream, so I am going to add tomcat-dbcp.jar into tomcat-lib package, so
it'll be installed by default.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >