Title: Re: [JBoss-user] Start JBoss 3 upon Linux Reboot
Unless you do an include of your bashrc file in that script, you will have to set it explicitly.

From: "Mike Lecza" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Wed, 18 Dec 2002 11:45:37 -0500
To: <[EMAIL PROTECTED]>
Subject: RE: [JBoss-user] Start JBoss 3 upon Linux Reboot


Thanx – but that is what I was trying to avoid doing as I mentioned.



Regards,

Mike



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Geer, Benjamin
Sent: Wednesday, December 18, 2002 10:38 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Start JBoss 3 upon Linux Reboot



You could modify the script so it sets JAVA_HOME.



Benjamin

-----Original Message-----
From: Mike Lecza [mailto:[EMAIL PROTECTED]]
Sent: 18 December 2002 14:40
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Start JBoss 3 upon Linux Reboot

Yeah - that is what we use - but we set Java_Home in bashrc.  When the server is booting up we start Jboss by calling this script - problem is that java_home is not set yet when rc.local runs the script.







-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Brian Topping
Sent: Wednesday, December 18, 2002 8:41 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Start JBoss 3 upon Linux Reboot



There's a really great script called "jboss_init_redhat.sh" that's in the distribution for 3.2.  It works like a champ!



hth,



-b

-----Original Message-----
From: Mike Lecza [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 7:33 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Start JBoss 3 upon Linux Reboot

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  


Reply via email to