2 Replies Latest reply on Oct 31, 2002 1:00 AM by shogun1234

    how to terminate run.sh

    shogun1234

      i startup script run.sh to launch jboss. however, when i decide to shutdown the process via pressing [ctrl + c]. however, resuting from not being aware of pressing [ctrl + z], then it go back to the command line without stop the process that jboss runs for, while next time i try to run the script - run.sh, it issues problem like "Address .. already bound". it seems that the old process has not been finished, but if i kill that process - java_vm - other program like mozilla would alos be terminated except that old jboss process. would any one like to tell me how to trun jboss down properly at the time when i press the wrong button? otherwise each time i have to reboot my os again when facing it :<
      i appreciate any suggestions
      thank you very much

        • 1. Re: how to terminate run.sh
          joelvogt

          right...Just to summarize your post, you want to press ctl+c but you accidently press ctrl+z? If so, you can get jboss back (presumable) by typing something like 'fg 1' as you ctrl+z will put process in background and fg 1 will bring it back.

          If you do need to kill jboss, don't kill all java, look for the first thread with something like

          /usr/local/jdk1.3.1/bin/i386/native_threads/java -ser...
          in it and kill that.

          • 2. Re: how to terminate run.sh
            shogun1234

            thanks your help, it works:)