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-16 Thread Pid *
On 16 Dec 2011, at 09:32, Aitor Garcia | Tempel.es agar...@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

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 agar...@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

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

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:

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 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 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 conn'

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 conn'

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 conn'

Re: dbcp is mixing up connections

2011-12-15 Thread Konstantin Kolinko
2011/12/15 Aitor Garcia | Tempel.es agar...@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

Re: dbcp is mixing up connections

2011-12-15 Thread Mark Eggers
- Original Message - From: Terence M. Bandoian tere...@tmbsw.com To: Tomcat Users List users@tomcat.apache.org 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 7:12 AM, Aitor