hiya!!
I just put a
cd /opt/jboss/bin
line at the top of the run.sh file, and:
while [ 1 ]
do
java -server -classpath $CLASSPATH $JETTY_FLAGS -Dtomcat.home=$TOMCAT_HOME
org.jboss.Main tomcat $@
sleep 5
done
bit round the java call in the bottom of the run.sh file (I have the tomcat
parameter at the end as I am running with embedded tomcat)
then make sure all of your jars you need are in the classpath line, and add
the line :
jb:634:respawn:/opt/jboss/bin/run.sh
into /etc/inittab
this seems to work for me...
Hope it helps you...
Tim.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 03, 2001 2:19 PM
Subject: [jBoss-User] Linux boot script
>
> Hello,
>
> Perhaps I am looking at the wrong places, but I can not
> find the Linux boot script for automatic starting. I have
> read that the script should be available as bug #133, but
> Bugzilla seems to do be down. Can anyone point me in the
> right direction?
>
> Thank you very much in advance,
> Marcel
>
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
>
>
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]