SolarisLinuxAIX

Starting and stopping an application server on AIX, Linux, and Solaris operating system

Starting an application server starts both the application server and any applications that run inside the application server.

About this task

When starting an application server the application server might start successfully but applications running inside an application server may fail to start. Check the log files for errors.
Important: Do not start a WebSphere Commerce or WebSphere Commerce Payments application server as root. Starting these application servers as root changes the permissions on important files which may cause WebSphere Commerce and WebSphere Commerce Payments to function incorrectly.

Procedure

  1. Ensure that your database management system is started.
  2. Do one of the following:
    • Issue the following commands in a terminal window:
      
      su - WC_non_root_user
      cd WC_profiledir/bin
      
    • For a WebSphere Application Server Network Deployment manager profile:
      
      su - root
      cd WAS_ND_profiledir/bin
      

    Where:

    WC_non_root_user
    The non-root user ID under which the application server will run.
    WC_profiledir
    The directory for WebSphere Application Server profile used for WebSphere Commerce.
    WAS_ND_profiledir
    The directory for WebSphere Application Server profile used for WebSphere Application Server Network Deployment manager profile.
  3. Do one of the following:
    • To start an application server, enter:
      
      ./startServer.sh application_server_name
      
    • To stop an application server, enter:
      
      ./stopServer.sh application_server_name
      
    • To start the deployment manager:
      
      ./startManager.sh
      
    • To stop the deployment manager:
      
      ./stopManager.sh
      

    Where:

    application_server_name is the name of the application server you want to start or stop. The default WebSphere Application Server application server name is server1.

  4. Check the log files for any problems or errors. The log files are located in directory:WC_profileDir/logs/server1
  5. Starting and stopping quick reference. Select the appropriate link from the left pane based on your version of WebSphere Application Server.
  6. Start the WebSphere Commerce Information Center.
    The WebSphere Commerce Information Center must be started in order to provide help when using the WebSphere Commerce tools such as WebSphere Commerce Accelerator.
  7. If WebSphere Commerce Payments is not already started, start it after starting WebSphere Commerce.