-   Linux - Newbie (
-   -   Tomcat 7 (

gaurvrishi 04-24-2013 08:02 AM

Tomcat 7

Can you please help in knowing that how can i HUP tomcat as in apache we use kilall -HUP httpd and in exim killall -HUP exim. what should we do in case of tomcat

acid_kewpie 04-24-2013 08:12 AM

killall -HUP tomcat7

presuming tomcat7 is the name of the daemon process that you can see when you run "ps -ef". I hope you can see a pattern emerging here.

gaurvrishi 04-24-2013 08:16 AM

When i do that i am getting only this. can you please let me know what is the alternative for this.

ps -ef | grep -i tomcat
root 8037 1 43 18:11 ? 00:14:30 /usr/local/jdk/bin/java -Djava.util.logging.config.file=/usr/local/tomcat/conf/ -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms1024m -Xmx1024m -XX:PermSize=1536m -XX:MaxPermSize=1536m -verbose:gc -XX:+PrintClassHistogram -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -Djava.endorsed.dirs=/usr/local/tomcat/endorsed -classpath /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/tomcat -Dcatalina.home=/usr/local/tomcat org.apache.catalina.startup.Bootstrap start

acid_kewpie 04-24-2013 08:18 AM

You know, I feel pretty stupid now to be honest... :s Yes, java...

so "kill -HUP 8037" will hit that specific java process.

All times are GMT -5. The time now is 12:08 AM.