tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 58289] request.getRemoteAddr() sometimes returning IP address from the previous request
Date Thu, 27 Aug 2015 19:04:38 GMT

Mark Thomas <> changed:

           What    |Removed                     |Added
                 OS|                            |All

--- Comment #1 from Mark Thomas <> ---
(In reply to Tim Hunt from comment #0)

> We have been able to work-around this problem by setting
> org.apache.catalina.connector.RECYCLE_FACADES=true. With that setting the
> bug does not occur.

That indicates that this is an application bug. It looks like you have
something retaining a reference to a request and calling
request.getRemoteAddr() after the processing of the request has completed and
the request has been recycled.

With org.apache.catalina.connector.RECYCLE_FACADES=true I'd expect to see NPEs
at the point where the request is accessed illegally. Do you have any NPEs in
your logs? If not, might the application be swallowing them?

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message