[jboss-jira] [JBoss JIRA] Created: (JBAS-4007) java.io.StreamCorruptedException: invalid stream header
Nimrod Rivier (JIRA)
jira-events at jboss.com
Tue Jan 23 04:53:54 EST 2007
java.io.StreamCorruptedException: invalid stream header
-------------------------------------------------------
Key: JBAS-4007
URL: http://jira.jboss.com/jira/browse/JBAS-4007
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: JBossAS-3.2.8.SP1
Reporter: Nimrod Rivier
At some point, we get the following error several times
00:28:34,497 ERROR [ServerThread] Failed to initialize
java.io.StreamCorruptedException: invalid stream header
This happens after Jboss has been running for several days. We could not find a scenario to reconstruct this error
There are 2 variants the stack trace for this error:
INFO | jvm 1 | 2007/01/21 00:28:18 | 00:28:18,448 ERROR [ServerThread] Failed to initialize
INFO | jvm 1 | 2007/01/21 00:28:18 | java.io.StreamCorruptedException: invalid stream header
INFO | jvm 1 | 2007/01/21 00:28:18 | at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:753)
INFO | jvm 1 | 2007/01/21 00:28:18 | at java.io.ObjectInputStream.<init>(ObjectInputStream.java:268)
INFO | jvm 1 | 2007/01/21 00:28:18 | at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.<init>(OptimizedObjectInputStream.java:119)
INFO | jvm 1 | 2007/01/21 00:28:18 | at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:258)
INFO | jvm 1 | 2007/01/21 00:28:18 | at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:152)
INFO | jvm 1 | 2007/01/21 00:28:33 | 00:28:33,460 ERROR [ServerThread] Failed to initialize
INFO | jvm 1 | 2007/01/21 00:28:33 | java.io.EOFException
INFO | jvm 1 | 2007/01/21 00:28:33 | at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2232)
INFO | jvm 1 | 2007/01/21 00:28:33 | at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2698)
INFO | jvm 1 | 2007/01/21 00:28:33 | at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:750)
INFO | jvm 1 | 2007/01/21 00:28:33 | at java.io.ObjectInputStream.<init>(ObjectInputStream.java:268)
INFO | jvm 1 | 2007/01/21 00:28:33 | at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.<init>(OptimizedObjectInputStream.java:119)
INFO | jvm 1 | 2007/01/21 00:28:33 | at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:258)
INFO | jvm 1 | 2007/01/21 00:28:33 | at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:152)
Also, at some point between the errors we got the following:
INFO | jvm 1 | 2007/01/21 00:30:08 | 00:30:08,093 ERROR [ServerThread] Failed to initialize
INFO | jvm 1 | 2007/01/21 00:30:08 | java.net.SocketTimeoutException: Read timed out
INFO | jvm 1 | 2007/01/21 00:30:08 | at java.net.SocketInputStream.socketRead0(Native Method)
INFO | jvm 1 | 2007/01/21 00:30:08 | at java.net.SocketInputStream.read(SocketInputStream.java:129)
INFO | jvm 1 | 2007/01/21 00:30:08 | at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
INFO | jvm 1 | 2007/01/21 00:30:08 | at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
INFO | jvm 1 | 2007/01/21 00:30:08 | at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
INFO | jvm 1 | 2007/01/21 00:30:08 | at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2217)
INFO | jvm 1 | 2007/01/21 00:30:08 | at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2230)
INFO | jvm 1 | 2007/01/21 00:30:08 | at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2698)
INFO | jvm 1 | 2007/01/21 00:30:08 | at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:750)
INFO | jvm 1 | 2007/01/21 00:30:08 | at java.io.ObjectInputStream.<init>(ObjectInputStream.java:268)
INFO | jvm 1 | 2007/01/21 00:30:08 | at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.<init>(OptimizedObjectInputStream.java:119)
INFO | jvm 1 | 2007/01/21 00:30:08 | at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:258)
INFO | jvm 1 | 2007/01/21 00:30:08 | at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:152)
The errors stoped appearing after a minute, but it seems that Jboss stopped processing MDBs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list