commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: [dbcp] Trying to replace Tomcat 5.5 dbcp with original dbcp
Date Wed, 24 Nov 2010 16:48:21 GMT
On 24/11/2010 16:06, Hildebrand, Nils, 232 wrote:
> Hi,
> 
> I am trying to track down a problem propably related to DBCP 1.3.
> 
> For details see https://issues.apache.org/bugzilla/show_bug.cgi?id=50326
> 
> To get further I need to replace dbcp 1.3 - as supplied with Tomcat
> 5.5.30 or 5.5.31 with the original.

Don't waste your time. The code is identical just in a different
package. Using DBCP 1.3 directly isn't going to help.

> I a first step I would like to upgrade to dbcp 1.4 if then my error
> still persists, I will donwgrade to dbcp 1.2.x if then the error is gone
> I will open a bug report for dbcp.

That is worth doing although I'd be amazed if the upgrade to 1.4 helps
since apart from adding some JDBC4 methods, DBCP 1.3 and DBCP 1.4 are
identical.

> Is there a short howto how to accomplish the task of exchanging the
> Tomcat dbcp with a different version?
Not that I recall. Plenty of places for you to create one (Tomcat wiki,
Commons wiki) once you have the steps figured out.

> From what I until now know I presume:
> 
> - change conf/server.xml DB-Resource-Secation factory attribute
Correct.
> - put some jar-files into common/lib (which ones?)
commons-dbcp and commons-pool for the version you want to use. Use the
latest pool (1.5.5)

> - perhaps delete some tomcat-included dbcp-files (which ones?)
No need.

> Somewhere I read something about some security settings, too that will
> have to be changed to allow access to the new jars (where and how)?
No need. Tomcat grants full permissions to all JARs in lib/

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message