Configuring JBoss / LiveCycle to Autostart on SUSE Enterprise Linux

Since LiveCycle ES is server-side software, the J2EE appserver hosting it should ideally be configured to start automatically after a server restart. On Novell SUSE Enterprise Linux, this requires changes to the run.sh JBoss startup file to fit the requirements of SUSE’s chkconfig utility.

1) Download the jboss run file (make sure it does not have any extensions such as “txt”)
2) Edit it to fit your environment
3) Move it to /etc/init.d/ with 755 permissions, owned by root

4) Download the required config file (make sure it does not have any extensions such as “txt”)
5) Edit it to fit your environment
6) Move it to /etc/sysconfig/ with 644 permissions, owned by root

7) login as ‘root’, cd to /usr/sbin and run the command:
chkconfig jboss on

Verify that appropriate Start and Stop (Kill) soft links have been created in /etc/init.d/rc3.d and /etc/init.d/rc5.d When the server is restarted, the S10jboss link to /etc/init.d/jboss will be invoked to start JBoss. When the server is shut down, the K01jboss link to /etc/init.d/jboss will be invoked. 10 makes sure that JBoss will be started last (after all other services have been started, including MySQL). 01 makes sure that JBoss will be one of the first services to be shutdown on server shutdown.

You can also manually stop JBoss as root by running the command ./jboss stop from /etc/init.d/

Creating a soft link to /etc/init.d/jboss from /usr/sbin/ will let you run this from any directory since /usr/sbin/ is usually in the PATH envitronment variable. The command is (as root):
ln -s /etc/init.d/jboss /usr/sbin

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)
This entry was posted in Adobe LiveCycle ES, General Interest and tagged . Bookmark the permalink.

Comments are closed.