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

2011-10-28 Thread Raghu GS
ame or soehting similar as a jave env variable and then > > if [ ! -z "$CATALINA_PID" ]; then > ps aux | grep tomcat | grep application.name=YOUR_APP_NAME | head > -n 1 | awk '{ print $2 }' > $CATALINA_PID > fi > > > > >

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

2011-10-27 Thread Raghu GS
and as such > the PID being written is actually the logging process and not the catalina > process. Check your catalina.sh file > If you see something like this > > org.apache.catalina.startup.Bootstrap "$@" start 2>&1 |/usr/bin/cronolog > "$CATALINA_BASE&qu

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 w

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: >>

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

2011-09-28 Thread Raghu GS
Konstantin Kolinko wrote: > > 2011/9/27 Raghu GS : >> >> Hello Everybody >> >> We are using Tomcat 6.20 in CentOS 5.3 server. > > 6.0.20 ?? > > You should read > http://tomcat.apache.org/security-6.html > > as well as all the fixed

catalina_pid file contains +1 pid number instead of correct pid

2011-09-27 Thread Raghu GS
Hello Everybody We are using Tomcat 6.20 in CentOS 5.3 server. I have recently enabled catalina_pid functionality using environment variable. The PID file got created and contains +1 PID number. If the Tomcat's real PID number 5446, the pid file would contain 5447 as PID number. Please help me t

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-14 Thread raghu gs
treme of writing a play java program and running it with strace and > then I saw that it opened the clock file... > Good luck, > -Tim > > > raghu gs wrote: > >> Tomcat is not running under a security manager. >> So that policy entry may need to be exists, i understood

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-14 Thread raghu gs
PM, George Sexton wrote: > > > > -Original Message----- > > From: raghu gs [mailto:iamra...@gmail.com] > > Sent: Monday, October 12, 2009 5:18 AM > > To: Tomcat Users List > > Subject: Re: Tomcat 6.0.20 always works in GMT timezone even after > >

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-12 Thread raghu gs
standing between our developers, Nobody said that kernel tomcat mismatch might be the cause of the problem. TZData is also up-to-date. Regards On Mon, Oct 12, 2009 at 11:20 AM, raghu gs wrote: > Yeah, we have couple of other servers running the same codebase. > We don't experience

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-11 Thread raghu gs
ra.com> wrote: > 2009/10/12 raghu gs : > > But our engineers where is that this a Kernal and Tomcat issue. > > Is there possibilty for that? > > There are a large number of people using Tomcat who don't see this > issue and are in non-GMT timezones - including a

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-11 Thread raghu gs
t done a full code search yet in other web apps. But our engineers where is that this a Kernal and Tomcat issue. Is there possibilty for that? Regards On Sun, Oct 11, 2009 at 3:54 PM, Konstantin Kolinko wrote: > 2009/10/11 raghu gs : > > > > One vital information i forgot to pro

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-11 Thread raghu gs
ezone is correct till "Tomcat server startup in Ns" message. Regards On Sat, Oct 10, 2009 at 6:52 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Raghu, > > On 10/10/2009 4:04 AM, raghu gs wrot

Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-10 Thread raghu gs
Hello Everybody I have installed Tomcat 6.0.20 using binary tarball in JDK 1.6.0.16 running CentOS 5,3 x64 Server. We have tried the following methods to force tomcat to use the Asia/Calcutta as timezone. 1) Created an environment variable called TZ and assigned it correct timezone. Output of ec