Prasanta Bhuyan Vor 10 Jahren Brett, nice meeting you yesterday after your session on clustering. I came to the symposium to get answer on couple of open question regarding licensing and clustering with respect to auto scaling on a cloud environment. I got those from you at the very last technical session of the symposium. I guess no one goes empty handed from the symposium, now quite literally. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Brett Swaim Prasanta Bhuyan Vor 10 Jahren Glad to be of service! Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Brett Swaim Prasanta Bhuyan Vor 10 Jahren Glad to be of service! Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Daniel Nordhoff-Vergien Vor 10 Jahren Nice script, but if you have more then one instance of tomact running, it will allow only to start one of them, because you grep only for org.apache.catalina.startup.Bootstrap, so you should also grep for the tomcat home dirRegardsDaniel Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Brett Swaim Daniel Nordhoff-Vergien Vor 10 Jahren Absolutely true. For the client I made this for they were only running one JVM per box. It could and should be improved upon based on your specific needs. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Brett Swaim Daniel Nordhoff-Vergien Vor 10 Jahren Absolutely true. For the client I made this for they were only running one JVM per box. It could and should be improved upon based on your specific needs. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Kevin Thorpe Vor 9 Jahren Couple of minor points. Setting the rc symlinks should be done with chkconfig since this script supports it. Not all distros have those symlinks in that place.Secondly add exit 99 or similar after line 82 - tomcat not running. This script always returns success, puppet wants the exit status to be 'correct'. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Olaf Kock Vor 9 Jahren Nice, this will replace my simpler version next time. I like to add some "chown -r $TOMCAT_USER $TOMCAT_HOME/work $TOMCAT_HOME/temp $TOMCAT_HOME/logs $TOMCAT_HOME/webapps" (etc) because I was bitten once by someone accidentally starting tomcat as root - this does recover proper ownership at latest with the next startup - otherwise there'd be a bunch of unwritable files left over. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Akke Bengtsson Vor 9 Jahren The end of the liferay tomcat process apparently does not automatically mean that all external connections started by the tomcat process are properly shut down yet. We use the said script via cron to force a scheduled ldap import from our AD. (We never got the ldap.import.interval to work, only the initial sync at startup). The restart via the script usually means less than 5 seconds between shutdown and startup and more than often - no initial ldap import. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Pierpaolo Cira Vor 8 Jahren Great post, thank you.Just a note: if you run "service liferay stop" from a non-root user, it will prompt a password request to perform the stop operation by "su" mode.If you type a wrong password you will get a "su: Authentication failure", but process will continue:"Waiting for processes to exit. Timeout before we kill the pid: 0/45Waiting for processes to exit. Timeout before we kill the pid: 5/45..." Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen ser aus Pierpaolo Cira Vor 8 Jahren Great post with a good example of start/stop script for tomcatThanks! Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
ser aus Pierpaolo Cira Vor 8 Jahren Great post with a good example of start/stop script for tomcatThanks! Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen