Re: JDBCRealm.getRoles causes NullPointerException

2008-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Thomas wrote: > Christopher Schultz wrote: >> Right: JDBCRealm does not do any connection pooling AFAIK. > > It is better than that. It uses a single connection and lots of syncs :) Sweet! Sounds like a heckuva first-term freshman hack-jo

Re: JDBCRealm.getRoles causes NullPointerException

2008-09-16 Thread Mark Thomas
Christopher Schultz wrote: > Lloyd, > > DIGLLOYD INC wrote: >> I am using > >> I don't know what's required to use a DataSourceRealm (yet), but if it's >> a simple switch I'll try it. > > > Ooh, using DataSourceRealm is much better, because you can share the > JDBC Connection objects with the

Re: JDBCRealm.getRoles causes NullPointerException

2008-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lloyd, DIGLLOYD INC wrote: > I am using > > I don't know what's required to use a DataSourceRealm (yet), but if it's > a simple switch I'll try it. Ooh, using DataSourceRealm is much better, because you can share the JDBC Connection objects with

Re: JDBCRealm.getRoles causes NullPointerException

2008-09-03 Thread Mark Thomas
DIGLLOYD INC wrote: > Aug 31, 2008 5:30:48 PM org.apache.catalina.connector.CoyoteAdapter service > SEVERE: An exception or error occurred in the container during the > request processing > java.lang.NullPointerException > at > com.mysql.jdbc.ResultSetImpl.setRowPositionValidity(ResultSetImpl.j

Re: JDBCRealm.getRoles causes NullPointerException

2008-09-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lloyd, DIGLLOYD INC wrote: > MySQL 5.0.51b + mysql-connector-java-5.1.6-bin.jar Have you tried downgrading to a 5.0 version? It might be worth it to see if there is some weird problem with their new driver. > The only clue I see in catalina.out is t

JDBCRealm.getRoles causes NullPointerException

2008-09-01 Thread DIGLLOYD INC
I'm running Tomcat 6.0.16 with DIGEST auth using: MySQL 5.0.51b + mysql-connector-java-5.1.6-bin.jar Things work well until complete failure: every few days, all authentication begins to fail. When this happens, nothing appears in catalina.out to indicate a problem, and unless I restart Tom