DO NOT REPLY [Bug 5319] - AccessLogValve does not resolve hostname

2002-01-04 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5319.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5319

AccessLogValve does not resolve hostname

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2002-01-04 07:29 ---
*** Bug 5601 has been marked as a duplicate of this bug. ***

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 5319] - AccessLogValve does not resolve hostname

2001-12-24 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5319.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5319

AccessLogValve does not resolve hostname

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE



--- Additional Comments From [EMAIL PROTECTED]  2001-12-24 10:21 ---
This is working 4.0.2 beta1

*** This bug has been marked as a duplicate of 4180 ***

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 5319] - AccessLogValve does not resolve hostname

2001-12-12 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5319.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5319

AccessLogValve does not resolve hostname





--- Additional Comments From [EMAIL PROTECTED]  2001-12-12 12:20 ---
Even if your TOmcat configuration is set up correctly, you will still get IP
addresses instead of host names if your DNS environment is not set up correctly.
 Can you confirm that a stand-alone application can get a host name via
InetAddress.getByName() when running on the same computer that Tomcat runs on?

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 5319] - AccessLogValve does not resolve hostname

2001-12-12 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5319.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5319

AccessLogValve does not resolve hostname





--- Additional Comments From [EMAIL PROTECTED]  2001-12-12 12:38 ---
As I already noted in this bug, 
   InetAddress.getByName(request.getRemoteAddr()).getHostName()
works correctly in the servlet that is invoked.

therefore the DNS name is being retrieved by Java, but the AccessLogValve AND 
request.getRemoteHost() do not return the correct name.

I created my own access log(within my servlet) for my servlets under 3.2 and 
ported to 4.0. My log, which uses the above InetAddress.getByName(), gives the 
DNS name, but the AccessLogValve log always gives the ip address for the same 
request to my servlet.

I would like to use the AccessLogValve as I am sure it is 100 times more 
efficient than my log and it also logs non-servlet requests.

thanks,
Charlie

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 5319] - AccessLogValve does not resolve hostname

2001-12-10 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5319.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5319

AccessLogValve does not resolve hostname





--- Additional Comments From [EMAIL PROTECTED]  2001-12-10 12:42 ---
After looking through the source code and finding out that request.getRemoteHost
() also does not return the hostname, I found bug 4180 which may be the same 
problem. 

But as I'm not that familiar with the source, I would rather let an expert 
determine that :)

Charlie

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]