users@glassfish.java.net

Re: Get ip address of incoming requests

From: Ryan Lubke <ryan.lubke_at_oracle.com>
Date: Tue, 06 Dec 2011 09:42:27 -0800

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.
>>
>
>