JBoss 3 + RH Linux 7.x
We currently start Jboss upon reboot by running the start script in rc.local. The problem is that the JAVA_HOME which is set in .bashrc is not set before rc.local is executed during the Linux startup. Asside from setting JAVA_HOME in the jboss start script or setting it in rc.local, what would be the recommended method of starting Jboss upon reboot?
You can start jBoss as a unix service. Make jBoss startup and shutdown scripts and then create sybmbolic links in appropriate run levels.