You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Pe...@materna.de on 2005/07/18 13:38:06 UTC

Tomcat 5.5.9 connection pooling

Hi!

I am using Tomcat 5.5.9 and I have established a DataSource for
database connection pooling where I can get connections from.
But when I try to close the connection via myConnection.close(),
always an exception is thrown. Is it right to close the connection
this way or do I have to return the connection to the pool in 
another way? 

Peter

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


Re: Tomcat 5.5.9 connection pooling

Posted by Yasir Khan <ya...@ascertia.com>.
Can you please write what exception do you get when you try to close the database connection?
  ----- Original Message ----- 
  From: Peter.Zoche@materna.de 
  To: tomcat-user@jakarta.apache.org 
  Sent: Monday, July 18, 2005 4:38 PM
  Subject: Tomcat 5.5.9 connection pooling


  Hi!

  I am using Tomcat 5.5.9 and I have established a DataSource for
  database connection pooling where I can get connections from.
  But when I try to close the connection via myConnection.close(),
  always an exception is thrown. Is it right to close the connection
  this way or do I have to return the connection to the pool in 
  another way? 

  Peter

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




Re: Tomcat 5.5.9 connection pooling

Posted by Viorel Dragomir <vd...@wylog.com>.
Can you attach the exception thrown ?



Viorel Dragomir

.
..
-------------------------------------------------------------------



----- Original Message ----- 
From: Peter.Zoche@materna.de 
To: tomcat-user@jakarta.apache.org 
Sent: Monday, July 18, 2005 13:38
Subject: Tomcat 5.5.9 connection pooling


Hi!

I am using Tomcat 5.5.9 and I have established a DataSource for
database connection pooling where I can get connections from.
But when I try to close the connection via myConnection.close(),
always an exception is thrown. Is it right to close the connection
this way or do I have to return the connection to the pool in 
another way? 

Peter

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