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.
