LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problem trying to control JBoss AS on Slackware64-13.0 (https://www.linuxquestions.org/questions/slackware-14/problem-trying-to-control-jboss-as-on-slackware64-13-0-a-815511/)

gtludwig 06-21-2010 03:36 PM

Problem trying to control JBoss AS on Slackware64-13.0
 
Hello all,

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:

Code:

# /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:
Code:

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,
gtludwig


All times are GMT -5. The time now is 05:59 AM.