Product SiteDocumentation Site

1.2.7. Stopping

Detailed instructions for stopping the JAIN SLEE Server are given below, arranged by operating system. Note that if you properly stop the server, you will see lines similar to the following as the last output in the Linux terminal or Command Prompt:
16:44:29,745 INFO  [Server] Shutdown complete
Shutdown complete
Halting VM
Procedure 1.8. Stopping the JAIN SLEE Server on Linux by Executing shutdown.sh or shutdown.jar
  1. Another way to shut down the JAIN SLEE Server is by executing the shutdown.sh Bourne shell script in the <install_directory>/jboss-eap-4.3/jboss-as/bin/ directory. To do so, first change your working directory to the JAIN SLEE Server's topmost directory (the one to which you extracted the downloaded zip file's contents):
    ~]$ cd "jbcp-<version>"
    
  2. (Optional) Ensure that the jboss-eap-4.3/jboss-as/bin//shutdown.sh start script is executable:
    jbcp-<version>]$ chmod +x "jboss-eap-4.3/jboss-as/bin/shutdown.sh"
    
  3. Finally, run the shutdown.sh executable Bourne shell script, and remember to add the -S option (which is the short option for --shutdown) as a command line argument:
    jbcp-<version>]$ "./jboss-eap-4.3/jboss-as/bin/shutdown.sh" -S
    
    • Instead of executing the Bourne shell script to stop the server, you may alternatively run the shutdown.jar executable Java archive to do so (and remembering, again, to add the -S command line argument):
      jbcp-<version>]$ java -jar "jboss-eap-4.3/jboss-as/bin/shutdown.jar" -S
      
Procedure 1.9. Stopping the JAIN SLEE Server on Windows