I would have some reservations about whether this is a very good idea.  
Among other problems, you will likely be start jBoss before your back-end
database is up and even before your network stack is up.  If jBoss does
such simple things this early in system initialization as query DNS, they
will fail.  My advice would be to stick with sysvinit scripts.

-- Mike


On 2001-06-26 at 22:11 -0400, David Green wrote:

> I run it from init...
> 
> >From /etc/inittab:
> 
> j1:345:respawn:/usr/local/sbin/startjboss
> 
> And /usr/local/sbin/startjboss:
> 
> #!/bin/sh
> sleep 10
> /bin/su -c "cd /home/jboss/jboss/bin ; sh run_with_tomcat.sh" - jboss
> 
> (The sleep keeps it from respawning too quickly if something is wrong)
> 
> 
> David Green
> 
> On Tue, 26 Jun 2001, Richard Bottoms wrote:
> 
> > Anybody running JBoss at startup on their Linux server?
> >
> > I've tried getting it to go from an /etc/rc.d/rc3.d link to an init.d file.
> > I can start the server if I do it manually, but it doesn't work during the
> > startup process.
> >
> > r.b.


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to