How to start and stop WebSphere Application Server instance on a Windows machine

This post explains how to start and stop a WebSphere Application Server version 8.5 installed on a Windows machine.

 

(The instructions below were tested on a Windows 7 machine)

%USER_INSTALL_ROOT% is the directory of a specific ‘profile’. E.g. C:\programs\IBM\WebSphere\AppServer\profiles\AppSrv01

%WAS_CELL% is the name of a specific ‘cell’.

%WAS_NODE% is the name of a specific ‘node’.

%SERVER_NAME% is the name of a specific server instance in the profile.

Start the server

  • Open Windows command prompt.
  • Enter the following commands:
  • cd %USER_INSTALL_ROOT%/bin
  • startServer.bat %SERVER_NAME%

In the directory %USER_INSTALL_ROOT%/servers, there exists one sub-directory for each server instance in the profile.

  • See the console logs to know if the server started successfully. The console logs also point to a file which contains more detailed logs.

Browse the Administration Console

The Admininstration Console’s URL is http://localhost:<WC_adminhost port>/ibm/console or https://localhost:<WC_adminhost_secure port>/ibm/console. The actual port numbers are stored in the file %USER_INSTALL_ROOT%/config/cells/%WAS_CELL%/nodes/%WAS_NODE%/serverindex.xml

Stop the server

  • Open Windows command prompt.
  • Enter the following commands:
  • cd %USER_INSTALL_ROOT%/bin
  • stopServer.bat %SERVER_NAME%
  • See the console logs to know if the server stopped successfully. The console logs also point to a file which contains more detailed logs.
Advertisements
This entry was posted in Application Server, Java EE, WebSphere and tagged , . Bookmark the permalink.

3 Responses to How to start and stop WebSphere Application Server instance on a Windows machine

  1. Pingback: How to determine the version of an installed WebSphere application server | blakboard

  2. Anonymous says:

    Can we start and stop Apache web server which is on managed node from WebSphere console?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s