users@glassfish.java.net

Re: Get ip address of incoming requests

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Tue, 06 Dec 2011 13:46:00 -0500

Hi Ryan,

Thanks for the tip. I have tried the docs you suggested but still do not
see where it is possible to see the client IP address for incoming HTTP
requests.
Can you please tell me what I may be missing. Thanks very much for your
kind help.

On 12/06/2011 12:42 PM, Ryan Lubke wrote:
> On 12/6/11 6:39 AM, Farrukh Najmi wrote:
>>
>> Unless I am mistaken, the question seems clear enough and it seems
>> like the use case should be supported by Glassfish.
>>
>> Can someone from the dev team please comment on whether and how it is
>> possible to monitor client IP address for incoming requests to
>> Glassfish server.
> I believe you want access logging?
>
> http://docs.oracle.com/cd/E18930_01/html/821-2431/abeet.html#abefk
>>
>>
>> On 12/05/2011 05:13 PM, Farrukh Najmi wrote:
>>>
>>> I am wondering how to use the GF 3.1 Admin Console to get a log of
>>> all incoming requests including the Client IP address.
>>> I tried looking it up here but did not have any luck:
>>>
>>> http://docs.oracle.com/cd/E18930_01/html/821-2416/ablur.html#scrolltoc
>>>
>>> Also, is there a way to log the entire request to REST and SOAP
>>> endpoints deployed as servlets in the web container.
>>>
>>> Thanks for pointing me to the right docs.
>>>
>>
>>
>


-- 
Regards,
Farrukh Najmi
Web: http://www.wellfleetsoftware.com