Re: JDBC Pool - Error handling during connection creation

2012-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Amit, On 3/8/12 11:55 AM, Amit wrote: > Enabling debug level would add some extra handling > > 1. We use slf4j & logback as our logging framework & tomcat uses > jul logging. We would have to add jul-to-slf4j.jar to direct the > jul messages to logba

Re: JDBC Pool - Error handling during connection creation

2012-03-08 Thread Daniel Mikusa
On Thu, 2012-03-08 at 08:55 -0800, Amit wrote: > > > > On 08-Mar-2012, at 6:37 PM, Daniel Mikusa wrote: > > > On Thu, 2012-03-08 at 00:34 -0800, amit shah wrote: > >> Comment below > >> > >> On Wed, Mar 7, 2012 at 8:53 PM, Christopher Schultz < > >> ch...@christopherschultz.net> wrote: > >>

Re: JDBC Pool - Error handling during connection creation

2012-03-08 Thread Amit
On 08-Mar-2012, at 6:37 PM, Daniel Mikusa wrote: > On Thu, 2012-03-08 at 00:34 -0800, amit shah wrote: >> Comment below >> >> On Wed, Mar 7, 2012 at 8:53 PM, Christopher Schultz < >> ch...@christopherschultz.net> wrote: >> >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> Amit,

Re: JDBC Pool - Error handling during connection creation

2012-03-08 Thread Daniel Mikusa
On Thu, 2012-03-08 at 00:34 -0800, amit shah wrote: > Comment below > > On Wed, Mar 7, 2012 at 8:53 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Amit, > > > > On 3/7/12 12:12 AM, amit shah wrote: > > > I am using

Re: JDBC Pool - Error handling during connection creation

2012-03-08 Thread amit shah
Comment below On Wed, Mar 7, 2012 at 8:53 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Amit, > > On 3/7/12 12:12 AM, amit shah wrote: > > I am using tomcat-jdbc.jar and tomcat-juli.jar from version > > 7.0.26. > > > >> I don'

Re: JDBC Pool - Error handling during connection creation

2012-03-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Amit, On 3/7/12 12:12 AM, amit shah wrote: > I am using tomcat-jdbc.jar and tomcat-juli.jar from version > 7.0.26. > >> I don't see any place in setupConnection where an exception is >> swallowed, do you? >> >> http://svn.apache.org/viewvc/tomcat/t

Re: JDBC Pool - Error handling during connection creation

2012-03-06 Thread amit shah
Comments below. Thanks, Amit. On Tue, Mar 6, 2012 at 8:07 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Amit, > > On 3/6/12 4:46 AM, amit shah wrote: > > Hello, I am using the tomcat jdbc pool independently in my > > applicat

Re: JDBC Pool - Error handling during connection creation

2012-03-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Amit, On 3/6/12 4:46 AM, amit shah wrote: > Hello, I am using the tomcat jdbc pool independently in my > application and frequently I faced a NullPointerException with the > below stack trace > > null at > org.apache.tomcat.jdbc.pool.ConnectionPool.