Facing some issues regarding tomcat startup and shutdown on ubuntu 10.04

后端 未结 7 1020
暖寄归人
暖寄归人 2021-02-03 23:16

I am facing some issues regarding tomcat startup and shutdown.

I am using

  1. Tomcat v.6.0.32 (using the extracted the bundle downloaded from Apache website a
7条回答
  •  青春惊慌失措
    2021-02-04 00:02

    Solution; First set the pid of tomcat CATALINA_PID="/id.pid" export CATALINA_PID

    then kill it catalina.sh stop -force

    source: http://confluence.atlassian.com/pages/viewpage.action?pageId=216959212

    otherwise just as you mentioned, just kill it with the kill command

    ps aux | grep catalina
    kill 
    

    if the above two solutions don't fit your needs try the following:

    $ sudo service tomcat6 stop
    * Stopping Tomcat servlet engine tomcat6 [ OK ]
    $ sudo service tomcat6 start
    * Starting Tomcat servlet engine tomcat6 [ OK ]
    $
    

    or of course the more traditional way:

    $ sudo /etc/init.d/tomcat6 stop
    * Stopping Tomcat servlet engine tomcat6 [ OK ]
    $ sudo /etc/init.d/tomcat6 start
    * Starting Tomcat ser
    

提交回复
热议问题