-
1. Re: Startupscript for JBoss with Catalina
jhicks Mar 1, 2002 5:44 PM (in response to gunnar)Attacthed is a modified version of a file I found in the mail archives. It will work on Slackware.
Put the attached file into your $JBOSS_HOME/bin directory and rename it to jbossctl.sh. Run 'chmod 0755 jbossctl.sh' as root. This makes the file executable.
Update the following variables in the jbossctl.sh file:
JBOSSHOME : the base directory of jboss. Should include the bin,lib and deploy directorys
JAVAPATH : the path to the java executable
JBOSSSH : the startup file ( including full path ) for jboss ( either run.sh or run_with_tomcat.sh )
udpate your system startup script ( on slackware its : /etc/rc.d/rc.local ) by adding the following lines of code:
### JBoss/Tomcat ###
if [ -x /usr/local/jboss/bin/jbossctl.sh ] ; then
/usr/local/jboss/bin/jbossctl.sh start
fi
change the '/usr/local/jboss/bin/' to the path of the bin directory for jboss.
If you are running and databases that JBoss will depend on, start them before JBoss. Also if you are integrated with apache, start apache before jboss/tomcat.
James Hicks -
2. Re: Startupscript for JBoss with Catalina
muaddib Jun 29, 2002 10:52 AM (in response to gunnar)Can you send me the jbossctl.sh file à epotvin@videotron.net?