Hello, here is my Resource
<Resource auth="Container" driverClassName="oracle.jdbc.OracleDriver" maxActive="20" maxIdle="10" maxWait="-1" name="jdbc/someName" password="somePassword" type="javax.sql.DataSource" url="jdbc:oracle:thin:@host:port:dbname" username="someUsername"/> I tried also accessToUnderlyingConnectionAllowed="true" but with no effect. It doesn't work. The same problem. It seems to me like some "bug" in Tomcat not in Spring, but who knows. Peter Busfy 3 Portal Hutchison 3G Austria GmbH Gasometer C Guglgasse 12/10/3 1110 Vienna Mobil: +43-660-7313346 mailto:peter.bu...@drei.com http://www.drei.at -----Original Message----- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, August 16, 2012 11:12 PM To: Tomcat Users List Subject: Re: tomcat and DB oracle problem - only in higher versions -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Peter, On 8/16/12 10:23 AM, Busfy,Peter wrote: > I found a problem with tomcat which is happening in the version > 6.0.32 and 6.0.35 (maybe also in other version), but working really > fine with version 6.0.26. Please post the <Resource> configuration you are using for each version of Tomcat. It's possible that you need to have accessToUnderlyingConnectionAllowed="true" set in your <Resource>, but I would be surprised if Spring actually detected the use of DBCP and called getInnermostDelegate() on the object before working with the Connection object. Also, I'm surprised that Spring doesn't use more JDBC-friendly LOB handling. :( - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAtYiwACgkQ9CaO5/Lv0PCyewCdHJoyv3cCGPnTsS77Kuc6WoDV C5QAn1cKk7pJaW+nXO3jPC36WJKUCWZI =Hpiy -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org