Changes between Version 6 and Version 7 of ServerAdministration
- Timestamp:
- Jun 6, 2011, 4:58:48 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ServerAdministration
v6 v7 17 17 In /home/tomcat/scripts a couple of scripts are available for easy handling the tomcat instances: 18 18 * 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 20 20 * check_tomcat.sh --> checks if a given tomcat is running, and starts it if it is not running 21 21 … … 44 44 }}} 45 45 46 If, 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 {{{ 49 tomcat@nmcdsp ~ $ ~/scripts/kill_tomcat.sh ci 50 201106061658 killing tomcat ci instance (pid: 17992) 51 tomcat@nmcdsp ~ $ 52 }}} 53 54 The cronjob ''check_tomcat.sh ci'' will take care of starting the instance with the proper settings 46 55 47 56 == Apache ==