Mantis - Resin
Viewing Issue Advanced Details
3850 minor always 01-15-10 02:36 03-03-10 16:48
mocospace  
ferg  
high  
closed 4.0.2  
fixed  
none    
none 4.0.5  
0003850: MnodeStore removeExpiredData fails
We have no wish to use the distributed cache but have been receiving errors that are being reported to server-error.log
Also we do not have a JDBC connection defined in resin.xml so why does resin try to use one ? (com.caucho.db.jdbc)
[10/01/15 05:24:42.483] java.lang.IllegalStateException
[10/01/15 05:24:42.484] at com.caucho.db.sql.QueryContext.unlock(QueryContext.java:546)
[10/01/15 05:24:42.484] at com.caucho.db.sql.QueryContext.close(QueryContext.java:591)
[10/01/15 05:24:42.484] at com.caucho.db.sql.DeleteQuery.execute(DeleteQuery.java:84)
[10/01/15 05:24:42.484] at com.caucho.db.jdbc.PreparedStatementImpl.execute(PreparedStatementImpl.java:344)
[10/01/15 05:24:42.484] at com.caucho.db.jdbc.PreparedStatementImpl.executeUpdate(PreparedStatementImpl.java:311)
[10/01/15 05:24:42.484] at com.caucho.server.distcache.MnodeStore.removeExpiredData(MnodeStore.java:637)
[10/01/15 05:24:42.484] at com.caucho.server.distcache.MnodeStore.handleAlarm(MnodeStore.java:688)
[10/01/15 05:24:42.484] at com.caucho.util.Alarm.handleAlarm(Alarm.java:432)
[10/01/15 05:24:42.484] at com.caucho.util.Alarm.run(Alarm.java:404)
[10/01/15 05:24:42.484] at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:901)
[10/01/15 05:24:42.484] at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866)

Notes
(0004387)
ferg   
01-15-10 10:18   
Thanks for the bug report.

The filesystem store for the distributed cache uses a JDBC interface for to the internal database, but it's more lightweight than a typical JDBC driver (and doesn't need to implement most of the JDBC methods, just the ones we need.)