WebSphere Commerce Developer

Starting and stopping the WebSphere Commerce Test Server via command line

Use the command line to start your test server outside of Rational Application Developer. Starting it with the command line reduces the system resources used and might result in better performance.

About this task

You can start and stop the WebSphere Commerce Test Server within the WebSphere Commerce Developer with Rational Application Developer open. However, you might want to run the WebSphere Commerce Test Server without running Rational Application Developer's Graphical User Interface (GUI). For example, you might want to test the code in your development environment and do not need to examine or change the code.

Procedure

  • To start the WebSphere Commerce Test Server without running Rational Application Developer:
    1. From a command prompt, navigate to the WCDE_installdir\bin directory.
    2. Run startWCServer.bat.
    The WebSphere Commerce application server is started successfully when the file WCDE_installdir\wasprofile\logs\server1\trace.log displays the following message:
    Server server1 open for e-business
    
  • To stop the WebSphere Commerce Test Server without running Rational Application Developer:
    1. From a command prompt, navigate to the WCDE_installdir\bin directory.
    2. Run stopWCServer.bat.
    The WebSphere Commerce application server is stopped successfully when the file WCDE_installdir\wasprofile\logs\server1\trace.log displays the following message:
    Server server1 stopped