I am using JDBCStore to store sessions in MySQL. It is working fine but the default configuration options don't appear to support a database pool (available via a JDBC JNDI resource).
is it possible to use a JNDI JDBC resource for the JDBC Persistence Manager so the container doesn't have to create a new connection each time it needs to persist or retrieve the session data?
Cheers, Steve
Try the follow code:
dataSourceName is a previous JNDI resource name.