Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003851 [Resin] minor always 01-18-10 12:39 03-05-10 11:14
Reporter alex View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.5 Product Version 4.0.3
  Product Build
Summary 0003851: IllegalStateException on session load
Description rep by: Mattias Jiderhamn

Last week we saw a whole bunch of these exceptions. Removing
resin_data_default.db and resin_mnode_default.db and restarting Resin
removed the problem, but possibly there is something there that needs
attention.

java.lang.IllegalStateException
    at com.caucho.db.sql.QueryContext.unlock(QueryContext.java:546)
    at com.caucho.db.sql.QueryContext.close(QueryContext.java:591)
    at com.caucho.db.sql.UpdateQuery.execute(UpdateQuery.java:117)
    at com.caucho.db.jdbc.PreparedStatementImpl.execute(PreparedStatementImpl.java:344)
    at com.caucho.db.jdbc.PreparedStatementImpl.executeUpdate(PreparedStatementImpl.java:311)
    at com.caucho.server.distcache.MnodeStore.updateUpdateTime(MnodeStore.java:607)
    at com.caucho.server.distcache.AbstractDataCacheManager.saveLocalUpdateTime(AbstractDataCacheManager.java:690)
    at com.caucho.server.distcache.AbstractDataCacheManager.saveUpdateTime(AbstractDataCacheManager.java:628)
    at com.caucho.server.distcache.AbstractDataCacheManager.updateIdleTime(AbstractDataCacheManager.java:503)
    at com.caucho.server.distcache.AbstractDataCacheManager.getMnodeValue(AbstractDataCacheManager.java:250)
    at com.caucho.server.distcache.ProCacheEntry.getMnodeValue(ProCacheEntry.java:106)
    at com.caucho.distcache.AbstractCache.getExtCacheEntry(AbstractCache.java:452)
    at com.caucho.server.session.SessionImpl.load(SessionImpl.java:562)
    at com.caucho.server.session.SessionManager.createSession(SessionManager.java:1282)
    at com.caucho.server.connection.AbstractCauchoRequest.createSession(AbstractCauchoRequest.java:248)
    at com.caucho.server.connection.AbstractCauchoRequest.getSession(AbstractCauchoRequest.java:191)
    at ...
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0004388)
ferg
01-19-10 09:53

Thanks. We can check that out during the 4.0.4 stress testing.

Deleting the *.db shouldn't make a difference; it's the restart of Resin that would break that lock. (In other words, if the restart doesn't help, but the *.db does, please let us know, because that's not behavior we'd expect.)
 
(0004455)
ferg
03-05-10 11:14

db-stress/0400
 

- Issue History
Date Modified Username Field Change
01-18-10 12:39 alex New Issue
01-19-10 09:53 ferg Note Added: 0004388
03-05-10 11:14 ferg Note Added: 0004455
03-05-10 11:14 ferg Assigned To  => ferg
03-05-10 11:14 ferg Status new => closed
03-05-10 11:14 ferg Resolution open => fixed
03-05-10 11:14 ferg Fixed in Version  => 4.0.5


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker