Re: context.xml not being read

2011-10-28 Thread Pid *
On 28 Oct 2011, at 02:07, jilen jilen.zh...@gmail.com wrote: On 10/28/2011 06:45 AM, Rajkumar Singh wrote: Hi Chuck, Once again appreciate your response. What I did was I created a WAR file and dropped it under the tomcat webapps folder and started it. This helped in overcoming my problem.

Re: cannot read complete HTTP request body. It reads only 8192 characters

2011-10-28 Thread Konstantin Kolinko
2011/10/27 Christopher Schultz ch...@christopherschultz.net: On 10/27/2011 4:58 AM, Anantaneni Harish wrote: Thanks for the directions the Rainer. Actually the issue is just solved. We have changed from BufferedReader in = request.getReader(); to BufferedReader in = new BufferedReader(new

Re: cannot read complete HTTP request body. It reads only 8192 characters

2011-10-28 Thread André Warnier
Konstantin Kolinko wrote: 2011/10/27 Christopher Schultz ch...@christopherschultz.net: On 10/27/2011 4:58 AM, Anantaneni Harish wrote: Thanks for the directions the Rainer. Actually the issue is just solved. We have changed from BufferedReader in = request.getReader(); to BufferedReader in

Adding SSL information into access log

2011-10-28 Thread Tapio Niemi
Hi, How do I configure Tomcat to put certain information related to SSL request into access log? In particular, I need to log the client certificate's O, OU, and CN fields, or if that's not possible, at least the serial number of the certificate. For example, in Apache httpd I can do:

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

2011-10-28 Thread Cooper man
No problem , glad I can be of help as it took me so long to figure it out too You need to change the block where the pid is assigned which should be just under the line I described if [ ! -z $CATALINA_PID ]; then fi And this is a bit of a hack but something like this will give you

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

2011-10-28 Thread Raghu GS
Thank you so much for coming up with a solution for this problem. I found a better hack for this problem here http://www.tomcatexpert.com/comment/reply/249/220 Cooper man wrote: No problem , glad I can be of help as it took me so long to figure it out too You need to change the block

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

2011-10-28 Thread Cooper man
The danger with that is if you have multiple jvms running on one machine as we do, you will get a list of ids Raghu GS wrote: Thank you so much for coming up with a solution for this problem. I found a better hack for this problem here http://www.tomcatexpert.com/comment/reply/249/220

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

2011-10-28 Thread Konstantin Kolinko
Maybe you can get somewhere looking at the parent process ID (PPID) column in ps output and knowing the PID of cronolog process. Best regards, Konstantin Kolinko 2011/10/28 Cooper man michael.coo...@spika.com: The danger with that is if you have multiple jvms running on one machine as we do,

Static files not being displayed

2011-10-28 Thread Rajkumar Singh
Hello guys, I am using tomcat version 6.0.29. The tomcat is deployed on the OS Linux. I created a war file named ROOT.war and dropped it under the tomcat webapps folder. The WAR consists of JSP, JAR, XML and static files like images, javascript and CSS. The tomcat expanded the WAR file

Re: Static files not being displayed

2011-10-28 Thread André Warnier
Rajkumar Singh wrote: Hello guys, I am using tomcat version 6.0.29. The tomcat is deployed on the OS Linux. I created a war file named ROOT.war and dropped it under the tomcat webapps folder. The WAR consists of JSP, JAR, XML and static files like images, javascript and CSS. The tomcat

Re: Static files not being displayed

2011-10-28 Thread Francis GALIEGUE
On Fri, Oct 28, 2011 at 21:08, André Warnier a...@ice-sa.com wrote: Rajkumar Singh wrote: Hello guys, I am using tomcat version 6.0.29. The tomcat is deployed on the OS Linux. I created a war file named ROOT.war and dropped it under the tomcat webapps folder. The WAR consists of JSP, JAR,

Re: Static files not being displayed

2011-10-28 Thread Rajkumar Singh
Hi Andre Please find the files as an attachment. Thanks Raj From: André Warnier a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org Date: 10/28/2011 03:10 PM Subject: Re: Static files not being displayed Rajkumar Singh wrote: Hello guys, I am using tomcat version 6.0.29.

Re: Static files not being displayed

2011-10-28 Thread André Warnier
Rajkumar Singh wrote: Hi Andre Please find the files as an attachment. You have to paste the content in the text of your message. The list strips most attachments. Thanks Raj From: André Warnier a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org Date: 10/28/2011 03:10 PM

RE: Static files not being displayed

2011-10-28 Thread Caldarale, Charles R
From: Rajkumar Singh [mailto:rajkumar.si...@digitas.com] Subject: Re: Static files not being displayed Please find the files as an attachment. The list strips attachments; paste the information inline. And the answers to the rest of André's questions? - Chuck THIS COMMUNICATION MAY

Re: Static files not being displayed

2011-10-28 Thread Rajkumar Singh
Oops, sorry, I am new to the list : server.xml starts Server port=8029 shutdown=SHUTDOWN GlobalNamingResources !-- Used by Manager webapp -- Resource name=UserDatabase auth=Container

Re: Static files not being displayed

2011-10-28 Thread André Warnier
Francis GALIEGUE wrote: On Fri, Oct 28, 2011 at 21:08, André Warnier a...@ice-sa.com wrote: Rajkumar Singh wrote: Hello guys, I am using tomcat version 6.0.29. The tomcat is deployed on the OS Linux. I created a war file named ROOT.war and dropped it under the tomcat webapps folder. The WAR

RE: Static files not being displayed

2011-10-28 Thread Rajkumar Singh
The tomcat was installed by one of our system administrator. I am not sure from where he got it from but most likely it is not from the third party. From: Caldarale, Charles R chuck.caldar...@unisys.com To: Tomcat Users List users@tomcat.apache.org Date: 10/28/2011 03:28 PM Subject: RE: Static

Re: Static files not being displayed

2011-10-28 Thread André Warnier
Rajkumar Singh wrote: Oops, sorry, I am new to the list : Let me nitpick a bit more then, by way of greeting : 2) you forgot to remove the comments. XML files are already pretty hard to read when wrapped by the email programs. Having a lot of not-used lines doesn't make it any easier. 1)

Re: Static files not being displayed

2011-10-28 Thread Rajkumar Singh
I am sure all the request are going to the tomcat server since firebug clearly shows the same domain name for the file that are retrieved and those that are not. From: André Warnier a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org Date: 10/28/2011 03:35 PM Subject: Re: Static

Re: Static files not being displayed

2011-10-28 Thread Francis GALIEGUE
On Fri, Oct 28, 2011 at 21:34, André Warnier a...@ice-sa.com wrote: [...] I'd say, first, configure an AccessLogValve and give the output of it. Tomcat definitely cannot find the requested files and there has to be a reason for it. There is certainly a reason, but we don't know yet if it is

RE: Static files not being displayed

2011-10-28 Thread Caldarale, Charles R
From: Rajkumar Singh [mailto:rajkumar.si...@digitas.com] Subject: Re: Static files not being displayed I am sure all the request are going to the tomcat server since firebug clearly shows the same domain name for the file that are retrieved and those that are not. That means almost

Re: Static files not being displayed

2011-10-28 Thread André Warnier
From: André Warnier a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org Date: 10/28/2011 03:35 PM Subject: Re: Static files not being displayed Francis GALIEGUE wrote: On Fri, Oct 28, 2011 at 21:08, André Warnier a...@ice-sa.com wrote: Rajkumar Singh wrote: Hello guys, I am

Re: Static files not being displayed

2011-10-28 Thread Rajkumar Singh
Hi Guys, Please ignore this. My system admin asked me to run some freakin SUDO command and that helped to retrieve all the images. I am sorry If I wasted your time but this email exchanged has helped to understand how to send XML files to the tomcat user group and most importantly it has

Re: Static files not being displayed

2011-10-28 Thread André Warnier
Ok, had a closer look at the application's web.xml, and I feel incompetent to help for that problem. There are a lot of filters there, and some dispatching going on, and I don't know a thing about Spring. I am now wondering if this issue would not better be asked on the Spring user's list.

Re: Static files not being displayed

2011-10-28 Thread Rajkumar Singh
From: André Warnier a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org Date: 10/28/2011 03:57 PM Subject: Re: Static files not being displayed Ok, had a closer look at the application's web.xml, and I feel incompetent to help for that problem. There are a lot of filters there, and

Re: Static files not being displayed

2011-10-28 Thread André Warnier
Rajkumar Singh wrote: Hi Guys, Please ignore this. My system admin asked me to run some freakin SUDO command and that helped to retrieve all the images. I am sorry If I wasted your time but this email exchanged has helped to understand how to send XML files to the tomcat user group .. but

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

2011-10-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 10/28/2011 8:43 AM, Cooper man wrote: And this is a bit of a hack but something like this will give you the correct pid. Set application.name or soehting similar as a jave env variable and then if [ ! -z $CATALINA_PID ]; then ps aux

Re: Adding SSL information into access log

2011-10-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tapio, On 10/28/2011 8:31 AM, Tapio Niemi wrote: How do I configure Tomcat to put certain information related to SSL request into access log? In particular, I need to log the client certificate's O, OU, and CN fields, or if that's not possible,

Re: context.xml not being read

2011-10-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jilen, On 10/27/2011 9:06 PM, jilen wrote: This is the question i've asked before in org.apache.catalina.startup.HostConfig.deployWAR(ContextName, File, String) i found some code like these context.setName(cn.getName());

Re: Rollback in Tomcat7 under parallel deployment

2011-10-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ellecer, On 10/27/2011 7:11 PM, Ellecer Valencia wrote: On Thursday, October 27, 2011, Mark Thomas ma...@apache.org wrote: A better way to handle the rollback scenario is to deploy a copy of ROOT##001.war as ROOT#003.war. That's the first

Re: Tomcat 6 7 Logging to rsyslog

2011-10-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 10/27/2011 7:58 PM, John Schwartzman wrote: Can anyone point me to documentation concerning logging of authentication information (login, logout, lockout) to a remote syslog in Tomcat 6 7? 1. Don't hijack threads. 2. Don't post twice.

Re: [OT] Static files not being displayed

2011-10-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/28/2011 4:02 PM, André Warnier wrote: Rajkumar Singh wrote: Thanks once again for replying to my mail. Have a nice weekend. And please support Patriots against the Steelers:) No political comments are allowed on the list. ;-) I

Re: [OT] Static files not being displayed

2011-10-28 Thread Francis GALIEGUE
On Fri, Oct 28, 2011 at 22:58, Christopher Schultz ch...@christopherschultz.net wrote: [...] For some reason, the US likes to spend most of it's money its ;) -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond

RE: [OT] Static files not being displayed

2011-10-28 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] Static files not being displayed For some reason, the US likes to spend most of it's money on sports that nobody in the rest of the world cares about. And vice versa. Some of us in the USA still follow test

Re: Rollback in Tomcat7 under parallel deployment

2011-10-28 Thread Mark Thomas
On 28/10/2011 21:53, Christopher Schultz wrote: Ellecer, On 10/27/2011 7:11 PM, Ellecer Valencia wrote: On Thursday, October 27, 2011, Mark Thomas ma...@apache.org wrote: A better way to handle the rollback scenario is to deploy a copy of ROOT##001.war as ROOT#003.war. That's the first