I am connecting to Oracle 9i not MySql. Sorry I should've mentioned this in my original message.
Thanks, -----Original Message----- From: Tom K [mailto:[EMAIL PROTECTED] Sent: Monday, March 29, 2004 9:14 AM To: 'Tomcat Users List' Subject: RE: Connection is Closed In your server.xml file if you are using connection pooling you can put a line in like this: <value>jdbc:mysql://localhost:3306/Classifieds?autoReconnect=true</value > --> - <parameter> <name>url</name> <value>jdbc:mysql://localhost:3306/Classifieds?autoReconnect=true</value > </parameter> </ResourceParams> </Context> </Host> </Engine> </Service> </Server> Hope that does the trick. Tom Kochanowicz -----Original Message----- From: Rob Wichterman [mailto:[EMAIL PROTECTED] Sent: Monday, March 29, 2004 7:36 AM To: 'Tomcat Users List' Subject: Connection is Closed I keep receiving a "Connection is Closed" error in my tomcat localhost_log. After receiving this error I have to restart tomcat to reconnect to oracle. Is there any type of auto reconnect parameter? Thanks, --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.557 / Virus Database: 349 - Release Date: 12/30/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.557 / Virus Database: 349 - Release Date: 12/30/2003 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
