users@glassfish.java.net

Re: Urgent problem with apache mod_jk and glassfish 3.01

From: Amy Roh <amy.roh_at_oracle.com>
Date: Tue, 12 Jul 2011 19:20:54 -0700

What version of GF are you using? Are you using glassfish-jk.properties
file? I need more info re: your env to understand why the NPE is happening.

Amy

On 7/12/11 12:34 PM, forums_at_java.net wrote:
> I am trying to connect from Apache to my glassfish server. I am using
> mod_jk
> and followed various installation instructions. The connection is
> being made
> (glassfish receives teh request) but in the glassfish log I see the
> following error:-
>
> [#|2011-07-12T20:38:28.075+0100|SEVERE|glassfish3.0.1|org.apache.jk.common.HandlerRequest|_ThreadID=25;_ThreadName=Thread-1;|Error
>
> decoding request
> java.lang.NullPointerException
> at java.util.concurrent.ConcurrentHashMap.put(Unknown Source)
> at com.sun.grizzly.tcp.Request.setAttribute(Request.java:446)
> at
> org.apache.jk.common.HandlerRequest.decodeAttributes(HandlerRequest.java:501)
>
> at
> org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:451)
>
> at
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:303)
> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:814)
> at
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:743)
>
> at
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:936)
>
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:682)
>
> at java.lang.Thread.run(Unknown Source)
>
>
> I have tried this on another setup and get the same error. Any help
> really
> appreciated !!
>
> Thanks
>
>
>
>
> --
>
> [Message sent by forum member 'oidsman']
>
> View Post: http://forums.java.net/node/821526
>
>