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
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
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
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,
-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
Hi Raghu,
My guess is that you have changed the logging to use cronolog 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 21
Hi Cooper Man
You are a genius.
you have perfectly guessed our setup and problem.
And I am very happy about finding the root cause finally.
Is there any solution for this problem?
Cooper man wrote:
Hi Raghu,
My guess is that you have changed the logging to use cronolog and as such
the
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:
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
-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
On 29/09/2011 06:30, Raghu GS wrote:
Konstantin Kolinko wrote:
2011/9/27 Raghu GS raghu...@i10n.com:
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 issues in changelog.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Raghu,
On 9/29/2011 1:30 AM, Raghu GS wrote:
I have recently enabled catalina_pid functionality using
environment variable. The PID file got created and contains +1
PID number.
So, when you look at the PID file you get, say 1235 but when you run
Konstantin Kolinko wrote:
2011/9/27 Raghu GS raghu...@i10n.com:
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 issues in changelog.
I have recently enabled
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
2011/9/27 Raghu GS raghu...@i10n.com:
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 issues in changelog.
I have recently enabled catalina_pid functionality using environment
15 matches
Mail list logo