Re: [Fwd: Catalina suspends for no reason?!?]

2004-02-24 Thread Sam Seaver
Hey Yoav, when you say 'sockets remain bound', do you mean the hexadecimal addresses? how should I check these sockets? Also, does anyone know a good CPU usage monitor for linux? Cheers S Shapira, Yoav wrote: Howdy, So do you have any idea whats going on? I don't have a good idea. It's

RE: [Fwd: Catalina suspends for no reason?!?]

2004-02-24 Thread Shapira, Yoav
Howdy, when you say 'sockets remain bound', do you mean the hexadecimal addresses? how should I check these sockets? I mean the network sockets: use the netstat command to see if tomcat is still listening on ports (8005, 8080 by default). Also, does anyone know a good CPU usage monitor for

Re: [Fwd: Catalina suspends for no reason?!?]

2004-02-23 Thread Sam Seaver
Well, Catalina did it again, suspended this weekend. But following Yoav's recommendation I ran './catalina.sh stop' and then did a 'kill -s SIGQUIT' on the JVM process and got this lovely long thread dump in my catalina.out. The only thread that makes any sense to me, because it refers to a

RE: [Fwd: Catalina suspends for no reason?!?]

2004-02-23 Thread Shapira, Yoav
Howdy, The only thread that makes any sense to me, because it refers to a bit of my own code, is thread number 15. I use my bean to download selected files from one of several ftp mirrors. Is it a daemon thread? If you could post just the few lines of each thread in your dump (no need for the

Re: [Fwd: Catalina suspends for no reason?!?]

2004-02-23 Thread Sam Seaver
By address I assume you mean the hexademical numbers in the square brackets on the first line of each? 15 is a daemon, I've posted a few lines from each: Thread-35 daemon prio=1 tid=0x08454c30 nid=0x38f7 waiting on condition [4f20a000..4f20c714] at

RE: [Fwd: Catalina suspends for no reason?!?]

2004-02-23 Thread Shapira, Yoav
Howdy, By address I assume you mean the hexademical numbers in the square brackets on the first line of each? Yes. 15 is a daemon, I've posted a few lines from each: Hmm, they're all daemons. How strange... Yoav Shapira This e-mail, including any attachments, is a confidential business

Re: [Fwd: Catalina suspends for no reason?!?]

2004-02-23 Thread Sam Seaver
So do you have any idea whats going on? S Shapira, Yoav wrote: Howdy, By address I assume you mean the hexademical numbers in the square brackets on the first line of each? Yes. 15 is a daemon, I've posted a few lines from each: Hmm, they're all daemons. How strange... Yoav

RE: [Fwd: Catalina suspends for no reason?!?]

2004-02-23 Thread Shapira, Yoav
Howdy, So do you have any idea whats going on? I don't have a good idea. It's strange they're all daemons. Does the CPU usage go way up when the JVM process is hung? Do the sockets remain bound? Yoav Shapira This e-mail, including any attachments, is a confidential business

Re: [Fwd: Catalina suspends for no reason?!?]

2004-02-09 Thread Sam Seaver
Hey, Catalina.sh shutdown connects to the shutdown port (8005 by default) and tells the server to shut down. Tomcat shuts down all its parts, and that includes destroying servlets, filters, listeners as mandated by the servlet specification. But tomcat does not call, for example, System.exit(),

RE: [Fwd: Catalina suspends for no reason?!?]

2004-02-09 Thread Shapira, Yoav
Howdy, So basically, I iknow this is off-topic for a tomcat-users page, but if I wanted to track down all the threads that are opened within the JVM at any one time, and the nature of the threads (ie Daemon etc.) and where they come from etc. can I do this? Sure. If you send a SIGQUIT to the

Re: [Fwd: Catalina suspends for no reason?!?]

2004-02-09 Thread Sam Seaver
Shapira, Yoav wrote: Howdy, So basically, I iknow this is off-topic for a tomcat-users page, but if I wanted to track down all the threads that are opened within the JVM at any one time, and the nature of the threads (ie Daemon etc.) and where they come from etc. can I do this?

RE: [Fwd: Catalina suspends for no reason?!?]

2004-02-09 Thread Shapira, Yoav
Howdy, My first problem is the definition of the JVM, i cant find it as a process in its own right, I can only find the process for catalina, sending a SIGQUIT to: /usr/local/j2sdk_nb/j2sdk1.4.2/bin/java -Djava.endorsed.dirs=/usr/local/tomcat/common/endorsed -classpath

Re: [Fwd: Catalina suspends for no reason?!?]

2004-02-09 Thread Sam Seaver
Howdy, My first problem is the definition of the JVM, i cant find it as a process in its own right, I can only find the process for catalina, sending a SIGQUIT to: /usr/local/j2sdk_nb/j2sdk1.4.2/bin/java -Djava.endorsed.dirs=/usr/local/tomcat/common/endorsed -classpath

RE: [Fwd: Catalina suspends for no reason?!?]

2004-02-09 Thread Shapira, Yoav
Howdy, If I shut down Catalina and the process persists, then can I assume that all the Catalina-associated threads have been shut down and what I'm looking at are the persistent threads? Yeah, plus the JVM root threads (main, Finalizer, Event) that cannot shut down before your threads do.

RE: [Fwd: Catalina suspends for no reason?!?]

2004-02-05 Thread Shapira, Yoav
Howdy, I was under the impression that the start script first checks for another Tomcat instance, and bails if it finds one. Is that not true? That's basically false. The startup code will try to bind to the ports specified in server.xml. If they're taken (by any program, tomcat or other),

Catalina suspends for no reason?!?

2004-02-04 Thread Sam Seaver
I have Catalina Tomcat 4.1.24 connected via jk2 to Httpd 2.0.47 on RH9. It seems every now and then, tomat just simply hangs. When I try to shutdown the Catalina process via catalina.sh, it doesnt remove the process?! So I have to 'kill -15' it, then start up catalina again. I get very little

[Fwd: Catalina suspends for no reason?!?]

2004-02-04 Thread Sam Seaver
the original process is still runnning. Has this happened to anyone else? Thanks Sam Seaver Original Message Subject:Catalina suspends for no reason?!? Date: Wed, 04 Feb 2004 10:38:16 -0600 From: Sam Seaver [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL

RE: [Fwd: Catalina suspends for no reason?!?]

2004-02-04 Thread Shapira, Yoav
Howdy, However, I have come to realise that on occaison, the 'stop' command does not work, and when I restart, I thereafter create two copies of the original tomcat. this should not be possible because the first tomcat should be using the same port, and thus blocking the restart, but somehow,

Re: [Fwd: Catalina suspends for no reason?!?]

2004-02-04 Thread Sam Seaver
Fantastic... but i dont quite get it, here's the command from catalina.sh: exec $_RUNJDB $JAVA_OPTS $CATALINA_OPTS \ -Djava.endorsed.dirs=$JAVA_ENDORSED_DIRS -classpath $CLASSPATH \ -sourcepath $CATALINA_HOME/../../jakarta-tomcat-4.0/catalina/src/share \ -Djava.security.manager \

RE: [Fwd: Catalina suspends for no reason?!?]

2004-02-04 Thread Shapira, Yoav
Howdy, so thought it's cut off, the process is exactly what catalina.sh started, so why doesnt catalina.sh stop it? Catalina.sh shutdown connects to the shutdown port (8005 by default) and tells the server to shut down. Tomcat shuts down all its parts, and that includes destroying servlets,

Re: [Fwd: Catalina suspends for no reason?!?]

2004-02-04 Thread Josh Rehman
: Catalina suspends for no reason?!? Date: Wed, 04 Feb 2004 10:38:16 -0600 From: Sam Seaver [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] I have Catalina Tomcat 4.1.24 connected via jk2 to Httpd 2.0.47 on RH9. It seems every now and then, tomat

RE: [Fwd: Catalina suspends for no reason?!?]

2004-02-04 Thread mike jackson
Original Message Subject: Catalina suspends for no reason?!? Date: Wed, 04 Feb 2004 10:38:16 -0600 From: Sam Seaver [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] I have Catalina Tomcat 4.1.24

RE: [Fwd: Catalina suspends for no reason?!?]

2004-02-04 Thread mike jackson
Oops, please ignore... --mikej -=-- mike jackson [EMAIL PROTECTED] -Original Message- From: mike jackson [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 1:45 PM To: 'Tomcat Users List' Subject: RE: [Fwd: Catalina suspends for no reason?!?] Orangevale is fine

Recall: [Fwd: Catalina suspends for no reason?!?]

2004-02-04 Thread mike jackson
The sender would like to recall the message, [Fwd: Catalina suspends for no reason?!?]. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]