[Bug 847505] New: 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#c0 Summary: tomcat-dbcp is missing from tomcat rpm Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: erik@apption.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0 tomcat-dbcp.jar is missing from the tomcat rpm. That file is included in the official tomcat distribution. Oddly enough, this bug happened already in the past https://bugzilla.novell.com/show_bug.cgi?id=352928. Any application that relies on jdbc could potentially break. Reproducible: Always Steps to Reproduce: 1. install 11.3 RC 2. install tomcat Expected Results: /usr/share/tomcat/lib/ contains tomcat-dbcp.jar -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c1
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c2
--- Comment #2 from Erik Putrycz
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c3
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c4
--- Comment #4 from Erik Putrycz
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c5
Michal Vyskocil
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.
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c6
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c7
--- Comment #7 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c8
--- Comment #8 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c9
Darin Perusich
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c10
Michal Vyskocil
Is this going to makes it's way into OpenSUSE 13.1? I have 40+ tomcat servers I was planning to update to 13.1 and this going to cause problems on all of them.
Hi, sorry, I've lost it from my radar as I got no reponse. Can you please test tomcat packages from http://download.opensuse.org/repositories/Java:/packages/openSUSE_Factory/no... to check if problem has been really fixed? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c11
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c12
--- Comment #12 from Darin Perusich
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c13
--- Comment #13 from Darin Perusich
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c14
--- Comment #14 from Darin Perusich
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c15
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c16
--- Comment #16 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c17
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c18
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c19
--- Comment #19 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c20
--- Comment #20 from Darin Perusich
This is an autogenerated message for OBS integration: This bug (847505) was mentioned in https://build.opensuse.org/request/show/211172 13.1+12.3 / tomcat+jakarta-commons-dbcp-src+jakarta-commons-dbcp
This MR has been declined for both openSUSE 12.3 and 13.1, details below. openSUSE 12.3: [ 89s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' --define 'disturl obs://build.opensuse.org/home:mvyskocil:branches:OBS_Maintained:tomcat/openSUSE_12.3_Update/be58fb676dd02b7f7f2f4182057bdbc2-jakarta-commons-dbcp.openSUSE_12.3_Update' /home/abuild/rpmbuild/SOURCES/jakarta-commons-dbcp.spec [ 89s] error: line 251: Package does not exist: %files tomcat openSUSE 13.1: The upstream repository, Java:packages/tomcat, is disabled for this version. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c21
--- Comment #21 from Archie Cobbs
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c22
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c23
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=847505
https://bugzilla.novell.com/show_bug.cgi?id=847505#c24
--- Comment #24 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com