AW: AW: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-14 Thread Clemens Wyss DEV
Clemens -Ursprüngliche Nachricht- Von: Christopher Schultz [mailto:ch...@christopherschultz.net] Gesendet: Donnerstag, 13. März 2014 16:00 An: Tomcat Users List Betreff: Re: AW: AW: request.getRemoteAddr() sometimes returning IP address from the previous request -BEGIN PGP SIGNED MESSAGE

Re: AW: AW: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Clemens, On 3/14/14, 3:33 AM, Clemens Wyss DEV wrote: If you are starting a new thread to generate a PDF yes we do but blocking the request-processing thread waiting for it to complete no we don't Okay, so this is your error handler

AW: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-13 Thread Clemens Wyss DEV
Dear Christopher, But you also don't know what you are doing If you don't help us again I appreciate your help and you definitely know more about tomcat than I do. IMHO, I do help and I try to focus on what is relevant. It doesn't make sense to put our million lines-of-code and log entries

Re: AW: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Clemens, On 3/13/14, 3:24 AM, Clemens Wyss DEV wrote: Dear Christopher, But you also don't know what you are doing If you don't help us again I appreciate your help and you definitely know more about tomcat than I do. IMHO, I do help and I

AW: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-12 Thread Clemens Wyss DEV
...@christopherschultz.net] Gesendet: Dienstag, 11. März 2014 19:47 An: Tomcat Users List Betreff: Re: AW: request.getRemoteAddr() sometimes returning IP address from the previous request -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Clemens, On 3/11/14, 11:23 AM, Clemens Wyss DEV wrote: First of all: thanks

AW: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-12 Thread Clemens Wyss DEV
(The reuse can be disabled via a system property, see RECYCLE_FACADES. I usually do so, for better security) Would I need to compile my own tomcat? No, just set the system property as per the docs. What ist he (performance) impact of setting this property to true?

Re: AW: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-12 Thread Mark Thomas
On 12/03/2014 08:38, Clemens Wyss DEV wrote: (The reuse can be disabled via a system property, see RECYCLE_FACADES. I usually do so, for better security) Would I need to compile my own tomcat? No, just set the system property as per the docs. What ist he (performance) impact of setting

Re: AW: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-12 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/03/2014 06:19, Clemens Wyss DEV wrote: VelocityViewServlet or VelocityLayoutServlet? None of these in use I give my szenario another try ;) [HTTP REQUEST 1] enters [HTTP REQUEST 1] starts writing to the response.writer - at a certain

Re: AW: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 3/12/14, 8:34 AM, Mark Thomas wrote: On 12/03/2014 08:38, Clemens Wyss DEV wrote: (The reuse can be disabled via a system property, see RECYCLE_FACADES. I usually do so, for better security) Would I need to compile my own tomcat?

AW: AW: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-12 Thread Clemens Wyss DEV
(access.log tells us that this is the IP of the/a previous request) -Ursprüngliche Nachricht- Von: Mark Thomas [mailto:ma...@apache.org] Gesendet: Mittwoch, 12. März 2014 13:38 An: Tomcat Users List Betreff: Re: AW: AW: request.getRemoteAddr() sometimes returning IP address from

Re: AW: AW: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Clemens, On 3/12/14, 11:34 AM, Clemens Wyss DEV wrote: Do you have any proof of this or is this just guess work? No guessing. Am taking into account apache's access-log and our application logging. We log the IP (i.e. request#getRemoteAddress)

AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-12 Thread Clemens Wyss DEV
the monitoring request (from the bot) Hope this helps -Ursprüngliche Nachricht- Von: Christopher Schultz [mailto:ch...@christopherschultz.net] Gesendet: Mittwoch, 12. März 2014 17:41 An: Tomcat Users List Betreff: Re: AW: AW: AW: request.getRemoteAddr() sometimes returning IP address from

Re: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Clemens, On 3/12/14, 1:34 PM, Clemens Wyss DEV wrote: By all means, post the relevant portion of the log file. I don't think this is of big help here. But you also don't know what you are doing. If you don't help us, we can't help you. Tomcat

request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-11 Thread Clemens Wyss DEV
Hi all, we are still facing this issue here https://issues.apache.org/bugzilla/show_bug.cgi as Mark Thomas points out https://issues.apache.org/bugzilla/show_bug.cgi?id=51872#c16 the bug is fixed. Trying to find out what we are doing wrong I have the following questions: 1) as soon as a response

Re: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-11 Thread Konstantin Kolinko
2014-03-11 18:16 GMT+04:00 Clemens Wyss DEV clemens...@mysign.ch: Hi all, we are still facing this issue here https://issues.apache.org/bugzilla/show_bug.cgi as Mark Thomas points out https://issues.apache.org/bugzilla/show_bug.cgi?id=51872#c16 the bug is fixed. Tomcat version = ? Trying

Re: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-11 Thread Mark Thomas
On 11/03/2014 14:16, Clemens Wyss DEV wrote: Hi all, we are still facing this issue here https://issues.apache.org/bugzilla/show_bug.cgi as Mark Thomas points out https://issues.apache.org/bugzilla/show_bug.cgi?id=51872#c16 the bug is fixed. Trying to find out what we are doing wrong I

AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-11 Thread Clemens Wyss DEV
: Mark Thomas [mailto:ma...@apache.org] Gesendet: Dienstag, 11. März 2014 15:34 An: Tomcat Users List Betreff: Re: request.getRemoteAddr() sometimes returning IP address from the previous request On 11/03/2014 14:16, Clemens Wyss DEV wrote: Hi all, we are still facing this issue here https

Re: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-11 Thread Mark Thomas
Nachricht- Von: Mark Thomas [mailto:ma...@apache.org] Gesendet: Dienstag, 11. März 2014 15:34 An: Tomcat Users List Betreff: Re: request.getRemoteAddr() sometimes returning IP address from the previous request On 11/03/2014 14:16, Clemens Wyss DEV wrote: Hi all, we are still facing

Re: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Clemens, On 3/11/14, 11:23 AM, Clemens Wyss DEV wrote: First of all: thanks for the quick replies! I appreciate very much. It would help if you told us which Tomcat version you were using. Tomcat 7.0.52, i.e. latest greatest (The reuse