Re: Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive

2011-09-30 Thread Rainer Jung
On 29.09.2011 22:49, rapponcape wrote: Aha, the client is using HTTP 1.0 and not 1.1. This could be one reason for Tomcat closing the connection. See below. When I reconfigure and put Apache in front of Tomcat and use a jkmount with AJP connector, response is normal and without error.

Re: Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive

2011-09-30 Thread André Warnier
Rainer Jung wrote: On 29.09.2011 22:49, rapponcape wrote: Aha, the client is using HTTP 1.0 and not 1.1. This could be one reason for Tomcat closing the connection. See below. When I reconfigure and put Apache in front of Tomcat and use a jkmount with AJP connector, response is normal and

Re: Logging properties of attributes in the HttpSession

2011-09-30 Thread Richard Sayre
I'm still having some trouble. I added the Spring filter and then in my web app I called: getRequest().getRemoteUser() and getRequest().getUserPrincipal().getName() Both methods returned the logged in user name. (getRequest() returns the HttpServletRequest) However, in the logs %u is still

Re: catalina_pid file contains +1 pid number instead of correct pid

2011-09-30 Thread Raghu GS
If upgrading tomcat in our setup is that easy, i wouldn't have asked for help here. We are running tomcat in production server with large customer base. We don't want to do radical changes to fix one problem. Pid * wrote: On 29/09/2011 06:30, Raghu GS wrote: Konstantin Kolinko wrote:

Re: catalina_pid file contains +1 pid number instead of correct pid

2011-09-30 Thread Raghu GS
Thanks for showing your interest in helping me resolve the issue. Do you want me to post bash/shell output or catalina.out file's output? Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raghu, On 9/29/2011 1:30 AM, Raghu GS wrote: I have recently enabled

Re: [OT] Regarding missing requst parameter infos in RequestFacade

2011-09-30 Thread Sharun superstar
Hi Christopher, Thanks for the reply. I still have confusion it may be related to tomcat based on the scenario that even RequestFacade doesnt have request parameter values but has sessionid, querystring, hostname etc My request is processed as doGet, and all the process go smooth

Re: Logging properties of attributes in the HttpSession

2011-09-30 Thread Pid *
The changes from the Spring security filter can't be seen by the access log valve. p On 30 Sep 2011, at 12:40, Richard Sayre richardsa...@gmail.com wrote: I'm still having some trouble. I added the Spring filter and then in my web app I called: getRequest().getRemoteUser() and

Re: Logging properties of attributes in the HttpSession

2011-09-30 Thread André Warnier
Pid * wrote: The changes from the Spring security filter can't be seen by the access log valve. And is the why? left as an exercise to the reader ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Logging properties of attributes in the HttpSession

2011-09-30 Thread Konstantin Kolinko
2011/9/30 André Warnier a...@ice-sa.com: Pid * wrote: The changes from the Spring security filter can't be seen by the access log valve. And is the why? left as an exercise to the reader ? Because logging happens after request processing is completed, and a filter affects only what happens

Re: Apache Tomcat 5.5.34 Question (UNCLASSIFIED)

2011-09-30 Thread Mark H. Wood
Consider something like: $ openssl rand -base64 32 DJaLgg+fcT8ygQVCd1uKcpLAuxGPmEWhv7j+aorobVs= if you want help coming up with reasonably hard-to-guess secrets. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether markets are efficient is like asking whether people are

Absolute path in webApp attribute

2011-09-30 Thread Guy Yafe
Hi All, Does anyone know how to set an absolute path to the webApp attribute in a Host? Something like c:\ I can't figure out how to do it. Tried with /, tried with \ and nothing worked. I am using tomcat 7.0 on Windows XP platform. Thanks -- View this message in context:

Re: Absolute path in webApp attribute

2011-09-30 Thread Konstantin Kolinko
2011/9/30 Guy Yafe g...@site-building.co.il: Hi All, Does anyone know how to set an absolute path to the webApp attribute in a Host? Something like c:\ I can't figure out how to do it. Tried with /, tried with \ and nothing worked. I am using tomcat 7.0 on Windows XP platform. There

Re: Absolute path in webApp attribute

2011-09-30 Thread André Warnier
Guy Yafe wrote: Hi All, Does anyone know how to set an absolute path to the webApp attribute in a Host? Something like c:\ I can't figure out how to do it. Tried with /, tried with \ and nothing worked. I am using tomcat 7.0 on Windows XP platform. Maybe because the correct attribute is

Re: [OT] Logging properties of attributes in the HttpSession

2011-09-30 Thread André Warnier
Konstantin Kolinko wrote: 2011/9/30 André Warnier a...@ice-sa.com: Pid * wrote: The changes from the Spring security filter can't be seen by the access log valve. And is the why? left as an exercise to the reader ? Because logging happens after request processing is completed, and a

Re: Absolute path in webApp attribute

2011-09-30 Thread Guy Yafe
Of course. It was a typo. I meant appBase Konstantin Kolinko wrote: 2011/9/30 Guy Yafe g...@site-building.co.il: Hi All, Does anyone know how to set an absolute path to the webApp attribute in a Host? Something like c:\ I can't figure out how to do it. Tried with /, tried with \

Re: Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive

2011-09-30 Thread rapponcape
On Fri, Sep 30, 2011 at 4:51 AM, André Warnier a...@ice-sa.com wrote: Rainer Jung wrote: On 29.09.2011 22:49, rapponcape wrote: Aha, the client is using HTTP 1.0 and not 1.1. This could be one reason for Tomcat closing the connection. See below. When I reconfigure and put Apache in front

Re: Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive

2011-09-30 Thread André Warnier
rapponcape wrote: On Fri, Sep 30, 2011 at 4:51 AM, André Warnier a...@ice-sa.com wrote: Rainer Jung wrote: On 29.09.2011 22:49, rapponcape wrote: Aha, the client is using HTTP 1.0 and not 1.1. This could be one reason for Tomcat closing the connection. See below. When I reconfigure and put

Re: Should Form Authentication Valve restore request body on a PUT?

2011-09-30 Thread Nicholas Sushkin
I can go into more details, if you wish, but basically I am using Forgerock OpenAM, which is a single signon/access manager product which has its own valve that hooks into the application's login URLs defined in form authentication, returns a login form with prepopulated username and password

Re: Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive

2011-09-30 Thread rapponcape
On Fri, Sep 30, 2011 at 11:34 AM, André Warnier a...@ice-sa.com wrote: rapponcape wrote: On Fri, Sep 30, 2011 at 4:51 AM, André Warnier a...@ice-sa.com wrote: Rainer Jung wrote: On 29.09.2011 22:49, rapponcape wrote: Aha, the client is using HTTP 1.0 and not 1.1. This could be one reason

RE: Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive

2011-09-30 Thread Caldarale, Charles R
From: rapponcape [mailto:rapponc...@gmail.com] Subject: Re: Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive It appears that I'll have to go back to using Apache Note that Tomcat is also Apache. to proxy these requests to get keep-alive behavior to function with these clients.

Re: Should Form Authentication Valve restore request body on a PUT?

2011-09-30 Thread Mark Thomas
On 30/09/2011 12:20, Nicholas Sushkin wrote: I can go into more details, if you wish, but basically I am using Forgerock OpenAM, which is a single signon/access manager product which has its own valve that hooks into the application's login URLs defined in form authentication, returns a login

Re: Apache Tomcat 5.5.34 Question (UNCLASSIFIED)

2011-09-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/29/2011 5:59 PM, André Warnier wrote: Addendum : And then we're gonna make sure that the configuration files of Tomcat are given appropriate permissions so that only Tomcat and authorized users can browse said secret. End of addendum.

Re: catalina_pid file contains +1 pid number instead of correct pid

2011-09-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raghu, On 9/30/2011 8:26 AM, Raghu GS wrote: Thanks for showing your interest in helping me resolve the issue. Do you want me to post bash/shell output or catalina.out file's output? If you had just posted both of them, you might have an answer

Re: Logging properties of attributes in the HttpSession

2011-09-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 9/30/2011 9:27 AM, Konstantin Kolinko wrote: 2011/9/30 André Warnier a...@ice-sa.com: Pid * wrote: The changes from the Spring security filter can't be seen by the access log valve. And is the why? left as an exercise to the

Re: problem configuring tomcat7 in ubuntu 10.04

2011-09-30 Thread Mark Eggers
- Original Message - From: Hassan Schroeder hassan.schroe...@gmail.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Thursday, September 29, 2011 1:34 PM Subject: Re: problem configuring tomcat7 in ubuntu 10.04 On Thu, Sep 29, 2011 at 1:26 PM, Anisha Karki

Re: Logging properties of attributes in the HttpSession

2011-09-30 Thread Konstantin Kolinko
2011/9/30 Christopher Schultz ch...@christopherschultz.net: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 9/30/2011 9:27 AM, Konstantin Kolinko wrote: 2011/9/30 André Warnier a...@ice-sa.com: Pid * wrote: The changes from the Spring security filter can't be seen by the

WebApps sharing uploaded files

2011-09-30 Thread Léa Massiot
Hello, Thank you for reading my post. o I have two WebApps w1 and w2 (under the Tomcat webapps directory). o Both w1 and w2 contain (at least) a JSP which allows to upload files to the server. o Presently, the uploaded files are stored: - in the w1\uf1\ directory for w1, - in the w2\uf2\

Re: problem configuring tomcat7 in ubuntu 10.04

2011-09-30 Thread Anisha Karki
Thanks Mark. I had previously installed tomcat6. I unistalled it using command: sudo apt-get remove --purge tomcat6. But still when i browse: http://localhost:8080/ it displays tomcat 6 welcome page. I installed tomcat 7 as you explained but tomcat6 welcome page displays. Why is it so ? Regards,

Re: problem configuring tomcat7 in ubuntu 10.04

2011-09-30 Thread Mark Eggers
- Original Message - From: Anisha Karki karki.ani...@gmail.com To: Tomcat Users List users@tomcat.apache.org; Mark Eggers its_toas...@yahoo.com Cc: Sent: Friday, September 30, 2011 12:04 PM Subject: Re: problem configuring tomcat7 in ubuntu 10.04 T hanks Mark. I had previously

Re: Apache Tomcat 5.5.34 Question (UNCLASSIFIED)

2011-09-30 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/29/2011 5:59 PM, André Warnier wrote: Addendum : And then we're gonna make sure that the configuration files of Tomcat are given appropriate permissions so that only Tomcat and authorized users can browse

Re: WebApps sharing uploaded files

2011-09-30 Thread André Warnier
Léa Massiot wrote: Hello, Thank you for reading my post. o I have two WebApps w1 and w2 (under the Tomcat webapps directory). o Both w1 and w2 contain (at least) a JSP which allows to upload files to the server. o Presently, the uploaded files are stored: - in the w1\uf1\ directory for w1, -

Re: Should Form Authentication Valve restore request body on a PUT?

2011-09-30 Thread Nicholas Sushkin
Mark, Chris, thanks for the review. Should filing a bug be my next step, then? On Friday, September 30, 2011 13:10:55 Mark Thomas wrote: Basically my thinking is that you handle POST, shouldn't you also implement PUT the same way, to be consistent? I'd have no objection so the proposed

Re: Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive

2011-09-30 Thread André Warnier
Caldarale, Charles R wrote: From: rapponcape [mailto:rapponc...@gmail.com] Subject: Re: Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive It appears that I'll have to go back to using Apache Note that Tomcat is also Apache. to proxy these requests to get keep-alive behavior to