Starting or stopping WebSphere Application Server

You can start or stop the application server by using a command-line script. Restarting an application server involves stopping the server, then starting it.

Procedure

  • AIXLinux To start or stop an application server on a Unix-based platform:
    1. Ensure that your database management system is started.
    2. Type the following commands in a terminal window:
      su - non_root_user
      cd WC_profiledir/bin
      Where:
      non_root_user
      The non-root user ID that was created before installing WebSphere Commerce.
      WC_profiledir
      The directory for the WebSphere Application Server profile that is used for WebSphere Commerce.
    3. Do one of the following:
      • To start an application server, enter the following command:
        ./startServer.sh application_server_name
      • To stop an application server, enter the following command:
        ./stopServer.sh application_server_name
      where:
      application_server_name
      The name of the application server you want to start or stop.
      Note: If WebSphere Application Server administrative security is enabled, you also need to supply credentials for the WebSphere Application Server commands.
      Application server name Description
      server1 Default WebSphere Application Server application server

      If the WebSphere Commerce node is federated into a WebSphere Application Server Network Deployment cell, you cannot start WebSphere Commerce by using this command. For instructions on starting a node that is federated into a WebSphere Application Server Network Deployment cell, see Starting or stopping an application server under WebSphere Application Server Network Deployment.

  • WindowsTo start or stop an application server on a Windows platform:
    1. Log on using a Windows user ID that has Administrator authority.
    2. Start a command prompt session.
    3. Issue the following command:
       cd WAS_profiledir/bin
      WAS_profiledir is the directory for the WebSphere Application Server profile that is used for WebSphere Commerce.
    4. Do one of the following:
      • To start an application server, enter the following command:
        ./startServer.bat application_server_name
      • To stop an application server, enter the following command:
        ./stopServer.bat application_server_name
      where:
      application_server_name
      The name of the application server that you want to start or stop.
      Note: If WebSphere Application Server administrative security is enabled, you also need to supply credentials for the WebSphere Application Server commands.
      Application server name Description
      server1 Default WebSphere Application Server application server

      If the WebSphere Commerce node is federated into a WebSphere Application Server Network Deployment cell, you cannot start WebSphere Commerce by using this command. For instructions on starting a node that is federated into a WebSphere Application Server Network Deployment cell, see Starting or stopping an application server under WebSphere Application Server Network Deployment.

  • For IBM i OS operating systemTo start or stop an application server on a iSeries platform:
    1. Start a Qshell session.
    2. Do one of the following:
      • To start an application server, enter the following command:
        WC_profiledir/bin/startServer application_server_name 
      • To stop an application server, enter the following command:
        WC_profiledir/bin/stopServer application_server_name 
    Where:
    WC_profiledir
    The directory for WebSphere Application Server profile that is used for WebSphere Commerce.
    application_server_name
    The name of the application server you want to start or stop.