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
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>"
(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"
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
Stopping the JAIN SLEE Server on Windows consists in executing either the shutdown.bat or the shutdown.jar executable file in the <install_directory>\jboss-eap-4.3\jboss-as\bin\ subfolder of the JBoss Communications Platform binary distribution. Make sure to add the -S option (which is the short option for --shutdown) as a command line argument.
C:\Users\Me\My Downloads\jbcp-<version>>jboss-eap-4.3\jboss-as\bin\shutdown.bat -S
Alternatively, you can execute the shutdown.jar Java archive by running the java -jar command, and remembering to add the -S option as a command line argument:
C:\Users\Me\My Downloads\jbcp-<version>>java -jar jboss-eap-4.3\jboss-as\bin\shutdown.jar -S