|
From: Christian <chr...@ta...> - 2011-02-18 08:07:56
|
Prashant,
did you run:
# /sbin/chkconfig jboss on
?
also what file did you put to /etc/init.d/jboss ? is this the script
shipped with the wrapper.
also did you notice the install option in the script?
# bin/{your_app}.sh install
(note you need to be root)
if you execute that, the script will install itself as daemon to be
started at boot. you may need to revert the changes you did before
installing, or run the script first with # bin/{your_app}.sh remove....
hope this helps you out.
cheers,
christian
-----Original Message-----
From: Prashant N <ma...@gm...>
Reply-to: wra...@li...
To: wra...@li...
Subject: [Wrapper-user] JBoss Service does not start while system boots
up
Date: Thu, 17 Feb 2011 14:50:38 +0530
Hi,
I am using Java Service Wrapper to convert my JBoss Application Server
into a service / daemon process. I have been successful in this and I
can [ console | start | stop | restart | condrestart | status |
install | remove | dump ]. However, the service is not booting up
along with the system while the system boots up.
My environment :
OS : CentOS 5.5 64bit
JDK : 1.5.07 64 bit
JBoss : 4.0.3SP1
Wrapper : wrapper-linux-x86-64-3.5.7 - Community Edition
I have added the service to the start sequence by :
chkconfig add jboss and chkconfig --list jboss shows :
jboss 0:off 1:off 2:on 3:on 4:on 5:on 6:off
After the system boots when I check for its status, it gives me
# /etc/init.d/jboss status
JBoss AS-4.0.3SP1 is not running.
I can start the service properly by hand, but the service does not
start at system start-up. There are no errors / messages in
wrapper.log, JBoss's boot.log & JBoss's server.log files.
How to resolve this ?
|