0 Replies Latest reply on Jan 24, 2007 4:55 AM by Nimrod Rivier

    java.io.StreamCorruptedException: invalid stream header

    Nimrod Rivier Newbie

      After Jboss was running for several days, we received the following errors several times.
      The errors appeared for about 2 minutes and then stopped. After that it seems that all MDB handling was stopped.
      There are several variants of the stack trace, I listed an example of each one.

      We are using Jboss 3.2.8 SP1 on Linux

      00:28:18,448 ERROR [ServerThread] Failed to initialize
      java.io.StreamCorruptedException: invalid stream header
      at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:753)
      at java.io.ObjectInputStream.(ObjectInputStream.java:268)
      at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:119)
      at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:258)
      at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:152)
      00:28:33,460 ERROR [ServerThread] Failed to initialize
      java.io.EOFException
      at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2232)
      at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2698)
      at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:750)
      at java.io.ObjectInputStream.(ObjectInputStream.java:268)
      at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:119)
      at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:258)
      at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:152)

      00:30:08,093 ERROR [ServerThread] Failed to initialize
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
      at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2217)
      at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2230)
      at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2698)
      at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:750)
      at java.io.ObjectInputStream.(ObjectInputStream.java:268)
      at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:119)
      at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:258)
      at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:152)
      00:30:29,108 ERROR [ServerThread] Failed to initialize
      java.io.EOFException
      at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2232)
      at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2698)
      at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:750)
      at java.io.ObjectInputStream.(ObjectInputStream.java:268)
      at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:119)
      at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:258)
      at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:152)