Christopher Schultz wrote:
Yes, using DataSourceRealm is the preferred configuration.
Thank you for confirming that :)
[...] By the way, there's no reason not
to upgrade to the most recent Connector/J, either.
Sorry.. are you referring to the mysql-connector JAR file? In my
troubleshoot
The DatasourceRealm will work. Drop the autoReconnect parameter from
the database url though as it's not recommended by the MySQL folks.
Instead, add a validationQuery to your ResourceParams so database
connections are tested briefly before they are borrowed from the pool.
The query can be a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robert Jacobson wrote:
| I was authenticating using a mysql database through the JDBCRealm. I
| found some posts in the archives (
|
http://www.mail-archive.com/[EMAIL PROTECTED]/msg149130.html)
| indicating that switching from the JDBCRealm