LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-21-2010, 03:36 PM   #1
gtludwig
Member
 
Registered: Oct 2005
Location: Brazil
Distribution: Slackware64-current
Posts: 219

Rep: Reputation: 16
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Brightness control on Slackware64, laptop (ati) Switch7 Slackware 3 12-27-2009 09:10 AM
CPU frequency control Cool n'Quiet in Slackware64 13 arubin Slackware 2 08-31-2009 12:22 PM
[SOLVED] Slackware64-C client wont detect Slackware64-C Samba server slackass Slackware 5 08-07-2009 11:23 PM
Jboss access control? jnojr Linux - Server 0 05-04-2009 04:51 PM
LXer: User security and access control in JBoss portals LXer Syndicated Linux News 0 01-29-2009 05:00 PM


All times are GMT -5. The time now is 04:08 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration