tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Connection pooling
Date Fri, 11 Jan 2008 14:24:37 GMT
> From: Andrew Hole [mailto:andremailinglist@gmail.com] 
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message