The stream of IllegalStateException errors were preceeded by these two
stack errors:
[#|2012-05-31T11:54:21.538+0100|SEVERE|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=31;_ThreadName=Thread-2;|GRIZZLY0051:
ProcessorTask exception.
java.lang.NullPointerException
at
com.sun.grizzly.http.ajp.AjpHttpResponse.writeCPongReply(AjpHttpResponse.java:62)
at
com.sun.grizzly.http.ajp.AjpProcessorTask.processCPing(AjpProcessorTask.java:353)
at
com.sun.grizzly.http.ajp.AjpProcessorTask.invokeAdapter(AjpProcessorTask.java:146)
at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:662)
|#]
[#|2012-05-31T11:54:26.629+0100|SEVERE|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=41;_ThreadName=Thread-2;|GRIZZLY0041:
Unblocking keep-alive exception.
java.lang.ArrayIndexOutOfBoundsException: 61
at
com.sun.grizzly.http.ajp.AjpMessageUtils.decodeForwardRequest(AjpMessageUtils.java:73)
at
com.sun.grizzly.http.ajp.AjpInputBuffer.parseAjpHttpHeaders(AjpInputBuffer.java:141)
at
com.sun.grizzly.http.ajp.AjpInputBuffer.parseHeaders(AjpInputBuffer.java:114)
at
com.sun.grizzly.http.ProcessorTask.parseRequest(ProcessorTask.java:902)
at
com.sun.grizzly.http.ajp.AjpProcessorTask.parseRequest(AjpProcessorTask.java:109)
at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:706)
at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:662)
|#]
On 01/06/2012 09:32, Paul Harrup wrote:
> We Upgraded from 3.1 to 3.1.2 recently, we applying the patched jars
> for GLASSFISH-18446 http://java.net/jira/browse/GLASSFISH-18446 to
> resolve issues with mod_jk, but now after a week we have started
> getting the following errors:
>
> [#|2012-06-01T08:47:31.478+0100|SEVERE|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=22;_ThreadName=Thread-2;|GRIZZLY0051:
> ProcessorTask exception.
> java.lang.IllegalStateException: Invalid packet magic number: 6074
> pos=5lastValid=5222 end=5
> at
> com.sun.grizzly.http.ajp.AjpInputBuffer.readAjpMessageHeader(AjpInputBuffer.java:85)
> at
> com.sun.grizzly.http.ajp.AjpProcessorTask.parseRequest(AjpProcessorTask.java:107)
> at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:706)
> at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
> at java.lang.Thread.run(Thread.java:662)
> |#]
>
> We got the same error in a constant stream until the Glassfish was
> restarted.
>
> We are running Glassfish on Java 6u32 64-bit fronted by Apache 2.2.3
> and mod_jk 1.2.36. Has anyone else experienced these error?
>
> Thanks
> Paul
>
>