Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem shutting down tomcat

 
Daniil Sosonkin
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm having a problem shutting down tomcat 4.1 on Linux Mandrake 9.2
There is no error message or anything like that. I use shutdown script and it seems to be sending command to tomcat since it stops responding and mod_jk can no longer connect to it (in fact it simply hangs). Yet, if I do ps -ef all java processes are still running. The only way to kill the process now is to go by each of those and kill them manually (which is total main in the neck).
Its running latest non-beta JVM 1.4.2_03-b02. I have another box with exactly the same setup and everything works perfectly. The only difference is that older box isn't hyperthreaded.
Anyone can give any suggestions?
thanx
 
N Nanda
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check your JAVA_HOME, CATALINA_HOME and CLASSPATH entries in your .bash_profile.
 
Daniil Sosonkin
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's output:
[root]# ./shutdown.sh
Using CATALINA_BASE: /home/tomcat
Using CATALINA_HOME: /home/tomcat
Using CATALINA_TMPDIR: /home/tomcat/temp
Using JAVA_HOME: /home/jdk1.4.2_03
In catalina.out line appears:
Stopping service Tomcat-Standalone
And then I wait long time. Just now I checked it and it did shutdown maybe I never waited that long, but it did put a wierd log message into catalina.out:
Mar 9, 2004 9:29:57 AM org.apache.jk.common.ChannelSocket destroy
INFO: Error shutting down the channel 8009 java.net.ConnectException: Connection timed out
I'll have to google on it. But if anyone knows, I'd be most greatful
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic