4 Replies Latest reply on Apr 29, 2005 7:38 AM by vibe.axb

    jboss stopping on logout solaris

    cmap

      jboss-3.0.4_tomcat-4.1.12 on solaris 8.
      run.sh works fine but everytime i logout the console i take down jboss.
      I've tried with
      ./run.sh &
      nohup ./run.sh &
      and
      bg process id
      and all of it stops jboss when I then logout.....
      i've done jboss before on linux without this problem.

        • 1. Re: jboss stopping on logout solaris
          jonlee

          Does this thread help any?
          http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t= never got a reply so I don't know if the suggestion worked. However, it was a solution for our problem with AIX not allowing a terminal session to log out without processes belonging to the session not being terminated first.

          • 2. Re: jboss stopping on logout solaris
            cmap

            hi
            no its not helped... Trying to see what other ways i can try to force something into the background...thanks for trying....

            • 3. Re: jboss stopping on logout solaris
              cmap

              i've got it to work in a clumsy way by using a vnc server and starting it in that. cos the vnc server doesn't logout or close process jboss keeps running after i close down the browser........

              • 4. Re: jboss stopping on logout solaris
                vibe.axb

                in the run.sh script,

                replace the command

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

                NB I think with the default run.sh, the nohup run.sh & fails because the run.sh is locked in an endless loop, so the nohup is not taken into account.


                with

                "$JAVA" $JAVA_OPTS \
                -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
                -classpath "$JBOSS_CLASSPATH" \
                org.jboss.Main "$@" \
                > ${JBOSS_HOME}/server/run.log&

                It works fine with me