getRemoteHost return IP address

2004-07-09 Thread Michael Tang
I am using Tomcat 4.0.6 and our customer ran into a weird and hard-to-reproduce problem. From the log, we see within one servlet, HttpServletRequest.getRemoteHost return host name (enableLookups=true in server.xml). However, during the running, one HttpProcessor thread suddenly switch to

Re: getRemoteHost return IP address

2004-07-09 Thread QM
On Fri, Jul 09, 2004 at 06:49:51PM +, Michael Tang wrote: : I am using Tomcat 4.0.6 and our customer ran into a weird and : hard-to-reproduce problem. From the log, we see within one servlet, : HttpServletRequest.getRemoteHost return host name (enableLookups=true in : server.xml). However,

Re: getRemoteHost return IP address

2004-07-09 Thread Michael Tang
that trigger the call to return IP address afterwards. -Michael From: QM [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: getRemoteHost return IP address Date: Fri, 9 Jul 2004 17:59:17 -0500 On Fri, Jul 09, 2004 at 06:49:51PM +, Michael