0 Replies Latest reply on Sep 15, 2008 12:15 PM by Shafiur Rahman Mohammad

    Problem with shutdown.bat

    Shafiur Rahman Mohammad Newbie

      Well I started my application running run.bat on windows2000server.
      But how do I (securely) close the Jboss server running shutdown.bat.

      Please anyone explain me how do I call shutdown.bat when I click the close button on the command window.
      (And)
      How do I shutdown the Jboss calling shutdown.bat when the Jboss is registered as a windows service.

      My configuration
      I am running jboss "all" configuration.
      I have created service.bat file which basically is like this
      cd C:\jboss-4.2.2.GA\bin
      C:\jboss-4.2.2.GA\bin\run.bat -c all -b 0.0.0.0

      I want to ask where should I make the changes
      Is it in service.bat file
      or
      shutdown.bat file
      or run.bat file
      or I call a file from windows service which basically shutsdown the jboss.

      Any help id direly appreciated.