Starting or stopping WebSphere Application Server

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

Procedure

  • SolarisLinuxAIXTo 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
      is the non-root user ID created before installing WebSphere Commerce.
      WC_profiledir
      is the directory for WebSphere Application Server profile 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
      is the name of the application server you want to start or stop.
      Note: If WebSphere Application Server administrative security is enabled, you will also need to supply credentials for the WebSphere Application Server commands.
      Application server name Description
      server1 Default WebSphere Application Server application server

      WebSphere Commerce EnterpriseWebSphere Commerce ProfessionalIf the WebSphere Commerce node or WebSphere Commerce Payments node is federated into a WebSphere Application Server Network Deployment cell, you cannot start WebSphere Commerce or WebSphere Commerce Payments using this command. For instructions on starting WebSphere Commerce or WebSphere Commerce Payments when they are federated into a WebSphere Application Server Network Deployment cell, refer to 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 with Administrator authority.
    2. Start a command prompt session.
    3. Issue the following command:
       cd WAS_profiledir/bin
      is the directory for WebSphere Application Server profile 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
      is the name of the application server you want to start or stop.
      Note: If WebSphere Application Server administrative security is enabled, you will also need to supply credentials for the WebSphere Application Server commands.
      Application server name Description
      server1 Default WebSphere Application Server application server

      WebSphere Commerce EnterpriseWebSphere Commerce ProfessionalIf the WebSphere Commerce node or WebSphere Commerce Payments node is federated into a WebSphere Application Server Network Deployment cell, you cannot start WebSphere Commerce or WebSphere Commerce Payments using this command. For instructions on starting WebSphere Commerce or WebSphere Commerce Payments when they are federated into a WebSphere Application Server Network Deployment cell, refer to 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
    is the directory for WebSphere Application Server profile used for WebSphere Commerce.
    application_server_name
    is the name of the application server you want to start or stop.