tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39621] New: - Strange result in getRemoteAddr() and Access Logs using APR
Date Sat, 20 May 2006 15:27:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39621>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39621

           Summary: Strange result in getRemoteAddr() and Access Logs using
                    APR
           Product: Tomcat 5
           Version: 5.5.17
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:Integration
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: regis@credishop.com.br


We have Tomcat in many hosts. Only in one of our hosts when we use APR the
result of getRemoteAddr() and Access Log look very strange:

1042:0:e0fb:2f48::
Sat May 20 12:09:34 BRT 2006

Sometimes accessing from the same host the getRemoteAddr() result changes:
642:0:e00b:2147::
Sat May 20 12:22:45 BRT 2006

Source ip.jsp:
<html>
<%= request.getRemoteAddr() %><br>
<%= new java.util.Date() %>
</html>

Access Log Example:
1042:0:e0fb:2f48:: - - [20/May/2006:12:21:37 -0300] "GET /client/ip.jsp
HTTP/1.1" 200 67 "-" "Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.7.13)
Gecko/20060418 Firefox/1.0.8 (Ubuntu package 1.0.8)"
1042:0:e0fb:2f48:: - - [20/May/2006:12:21:37 -0300] "GET /favicon.ico HTTP/1.1"
404 988 "-" "Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.7.13) Gecko/20060418
Firefox/1.0.8 (Ubuntu package 1.0.8)"

SO info (uname -a):
Linux servimg 2.4.18-14smp #1 SMP Wed Sep 4 12:34:47 EDT 2002 i686 i686 i386
GNU/Linux

When APR is not used, everything is OK.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message