Re: Tomcat Shutting Down by Itself?

2010-07-28 Thread Rainer Jung
On 28.07.2010 01:01, Robinson, Eric wrote: 2) Use System.getRuntime().addShutdownHook() to trigger your own thread when the JVM does decide to exit. Assuming the OP does not have easy access to the running application, would that mean adding another application which is launched at Tomcat

RE: Tomcat Shutting Down by Itself?

2010-07-28 Thread Robinson, Eric
So we definitely know the process is gone and not that it is only no longer responding? I'm not 100% certain. I did... netstat -an|grep :3057|grep LISTEN ..and nothing came back. From that we at least know that the process was no longer listening on its assigned port. Then I

Re: Tomcat Shutting Down by Itself?

2010-07-28 Thread jehan4324
try to change shutdown port in the server.xml -- View this message in context: http://old.nabble.com/Tomcat-Shutting-Down-by-Itself--tp29249881p29293203.html Sent from the Tomcat - User mailing list archive at Nabble.com. -

Re: Tomcat Shutting Down by Itself?

2010-07-27 Thread André Warnier
Robinson, Eric wrote: What kind of machine are you running these 163/164 instances of Tomcat on, and when you are running them, what /does/ free say ? I have two different servers with 164 instances of tomcat. Both servers have 2x quad-core 2.8Ghz Xeon processors with 32GB RAM. On the first

RE: Tomcat Shutting Down by Itself?

2010-07-27 Thread Robinson, Eric
Intuitively, I would have never thought that it was /possible/ to run 160 or so instances of Tomcat on anything but some type of very expensive hardware. I assure you that it works admirably! And each of the instances runs a sophisticated medical application with hundreds of JSPs and class

Re: Tomcat Shutting Down by Itself?

2010-07-27 Thread André Warnier
Robinson, Eric wrote: Intuitively, I would have never thought that it was /possible/ to run 160 or so instances of Tomcat on anything but some type of very expensive hardware. I assure you that it works admirably! And each of the instances runs a sophisticated medical application with

RE: Tomcat Shutting Down by Itself?

2010-07-27 Thread Robinson, Eric
364600 491072 java5101 --Here's the occasional bad boy 604780 746120 java 31131 --Here's the occasional bad boy. Those sizes appear to be in Kbyte, so we are talking in one case of a process with a resident size of 360 MB, in the other of 600 MB.I guess thus, that

RE: Tomcat Shutting Down by Itself?

2010-07-27 Thread Robinson, Eric
Yes. Each instance serves a different set of users in a local office somewhere. By that I mean each pair of load-balanced instances serves a set of users in a local office somewhere. -- Disclaimer - July 27, 2010 This email and any files transmitted with it are confidential and intended

Re: Tomcat Shutting Down by Itself?

2010-07-27 Thread André Warnier
Robinson, Eric wrote: Yes. Each instance serves a different set of users in a local office somewhere. By that I mean each pair of load-balanced instances serves a set of users in a local office somewhere. Then my suspicions would be as follows : this particular set of users of this complex

Re: Tomcat Shutting Down by Itself?

2010-07-27 Thread André Warnier
André Warnier wrote: Robinson, Eric wrote: Yes. Each instance serves a different set of users in a local office somewhere. By that I mean each pair of load-balanced instances serves a set of users in a local office somewhere. Then my suspicions would be as follows : this particular set of

RE: Tomcat Shutting Down by Itself?

2010-07-27 Thread Robinson, Eric
this particular set of users of this complex application, uses a particular functionality of the application, used by no other set of users, and that particular functionality contains (or triggers) a bug that blows away the server. That seems like the reasonable conclusion. The next

Re: Tomcat Shutting Down by Itself?

2010-07-27 Thread Mark Thomas
On 27/07/2010 21:20, Robinson, Eric wrote: this particular set of users of this complex application, uses a particular functionality of the application, used by no other set of users, and that particular functionality contains (or triggers) a bug that blows away the server. That seems

Re: Tomcat Shutting Down by Itself?

2010-07-27 Thread André Warnier
Mark Thomas wrote: On 27/07/2010 21:20, Robinson, Eric wrote: this particular set of users of this complex application, uses a particular functionality of the application, used by no other set of users, and that particular functionality contains (or triggers) a bug that blows away the server.

RE: Tomcat Shutting Down by Itself?

2010-07-27 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Tomcat Shutting Down by Itself? Would there be any specific way to catch a call to system.exit() ? 1) Enable a SecurityManager (usually a major pain). 2) Use System.getRuntime().addShutdownHook() to trigger your own thread when

Re: Tomcat Shutting Down by Itself?

2010-07-27 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Tomcat Shutting Down by Itself? Would there be any specific way to catch a call to system.exit() ? 1) Enable a SecurityManager (usually a major pain). Because you would need to authorise everything else

RE: Tomcat Shutting Down by Itself?

2010-07-27 Thread Robinson, Eric
2) Use System.getRuntime().addShutdownHook() to trigger your own thread when the JVM does decide to exit. Assuming the OP does not have easy access to the running application, would that mean adding another application which is launched at Tomcat start, and runs the above ? Or do you

RE: Tomcat Shutting Down by Itself?

2010-07-27 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Tomcat Shutting Down by Itself? 1) Enable a SecurityManager (usually a major pain). Because you would need to authorise everything else that this application /might/ be doing, except system.exit(), right ? Correct. Getting

RE: Tomcat Shutting Down by Itself?

2010-07-26 Thread Robinson, Eric
What I was trying to say above, in a devious but humoristic way, is that there are not a lot of people on this list running those versions anymore. Fair enough. I realize it's old, but it still works great for 163 of the 164 instances on this server. However, an upgrade is coming soon and

Re: Tomcat Shutting Down by Itself?

2010-07-26 Thread André Warnier
Robinson, Eric wrote: What I was trying to say above, in a devious but humoristic way, is that there are not a lot of people on this list running those versions anymore. Fair enough. I realize it's old, but it still works great for 163 of the 164 instances on this server. However, an

RE: Tomcat Shutting Down by Itself?

2010-07-26 Thread Robinson, Eric
What kind of machine are you running these 163/164 instances of Tomcat on, and when you are running them, what /does/ free say ? I have two different servers with 164 instances of tomcat. Both servers have 2x quad-core 2.8Ghz Xeon processors with 32GB RAM. On the first server (app03), most

RE: Tomcat Shutting Down by Itself?

2010-07-23 Thread Caldarale, Charles R
From: Robinson, Eric [mailto:eric.robin...@psmnv.com] Subject: Tomcat Shutting Down by Itself? We've observed tomcat5 Tomcat 5.x.y what? Be specific. Also tell us the JVM you're using and the platform you're running on. shutting down seemingly by itself recently. This morning I saw

Re: Tomcat Shutting Down by Itself?

2010-07-23 Thread Rainer Jung
On 23.07.2010 19:43, Robinson, Eric wrote: We've observed tomcat5 shutting down seemingly by itself recently. This morning I saw this in the log: - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down. Any way to tell why tomcat is shutting down? Maybe something from this recent

RE: Tomcat Shutting Down by Itself?

2010-07-23 Thread Robinson, Eric
Tomcat 5.x.y what? Be specific. Also tell us the JVM you're using and the platform you're running on. Apache Tomcat/5.0.28 Java 1.4.2_09-b05 Sun Microsystems Inc. Linux 2.6.18-92.1.22.el5PAE i386 If one of your webapps is doing something antisocial such as calling System.exit(), that

RE: Tomcat Shutting Down by Itself?

2010-07-23 Thread Robinson, Eric
Maybe something from this recent discussion applies: http://marc.info/?t=12767355721r=1w=2 Good thread, thanks. Unfortunately, the situations it describes don't apply in this case. -- Eric Robinson Disclaimer - July 23, 2010 This email and any files transmitted with it are confidential

Re: Tomcat Shutting Down by Itself?

2010-07-23 Thread André Warnier
Robinson, Eric wrote: Tomcat 5.x.y what? Be specific. Also tell us the JVM you're using and the platform you're running on. Apache Tomcat/5.0.28 Java 1.4.2_09-b05 Sun Microsystems Inc. Linux 2.6.18-92.1.22.el5PAE i386 Gentlemen, I think we need a minute of silence here, and a golden

RE: Tomcat Shutting Down by Itself?

2010-07-23 Thread Robinson, Eric
This Tomcat and Java are just trying to say, in the only way they can, that after some 10 years of good and hard labor, it is now time to retire them and have the burden taken over by a new generation. Yes, that's probably it. One of the... [r...@app03 ~]# ps ax|grep java|wc -l 164

Re: Tomcat Shutting Down by Itself?

2010-07-23 Thread André Warnier
Robinson, Eric wrote: This Tomcat and Java are just trying to say, in the only way they can, that after some 10 years of good and hard labor, it is now time to retire them and have the burden taken over by a new generation. Yes, that's probably it. One of the... [r...@app03 ~]# ps ax|grep