I got a problem with this script. When JBoss run as an user other than root, the PATH environment variable is not passed to the run.sh process, because the script using "su -". Changing the line which defines CMD_START to include JAVA_HOME=path_to_java before executing run.sh is sufficient to solve this problem.
Robson. ----- Original Message ----- From: "Hunter Hillegas" <[EMAIL PROTECTED]> To: "JBoss User" <[EMAIL PROTECTED]>; "Alin Simionoiu" <[EMAIL PROTECTED]> Sent: Wednesday, June 05, 2002 3:38 PM Subject: Re: [JBoss-user] RedHat Startup Script I didn't realize this shipped with the server. I will give this one a try. Thanks. > From: "Alin Simionoiu" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Wed, 5 Jun 2002 11:14:08 -0700 > To: <[EMAIL PROTECTED]> > Subject: RE: [JBoss-user] RedHat Startup Script > > JBoss 3.0 is coming with an init script for redhat > named jboss_init_redhat.sh. > > Did you try it?. > > > > > -----Original Message----- > From: Hunter Hillegas [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 05, 2002 11:04 AM > To: JBoss User > Subject: [JBoss-user] RedHat Startup Script > > > Anyone have a good RedHat startup script for JBoss 3.0? > > I have one I modified from Apache, but it doesnąt work. > > When I run it from the console, it starts JBoss up just fine... > > When it runs as part of the startup sequence, Syslog gets messages that it > tried to start it, but the service isn't running when bootup is completed. > > Any ideas? > > Hunter > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user