> From: Andrew Hole [mailto:[EMAIL PROTECTED] 
> Subject: Connection pooling
> 
> The following configuration was not supposed to be created 5
> connections at first get connection execution?

Not quite sure how to parse the above sentence, but the config should
have created five connections at initialization.

> My application with the following configuration creates 
> always a new session in the database for each invocation,
> which is not to take advantage of pooling.

Possibly because your webapp is not closing the connections, thereby not
allowing them to return to the pool:
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.h
tml#Preventing%20dB%20connection%20pool%20leaks

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to