Product SiteDocumentation Site

1.2.5. Running

Once installed, you can run the JBoss Communications Platform JAIN SLEE Server by executing the one of the startup scripts in the <install_directory>/jboss-eap-4.3/jboss-as/bin/ directory (on Linux or Windows), or by double-clicking the run.bat executable batch file in that same directory (on Windows only). However, we suggest always starting the JAIN SLEE Server using the terminal or Command Prompt because you are then able to read—and act upon—any startup messages, and possibly debug any problems that might arise. In the Linux terminal or Command Prompt, you will be able to tell that the JAIN SLEE Server started successfully if the last line of output is similar to the following (ending with Started in 25s:527ms):
16:29:15,442 INFO  [ManagementConsole] Mobicents Management Console initialized
16:29:15,551 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
16:29:15,586 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
16:29:15,622 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 25s:527ms
Detailed instructions are given below, arranged by platform.
Procedure 1.6. Running the JAIN SLEE Server on Linux
  1. Change your working directory to the JAIN SLEE Server's topmost directory (the one to which you extracted the zip file's contents):
    ~]$ cd "jbcp-<version>"
    
  2. (Optional) Ensure that the jboss-eap-4.3/jboss-as/bin/run.sh start script is executable:
    jbcp-<version>]$ chmod +x "jboss-eap-4.3/jboss-as/bin/run.sh"
    
  3. Finally, execute the run.sh Bourne shell script:
    jbcp-<version>]$ "./jboss-eap-4.3/jboss-as/bin/run.sh"
    
    • Instead of executing the Bourne shell script to start the server, you may alternatively run the run.jar executable Java archive in the jboss-eap-4.3/jboss-as/bin/ directory:
      jbcp-<version>]$ java -jar "jboss-eap-4.3/jboss-as/bin/run.jar"
      
Procedure 1.7. Running the JAIN SLEE Server on Windows
  1. There are several different ways to start the JAIN SLEE Server on Windows. All of the following methods accomplish the same task.
    Using Windows Explorer, change your folder to the one in which you unzipped the downloaded zip file, and then to the <install_directory>\jboss-eap-4.3\jboss-as\bin\subfolder.
  2. Although not the preferred way (see below), it is possible to start the JAIN SLEE Server by double-clicking on the run.bat executable batch file.
    • As mentioned above, the best way to start the JAIN SLEE Server is by using the Command Prompt. Doing it this way will allow you to view all of the server startup details, which will enable you to easily determine whether any problems were encountered during the startup process. You can open the Command Prompt directly from the <install_directory>\jboss-eap-4.3\jboss-as\bin\ folder in Windows Explorer, or you can open the Command Prompt via the Start menu and navigate to the correct folder:
      C:\Users\Me\My Downloads> cd "jbcp-<version>"
      
    • Start the JAIN SLEE Server by running the executable run.bat batch file:
      C:\Users\Me\My Downloads\jbcp-<version>>jboss-eap-4.3\jboss-as\bin\run.bat
      
      • It is also possible to start the JAIN SLEE Server by running the run.jar executable Java archive:
        C:\Users\Me\My Downloads\jbcp-<version>>java -jar jboss-eap-4.3\jboss-as\bin\run.jar