Subject pretty much states my issue. I'd like to control JBoss on my Slackware server using the proper approach on /etc/rc.d. So I can issue:
# /etc/rc.d/rc.jboss start
# /etc/rc.d/rc.jboss stop
# /etc/rc.d/rc.jboss restart
And, further more, controlling JBoss with an specific user and bringing it up and down nicely at those rare occasions when the server needs to be rebooted.
I'm using JBoss-4.2.3.GA and after exporting $JBOSS_HOME variable, I copied $JBOSS_HOME/bin/jboss_init_redhat.sh to $JBOSS_HOME/bin/jboss_init_slackware.sh
After editing it a bit to reflect my local machine so I can see if it works, I got lost and decided to ask help here.
The script I'm working with is here
But when I try to start JBoss, I get only:
root@cpc-5564:/home/gtl# /etc/rc.d/rc.jboss start
JBOSS_CMD_START = cd /home/gtl/java/jboss/bin; /home/gtl/java/jboss/bin/run.sh -c default
And the server is not started...
What am I missing here?
Thanks in advance,