Changes between Version 6 and Version 7 of ServerAdministration


Ignore:
Timestamp:
Jun 6, 2011, 4:58:48 PM (8 years ago)
Author:
work@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ServerAdministration

    v6 v7  
    1717In /home/tomcat/scripts a couple of scripts are available for easy handling the tomcat instances:
    1818 * kill_tomcat.sh --> kills a running tomcat instance
    19  * restart_tomcat.sh --> restarts a running tomcat instance
     19 * restart_tomcat.sh --> restarts a running tomcat instance, however kill_tomcat.sh is prefered here as check_tomcat.sh would take care of starting tomcat with the proper settings
    2020 * check_tomcat.sh --> checks if a given tomcat is running, and starts it if it is not running
    2121
     
    4444}}}
    4545
     46If, for some reason, a tomcat needs to be restarted, it's best to use these scripts for doing so as they will also make sure tomcat is started with the proper memory settings. So, if you for example want to restart the ''ci'' instance, you would execute:
     47
     48{{{
     49tomcat@nmcdsp ~ $ ~/scripts/kill_tomcat.sh ci
     50201106061658 killing tomcat ci instance (pid: 17992)
     51tomcat@nmcdsp ~ $
     52}}}
     53
     54The cronjob ''check_tomcat.sh ci'' will take care of starting the instance with the proper settings
    4655
    4756== Apache ==