Yes, I have followed Romain advise and now I use the WebFilter with getRemoteAddr() from HttpServletRequest and it should be AS-independent.
On Wed, Sep 26, 2012 at 2:09 AM, zeeman <[email protected]> wrote: > That's not a good way to get IP, you're depending on app server. You should > get the IP from HTTP request. Check out httpServletRequest java doc. > HttpServletRequest request = //get from container > request.getRemoteAddr(); //ip string > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Client-IP-address-from-Thread-tp4657525p4657648.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
