users@glassfish.java.net

Re: fronting gf with SunWebServer7, forward-ip problem

From: <glassfish_at_javadesktop.org>
Date: Thu, 26 Mar 2009 04:19:21 PDT

Sorry to reply to an oldish thread but I am trying to do the same thing as the opening poster.

I am running glassfish 2.1 and webserver7 update 4.

I have already posted on the webserver forums and they have confirmed (from my logs) that the forward-ip SAF is being executed correctly.

I have added this line to my domain.xml:

<property name="authPassthroughEnabled" value="true"/> but I am still getting this error message in my glassfish logs

[#|2009-03-26T17:32:47.457+1300|WARNING|sun-appserver2.1|org.apache.coyote.tomcat5.CoyoteRequest|_ThreadID=21;_ThreadName
=httpSSLWorkerThread-8181-2;_RequestID=11ab6ecf-254c-4255-98d3-48856ab99b61;|PWC4013: Unable to determine client remote a
ddress from proxy (returns null)|#]

[#|2009-03-26T17:32:47.457+1300|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSL
WorkerThread-8181-2;|
127.0.0.1 ip address|#]


From what I can see glassfish is doing its job, and webserver is doing its job, but they aren't playing nicely...

Does anybody have any ideas?

Thanks in advance,
Gareth
[Message sent by forum member 'gareth_wilson' (gareth_wilson)]

http://forums.java.net/jive/thread.jspa?messageID=339121