- JBoss 5.1.0
- Linux SLES 10.2
JBoss distribution provides a template script to run JBoss as a service on Linux (jboss_init_suse.sh), so I used it.
When I run the service manually with
/etc/rc.d/jboss start, it starts without any problem (
stopworks fine too), but when I activate the service to be launched at startup I get the following behaviour:
The service starts until the log
INFO [WebService] Using RMI server codebase: http://220.127.116.11:8083/
then the following log is
INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
which is followed by a shutdown. Every time.
I suspect this might be because a mandatory service is not started yet. FYI the service is configured with following requirements:
### BEGIN INIT INFO
# Provides: jboss
# Required-Start: $syslog $remote_fs
# X-UnitedLinux-Should-Start: $named $syslog $time
# Required-Stop: $syslog $remote_fs
# X-UnitedLinux-Should-Stop: $named $syslog $time
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Description: Start the JBoss application server.
### END INIT INFO
Any idea how to avoid this shutdown?
Problem solved by using another environment, CentOS instead of SLES 10.2.
But still no clue about what caused the issue ...