Re: Strange MySQL-Behaviour with JDBC-Realm

2011-07-16 Thread Kris
Did autoreconnect solve your problem? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Strange MySQL-Behaviour with JDBC-Realm

2007-06-04 Thread David Smith
I don't think autoReconnect would help. It'd still throw the exception and then re-connect to the database so the code can retry. Unfortunately it doesn't just silently reconnect and perform the query. You have configured both testOnBorrow and a validation query, so the connection is verifie

Re: Strange MySQL-Behaviour with JDBC-Realm

2007-06-04 Thread Gregor Schneider
Hi David, will give that a try. If the exception persists, I'll go for autoreconnect, will report here. Cheers Gregor -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

RE: Strange MySQL-Behaviour with JDBC-Realm

2007-06-04 Thread David Short
: Monday, June 04, 2007 1:17 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Strange MySQL-Behaviour with JDBC-Realm Hi David, from http://dev.mysql.com/doc/refman/4.1/en/connector-j-reference-configuration-p roperties.html: [snipp]= If the hostname is not specified

Re: Strange MySQL-Behaviour with JDBC-Realm

2007-06-04 Thread Gregor Schneider
Hi David, from http://dev.mysql.com/doc/refman/4.1/en/connector-j-reference-configuration-properties.html: [snipp]= If the hostname is not specified, it defaults to 127.0.0.1. If the port is not specified, it defaults to 3306, the default port number for MySQL servers. =

RE: Strange MySQL-Behaviour with JDBC-Realm

2007-06-04 Thread David Short
Shouldn't your connection URL look something like this: jdbc:mysql//db:3306/apacheSSO instead of jdbc:mysql://db/apacheSSO? Not sure if this means anything, since you say it's already working... It just looks strange. -Original Message- From: Gregor Schneider [mailto:[EMAIL PROTECTED] S