2 Replies Latest reply on Nov 7, 2005 4:05 PM by davidsan1001

    Starting Jboss remotely and having it stay up

    davidsan1001

      I have an external Linux Red Hat system running JBoss. I can start it up fine with run.sh but it quites when my Windows box inevitably crashes.

      I see the jboss_init_redhat script but that isn't working.

      Any tips on how to start JBoss remotely and have it stay up when the console that started it quits?

      Thank you, thank you, thank you for your help

        • 1. Re: Starting Jboss remotely and having it stay up
          peterj

          Uh, convert your Windows box to also run Red Hat and thus avoid the inevitable crashes. :-)

          Or you could try this. In the run.sh script, change the lines that start JBoss by prepending 'nohup' and appending '&', as follows (warning, I got the original from 4.0.2, yours might be different):


          nohup "$JAVA" $JAVA_OPTS \
           -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
           -classpath "$JBOSS_CLASSPATH" \
           org.jboss.Main "$@" &


          Hope this helps.

          • 2. Re: Starting Jboss remotely and having it stay up
            davidsan1001

            Worked perfectly!

            ..and I'm working on converting over to Linux and other open source stuff, used to be a Mac guy, got thrown in with Windows, trying to escape.