Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001836 [Resin] minor always 06-26-07 12:14 07-30-07 12:21
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.2 Product Version 3.0.23
  Product Build
Summary 0001836: persistence database illegal state exception
Description (rep by Martin Morawetz)

  Since a few days we notice java.lang.IllegalStateExceptions in
  the resin-stdout-log.

  Consequence is the loss of all session-attributes of the
  particular session.

  Are there any known common reasons for invalid blocks?

  We use Resin 3.0.23.

  Below the stacktrace:

com.caucho.vfs.IOExceptionWrapper: java.lang.IllegalStateException: block at 61000000 is invalid for file /home/development/site/web/session/srun_.db (length 25f0000)

[15:38:55.931] at com.caucho.vfs.IOExceptionWrapper.create(IOExceptionWrapper.java:65)
[15:38:55.931] at com.caucho.server.session.SessionImpl.load(SessionImpl.java:904)
[15:38:55.931] at com.caucho.server.session.SessionManager.load(SessionManager.java:1482)
[15:38:55.931] at com.caucho.server.cluster.ClusterObject.load(ClusterObject.java:288)
[15:38:55.931] at com.caucho.server.cluster.FileBacking.loadSelf(FileBacking.java:318)
[15:38:55.931] at com.caucho.server.cluster.FileStore.load(FileStore.java:132)
[15:38:55.931] at com.caucho.server.cluster.ClusterObject.load(ClusterObject.java:259)
[15:38:55.931] at com.caucho.server.session.SessionImpl.load(SessionImpl.java:702)
[15:38:55.931] at com.caucho.server.session.SessionManager.getSession(SessionManager.java:1278)
[15:38:55.931] at com.caucho.server.connection.AbstractHttpRequest.createSession(AbstractHttpRequest.java:1444)
[15:38:55.931] at com.caucho.server.connection.AbstractHttpRequest.getSession(AbstractHttpRequest.java:1256)
[15:38:55.931] at org.it.notimeout.NoTimeoutServlet.doGet(NoTimeoutServlet.java:94)
[15:38:55.931] at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
[15:38:55.931] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[15:38:55.931] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
[15:38:55.931] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
[15:38:55.931] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
[15:38:55.931] at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:420)
[15:38:55.931] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511)
[15:38:55.931] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520)
[15:38:55.931] at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
[15:38:55.931] at java.lang.Thread.run(Thread.java:534)
[15:38:55.931] Caused by: java.lang.IllegalStateException: block at 61000000 is invalid for file /home/development/site/web/session/srun_.db (length 25f0000)

[15:38:55.931] at com.caucho.db.store.Store.readBlock(Store.java:1066)
[15:38:55.931] at com.caucho.db.store.Block.read(Block.java:153)
[15:38:55.931] at com.caucho.db.store.Store.readBlock(Store.java:470)
[15:38:55.931] at com.caucho.db.store.Store.readFragmentLong(Store.java:815)
[15:38:55.931] at com.caucho.db.store.Inode.readFragmentAddr(Inode.java:617)
[15:38:55.931] at com.caucho.db.store.Inode.read(Inode.java:264)
[15:38:55.931] at com.caucho.db.store.BlobInputStream.read(BlobInputStream.java:122)
[15:38:55.931] at com.caucho.vfs.VfsStream.read(VfsStream.java:143)
[15:38:55.931] at com.caucho.vfs.Crc64Stream.read(Crc64Stream.java:89)
[15:38:55.931] at com.caucho.vfs.ReadStream.read(ReadStream.java:383)
[15:38:55.931] at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2150)
[15:38:55.931] at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2549)
[15:38:55.931] at java.io.ObjectInputStream$BlockDataInputStream.readFully(ObjectInputStream.java:2579)
[15:38:55.931] at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1584)
[15:38:55.931] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271)
[15:38:55.931] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
[15:38:55.931] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
[15:38:55.931] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
[15:38:55.931] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
[15:38:55.931] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
[15:38:55.931] at com.caucho.server.session.SessionImpl.load(SessionImpl.java:898)
[15:38:55.931] ... 20 more
[15:38:56.131] java.lang.IllegalStateException: block at 61000000 is invalid for file /home/development/site/web/session/srun_.db (length 25f0000)

[15:38:56.131] at com.caucho.db.store.Store.readBlock(Store.java:1066)
[15:38:56.131] at com.caucho.db.store.Block.read(Block.java:153)
[15:38:56.131] at com.caucho.db.store.Store.readBlock(Store.java:470)
[15:38:56.131] at com.caucho.db.store.Store.readFragmentLong(Store.java:815)
[15:38:56.131] at com.caucho.db.store.Inode.readFragmentAddr(Inode.java:617)
[15:38:56.131] at com.caucho.db.store.Inode.remove(Inode.java:510)
[15:38:56.131] at com.caucho.db.store.Transaction.commit(Transaction.java:476)
[15:38:56.131] at com.caucho.db.store.Transaction.autoCommitWrite(Transaction.java:245)
[15:38:56.131] at com.caucho.db.sql.UpdateQuery.execute(UpdateQuery.java:126)
[15:38:56.131] at com.caucho.db.jdbc.PreparedStatementImpl.execute(PreparedStatementImpl.java:349)
[15:38:56.131] at com.caucho.db.jdbc.PreparedStatementImpl.executeUpdate(PreparedStatementImpl.java:325)
[15:38:56.131] at com.caucho.server.cluster.FileBacking.storeSelfUpdate(FileBacking.java:515)
[15:38:56.131] at com.caucho.server.cluster.FileBacking.storeSelf(FileBacking.java:475)
[15:38:56.131] at com.caucho.server.cluster.FileStore.store(FileStore.java:155)
[15:38:56.131] at com.caucho.server.cluster.ClusterObject.store(ClusterObject.java:411)
[15:38:56.131] at com.caucho.server.session.SessionImpl.save(SessionImpl.java:861)
[15:38:56.131] at com.caucho.server.session.SessionImpl.saveAfterRequest(SessionImpl.java:850)
[15:38:56.131] at com.caucho.server.session.SessionImpl.finish(SessionImpl.java:811)
[15:38:56.131] at com.caucho.server.connection.AbstractHttpRequest.finish(AbstractHttpRequest.java:2389)
[15:38:56.131] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:211)
[15:38:56.131] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
[15:38:56.131] at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:420)
[15:38:56.131] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511)
[15:38:56.131] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520)
[15:38:56.131] at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
[15:38:56.131] at java.lang.Thread.run(Thread.java:534)
Steps To Reproduce
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
06-26-07 12:14 ferg New Issue
06-26-07 12:14 ferg Status new => assigned
06-26-07 12:14 ferg Assigned To  => ferg
07-30-07 12:21 ferg Status assigned => closed
07-30-07 12:21 ferg Resolution open => fixed
07-30-07 12:21 ferg Fixed in Version  => 3.1.2


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