tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin O'Shea" <app...@dsl.pipex.com>
Subject RE: Connection pooling issue with MySQLNonTransientConnectionException and Java webapp
Date Mon, 21 Nov 2011 16:24:27 GMT
Thanks Terence.

Yes, I have been. Increasing the number of connections in MySQL, the
max_connections parameter, seems to have helped somewhat.

Is there an optimum number of connections that the 'equivalent' Tomcat
maxActive should have? 

-----Original Message-----
From: Terence M. Bandoian [mailto:terence@tmbsw.com] 
Sent: 21 Nov 2011 16 11
To: Tomcat Users List
Subject: Re: Connection pooling issue with
MySQLNonTransientConnectionException and Java webapp


On 1:59 PM, Martin O'Shea wrote:
> Caused by:
> com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: 
> Data source rejected establishment of connection,  message from 
> server: "Too many connections"

I'd check into this.

-Terence Bandoian


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@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