Re: [OT] dbcp is mixing up connections

2011-12-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aitor, (Marking OT because this has nothing to do with Tomcat or even with the original thread. I may be feeding a troll, here. Apologies in advance.) On 12/16/11 4:31 AM, Aitor Garcia | Tempel.es wrote: > I'm not an expert but in past I worked a wit

Re: dbcp is mixing up connections

2011-12-16 Thread Terence M. Bandoian
On 1:59 PM, Pid * wrote: > On 16 Dec 2011, at 09:32, "Aitor Garcia | Tempel.es" > wrote: > > Mark: > > I'm just declaring variables there, no putting logic. > > You had overlooked log4jdbc, if you have read books in the same way > > Library log4jdbc is COOL! Works very Well, is really a good

Re: dbcp is mixing up connections

2011-12-16 Thread Pid *
On 16 Dec 2011, at 09:32, "Aitor Garcia | Tempel.es" wrote: Mark: I'm just declaring variables there, no putting logic. You had overlooked log4jdbc, if you have read books in the same way Library log4jdbc is COOL! Works very Well, is really a good library that helps me a lot, without it I

Re: dbcp is mixing up connections

2011-12-16 Thread Aitor Garcia | Tempel.es
Mark: I'm just declaring variables there, no putting logic. You had overlooked log4jdbc, if you have read books in the same way Library log4jdbc is COOL! Works very Well, is really a good

Re: dbcp is mixing up connections

2011-12-15 Thread Mark Eggers
- Original Message - > From: Terence M. Bandoian > To: Tomcat Users List > Cc: > Sent: Thursday, December 15, 2011 11:31 AM > Subject: Re: dbcp is mixing up connections > > On 1:59 PM, Christopher Schultz wrote: >> Aitor, >> >> On 12/15/11

Re: dbcp is mixing up connections

2011-12-15 Thread Konstantin Kolinko
2011/12/15 Aitor Garcia | Tempel.es > > I had read all the JNDI & JDBC Official & Unofficial documentation but & only > found than you MUST close the connections. That is why you have to read the Servlet specification, JSP specification, etc. > There insn't references to where to declare var

Re: dbcp is mixing up connections

2011-12-15 Thread Terence M. Bandoian
On 1:59 PM, Christopher Schultz wrote: > Aitor, > > On 12/15/11 7:12 AM, Aitor Garcia | Tempel.es wrote: > > 5) Tomcat, creates ONE (or maybe SOME) Class object and call to the > > _jspService on every script request > > > What happens if you handle Pool Coonections with a > > 'java.sql.Connection

Re: dbcp is mixing up connections

2011-12-15 Thread Terence M. Bandoian
On 1:59 PM, Christopher Schultz wrote: > Aitor, > > On 12/15/11 7:12 AM, Aitor Garcia | Tempel.es wrote: > > 5) Tomcat, creates ONE (or maybe SOME) Class object and call to the > > _jspService on every script request > > > What happens if you handle Pool Coonections with a > > 'java.sql.Connectio

Re: dbcp is mixing up connections

2011-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aitor, On 12/15/11 7:12 AM, Aitor Garcia | Tempel.es wrote: > 5) Tomcat, creates ONE (or maybe SOME) Class object and call to the > _jspService on every script request > > What happens if you handle Pool Coonections with a > 'java.sql.Connection con

Re: dbcp is mixing up connections

2011-12-15 Thread Pid
On 15/12/2011 12:55, Aitor Garcia | Tempel.es wrote: > I had read all the JNDI & JDBC Official & Unofficial documentation but & > only found than you MUST close the connections. > > There insn't references to where to declare variables. > > Declaring into local scope forces that you have pass by

Re: dbcp is mixing up connections

2011-12-15 Thread Aitor Garcia | Tempel.es
I had read all the JNDI & JDBC Official & Unofficial documentation but & only found than you MUST close the connections. There insn't references to where to declare variables. Declaring into local scope forces that you have pass by

Re: dbcp is mixing up connections

2011-12-15 Thread Mark Thomas
On 15/12/2011 12:12, Aitor Garcia | Tempel.es wrote: > I don't know if this is a tomcat bug. This is clearly not a Tomcat bug. This comes under the category of "user error". Mark - To unsubscribe, e-mail: users-unsubscr...@tomca