On Tue, 08 Mar 2005 15:16:41 -0800, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > Richard Mixon (qwest) wrote: > > > We upgraded from Tomcat 5.0.19 to Tomcat 5.5.7 in production and are now > > getting JDBC connection errors when the site has not been accessed for a > > while. This is happening when a user tries to login - we use a > > JDBCRealm to authenticate the user. > > > Would using the DataSourceReal provide any help here? > > I'm using a DataSourceRealm with 5.5.7 and not seeing any problems > reconnecting at any time (MySQL 4.1.7 + Connector/J 3.1.6)...
Be careful about this bug with the DataSourceRealm (fixed in 5.5.8): http://issues.apache.org/bugzilla/show_bug.cgi?id=33357 Similarly, I would appreciate testing of the fix. I agree there's absolutely no reason to use the regular JDBC realm, which can be a bottleneck in some cases. -- xxxxxxxxxxxxxxxxxxxxxxxxx R�my Maucherat Developer & Consultant JBoss Group (Europe) S�RL xxxxxxxxxxxxxxxxxxxxxxxxx --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
