• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem shutting down tomcat

 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic