If you use the factory .bashrc from redhat, it makes a
callout to /etc/bashrc. environment
variables set in /etc/bashrc thus are available to
all users. init should pick up variables set in this
file. This is fine if you only have one jdk for all
users on the machine. I am looking at the script in jboss-head and it runs the startup script optionally under
another username, which is highly recommended. If you create a JbossUser, and configure that user’s .bashrc, the start up script should pick up those variables. regards, fawce --------------------------------- John Fawcett CTO, Tamale Software, LLC 26 Fox Road Waltham, MA 02451 (781)290-5877 -----Original Message----- 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? Regards |
- [JBoss-user] Start JBoss 3 upon Linux Reboot Mike Lecza
- RE: [JBoss-user] Start JBoss 3 upon Linux Reboot John Fawcett
- RE: [JBoss-user] Start JBoss 3 upon Linux Reboot Brian Topping
- RE: [JBoss-user] Start JBoss 3 upon Linux Reboot Geer, Benjamin
- RE: [JBoss-user] Start JBoss 3 upon Linux Reboo... Mike Lecza
- Re: [JBoss-user] Start JBoss 3 upon Linux R... Hunter Hillegas
- RE: [JBoss-user] Start JBoss 3 upon Linux Reboot Joost Kraaijeveld
- RE: [JBoss-user] Start JBoss 3 upon Linux Reboot Finn, Michael