Why don't you use the connection pool comming with struts?
Zsolt
On Tuesday 19 November 2002 23:42, James Ferguson wrote:
Hi,
You might like to look into the connection pooling software called
PoolMan (for Pool Manager). I'm using it successfully with the MySQL
driver. It's no longer be
Hi!!
Actually, the problem was very silly and i have solved (i think!!)
The struts connection pooling gives a ton of problems in development
enviorement becuase I need to restart the tomcat when i make any changues to
the classes. If I use reload from the manager, all the connections in the
Take care, it may not be an issue with your pool ! I have a similar
environment and the Struts pool appears to correctly re-connect when tomcat
restarts my application after a class change. (It should as the entire
context is re-initialised!)
Some things that seem to help:
1) Close all result
]]
Sent: Wednesday, November 20, 2002 9:28 AM
To: '[EMAIL PROTECTED]'
Subject: Re: MySQL connection pooling problems!! (please help)
Hi!!
Actually, the problem was very silly and i have solved (i think!!)
The struts connection pooling gives a ton of problems in development
enviorement becuase I
On Tuesday 19 November 2002 14:43, matthew yee-king wrote:
You could try setting the autoReconnect parameter on the mysql url:
jdbc:mysql://mydomain:3306/mydatabase?autoReconnect=true
cheers
matthew
It's working.
Now I dont have to reload application every morning.
Thank you.
Dragan
I have same problem and only what I found is this:
Segment from MySql documentation A.2.2 MySQL server has gone away Error:
By default, the mysql server closes the connection after 8 hours if
nothing has happened.
You
You could try setting the autoReconnect parameter on the mysql url:
jdbc:mysql://mydomain:3306/mydatabase?autoReconnect=true
cheers
matthew
On Tue, 19 Nov 2002 13:44:34 +0100
Dragan Ljubojevic [EMAIL PROTECTED] wrote:
I have same problem and only what I found is this:
Segment from MySql
Hi,
You might like to look into the connection pooling software called
PoolMan (for Pool Manager). I'm using it successfully with the MySQL
driver. It's no longer be worked on but it is quite mature code. Just
hunt around with your favourite search engine and you should be able to
find a
:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 5:42 PM
To: '[EMAIL PROTECTED]'
Subject: MySQL connection pooling problems!! (please help)
Hi,
You might like to look into the connection pooling software called
PoolMan (for Pool Manager). I'm using it successfully with the MySQL
driver
, November 19, 2002 5:42 PM
To: '[EMAIL PROTECTED]'
Subject: MySQL connection pooling problems!! (please help)
Hi,
You might like to look into the connection pooling software called
PoolMan (for Pool Manager). I'm using it successfully with the MySQL
driver. It's no longer be worked
Hi.
I'm new to struts, and i have find it great, until connection poolling. I'm
using the GenericDataSurce implementation and my aplicattion uses a
singleton to access de connection. All the code was in a Wrox book
(Beginning jsp).
I'm having this problem:
I have a action servlet that query the
]]
Enviado el: lunes, 18 de noviembre de 2002 22:46
Para: [EMAIL PROTECTED]
Asunto: MySQL connection pooling problems!! (please help)
Hi.
I'm new to struts, and i have find it great, until connection
poolling. I'm
using the GenericDataSurce implementation and my aplicattion uses a
singleton
12 matches
Mail list logo