[jboss-user] [Installation, Configuration & DEPLOYMENT] - ERROR [ServerThread] - Failed to initialize / java.io.Stream
jsblake
do-not-reply at jboss.com
Fri Feb 13 19:17:04 EST 2009
Running JBoss 4.0.5GA on an XServe dual G5 w/ Mac OS X Server 10.4.8. Using mod_jk 1.2.25-httpd-1.3 on Apache 1.3 (Mac OS 10.4 built-in Apache) as connector. Using default server instance - no clustering, etc.
We have over a dozen servers running the above JBoss configuration with no problems for several months, but in the last month or two, 3 of them started spewing the below errors about every second. When we restart JBoss, its fine, but then within a day or two, it starts spewing the errors again.
I've found lots of references to what sounds like the same problem (http://jira.jboss.com/jira/browse/JBAS-4007?page=all), but I haven't been able to find any solutions. I don't know why only 3 of our servers have this problem occurring, and not the rest.
The error seems to start happening at midnight GMT, so we feel like it may be related to the log4j logfile rolling over (we're using the daily rolling log appender), but don't know why none of the other servers are seeing this issue, and why it started happening in the first place.
Any help would be really appreciated.
2009-02-10 06:31:34,642 ERROR [ServerThread] - Failed to initialize
java.io.StreamCorruptedException: invalid stream header
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
at java.io.ObjectInputStream.(ObjectInputStream.java:277)
at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:131)
at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:265)
at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)
2009-02-10 06:31:36,670 ERROR [MsgAjp] - BAD packet signature 26481
2009-02-10 06:31:36,670 ERROR [ChannelSocket] - Error, processing connection
java.lang.IndexOutOfBoundsException
at java.io.BufferedInputStream.read(BufferedInputStream.java:306)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:620)
at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:577)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:685)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:613)
2009-02-10 06:32:04,403 ERROR [MsgAjp] - BAD packet signature 18254
2009-02-10 06:32:04,403 ERROR [ChannelSocket] - Error, processing connection
java.lang.IndexOutOfBoundsException
at java.io.BufferedInputStream.read(BufferedInputStream.java:306)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:620)
at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:577)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:685)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:613)
2009-02-10 06:32:04,523 ERROR [MsgAjp] - BAD packet signature 1025
2009-02-10 06:32:04,523 WARN [ChannelSocket] - Closing ajp connection 0
2009-02-10 06:32:04,583 ERROR [MsgAjp] - BAD packet signature 7424
2009-02-10 06:32:04,643 ERROR [MsgAjp] - BAD packet signature 27648
2009-02-10 06:32:04,703 ERROR [MsgAjp] - BAD packet signature 14408
2009-02-10 06:32:04,703 ERROR [ChannelSocket] - Error, processing connection
java.lang.IndexOutOfBoundsException
at java.io.BufferedInputStream.read(BufferedInputStream.java:306)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:620)
at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:577)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:685)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:613)
2009-02-10 06:32:04,764 ERROR [MsgAjp] - BAD packet signature 3
2009-02-10 06:32:04,765 ERROR [ChannelSocket] - Error, processing connection
java.lang.IndexOutOfBoundsException
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210080#4210080
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210080
More information about the jboss-user
mailing list