On Jul 2, 2007, at 10:19 AM, MORAWETZ Martin wrote:

Hi,

  Just to be sure:

  <persistent-store> is a Resin-Professional-Feature which I need to
configure the jdbc-store, so jdbc-store is a Resin-Professional Feature too?

Correct.

-- Scott


Regards,
Martin
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:resin-interest- [EMAIL PROTECTED] Im Auftrag von Scott Ferguson
Gesendet: Dienstag, 26. Juni 2007 21:19
An: General Discussion for the Resin application server
Betreff: Re: [Resin-interest] IllegalStateException thrown when reading fromsrun.db


On Jun 26, 2007, at 7:21 AM, MORAWETZ Martin wrote:

Hi list,

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

I've filed this as http://bugs.caucho.com/view.php?id=1836.

It may already be fixed in 3.1 and it might not be something we'll be fixing in 3.0.x (so you might need to switch to jdbc store for 3.0). The timing/synchronization for the cluster/file store are pretty complicated, and some of the changes we've already made to 3.1.x are too extensive to patch back into 3.0.

-- Scott

  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)

Regards,
Martin




"Diese E-Mail sowie jeglicher Anhang sind vertraulich und ausschließlich für den/die bezeichneten Adressaten bestimmt. Diese Mitteilung kann rechtlich geschützte, firmeninterne oder anderweitig vertrauliche Informationen enthalten, deren Weitergabe ohne unsere Zustimmung strengstens untersagt ist. Sofern Sie nicht der beabsichtigte Adressat sind oder diese E-Mail irrtümlich erhalten haben, sind Sie nicht autorisiert, diese Mitteilung bekanntzumachen, zu kopieren, weiterzugeben oder aufzubewahren. Bitte informieren Sie uns in diesem Fall unverzüglich
und vernichten diese E-Mail.

Diese Fußnote dient auch der Bestätigung darüber, daß diese E-Mail automatisch auf Computerviren,
anstößige Inhalte und Einwahlprogramme gescannt wurde."

"The information in this e-mail and in any attachments is confidential and intended solely for the attention and use of the named addressee(s). This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it, and should notify us
immediately.

This footnote also confirms that this email has been automatically scanned for the presence
of computer viruses, profanities and certain file types."
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


"Diese E-Mail sowie jeglicher Anhang sind vertraulich und ausschließlich für den/die bezeichneten Adressaten bestimmt. Diese Mitteilung kann rechtlich geschützte, firmeninterne oder anderweitig vertrauliche Informationen enthalten, deren Weitergabe ohne unsere Zustimmung strengstens untersagt ist. Sofern Sie nicht der beabsichtigte Adressat sind oder diese E-Mail irrtümlich erhalten haben, sind Sie nicht autorisiert, diese Mitteilung bekanntzumachen, zu kopieren, weiterzugeben oder aufzubewahren. Bitte informieren Sie uns in diesem Fall unverzüglich
und vernichten diese E-Mail.

Diese Fußnote dient auch der Bestätigung darüber, daß diese E-Mail automatisch auf Computerviren,
anstößige Inhalte und Einwahlprogramme gescannt wurde."

"The information in this e-mail and in any attachments is confidential and intended solely for the attention and use of the named addressee(s). This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it, and should notify us
immediately.

This footnote also confirms that this email has been automatically scanned for the presence
of computer viruses, profanities and certain file types."
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to