Quick reference for managing profiles, IBM WebSphere Application Server, and IBM HTTP Server

This topic summarizes common procedures for managing profiles and stopping and starting IBM® WebSphere Application Server profiles and the IBM HTTP Server.
Includes instructions for these tasks:

Administering profiles

WebSphere Application Server - Profile management tasks includes procedures for finding profile information such as profile name, root directory, and port number where the profile is deployed. It also provides instructions for removing profiles. For additional information about managing profiles, see the WebSphere Application Server documentation, V8.5.

Table 1. WebSphere Application Server - Profile management tasks
Task Instructions
Listing WebSphere Application Server profiles
To list all profiles on a server:
  • On Windows™: was_install_dir\bin\manageprofiles.bat -listProfiles
  • On UNIX/Linux: was_install_dir/bin/manageprofiles.sh -listProfiles
Identify the root directory of a WebSphere Application Server profile

To identify the root directory of a WebSphere Application Server profile:

  • On Windows: was_install_dir>\bin\manageprofiles.bat -getPath -profileName profile
  • On UNIX/Linux: was_install_dir/bin/manageprofiles.sh -getPath -profileName profile
Identify the port for a profile

To identify the port for a profile:

  1. Locate the root directory for the profile.
  2. Open the profile information file was_profiles_dir/profile_name/logs/AboutThisProfile.txt.
  3. Read the value of the HTTP TRANSPORT PORT parameter.
Locate an application in a WebSphere Application Server profile

To locate an application in a WebSphere Application Server profile:

  1. Using a browser, connect to the WebSphere Application Server Administrative Console for the profile containing the application (http://server:port/hcl/console.
  2. Navigate to Applications > Application Types > WebSphere enterprise applications, which lists the applications.
Removing an application from a WebSphere Application Server profile
To remove an application from a WebSphere Application Server profile on Windows:
  1. Connect to the WebSphere Application Server Administrative Console for the profile containing the application, from a browser using the following URL: http://server:port/ibm/console.
  2. Navigate to Applications -> Application Types -> WebSphere enterprise applications.
  3. Check the box to the left of the application that is to be removed.
  4. Click on Uninstall and confirm your action.
  5. Save the change to the Master Configuration.
  6. Stop and then start the profile to apply the change.
Removing a WebSphere Application Server profile
To remove a WebSphere Application Server profile:
  1. Delete the profile using one of these commands:
    • On Windows: was_install_dir\bin\manageprofiles.bat -delete -profileName profile
    • On UNIX/Linux:On Linux: was_install_dir/bin/manageprofiles.sh -delete -profileName profile
  2. Ensure that references to the deleted profile are removed from the profile registry by running the following command:
    • On Windows: was_install_dir\bin\manageprofiles.bat -validateAndUpdateRegistry
    • On UNIX/Linux:On Linux: was_install_dir/bin/manageprofiles.sh -validateAndUpdateRegistry
  3. Delete the profile directory tree (if it was not deleted by the previous action) starting at profile_dir.

Starting and stopping WebSphere Application Server profiles and IBM HTTP Server

For information about starting and stopping other WebSphere Application Server and IBM HTTP Server features, search for the Starting and stopping quick reference topics in the WebSphere Application Server documentation, V8.5.

Table 2. WebSphere Application Server - Start and stop procedures
Task Instructions
Starting a WebSphere Application Server profile
Note: If you want to start the default WebSphere Application Server profile, do not specify or select a profile name when performing this task.
On Windows

To start a WebSphere Application Server profile, use any of these methods:

  • Go to Start > Programs > IBM WebSphere > Application Server Vx.x > Profiles > profile_name > Start the server.
  • Start the Windows service associated with the IBM WebSphere Application Server profile.
  • Run this command: was_install_dir\bin\startServer.bat server1 -profileName profile.
  • Run this command: profile_dir\bin\startServer.bat server1.
On UNIX/Linux
To start a WebSphere Application Server profile, use either of the following commands:
  • was_install_dir/bin/startServer.sh server1 -profileName profile
  • profile_dir/bin/startServer.sh server1
Stopping a WebSphere Application Server profile
On Windows
To stop a WebSphere Application Server profile, use any of these methods:
  • Go to Start > Programs > IBM WebSphere > Application Server Vx.x> Profiles > profile > Stop the server.
  • Stop the Windows service associated with IBM WebSphere Vx.xprofile.
  • Run this command: was_install_dir\bin\stopServer.bat server1 -profileName profile.
  • Run this command: profile_dir\bin\stopServer.bat server1.
On UNIX/Linux

To stop a WebSphere Application Server profile,

use either of the following commands:
  • was_install_dir/bin/stopServer.sh server1 -profileName profile_name
  • profile_dir/bin/stopServer.sh server1
Table 3. IBM HTTP Server - Start and stop procedures
Task Instructions
Starting the IBM HTTP Server
On Windows
To start the HTTP server on Windows:
  1. From the Start menu, start the Control Panel, then go to Administrative Tools > Services.
  2. On the Services page, right-click IBM HTTP Administration x.x . Then, select Start.
  3. Right-click on IBM HTTP Server x.x. Select Start.
On UNIX/Linux

To start the HTTP server, run this command: ihs_install_dir/bin/apachectl -k start.

.
Stopping the IBM HTTP Server

To stop theIBM HTTP Server

On Windows
To stop the HTTP server::
  1. From the Start menu, start the Control Panel, then go to Administrative Tools > Services.
  2. On the Services page, right-click IBM HTTP Administration x.x . Then, select Stop.
  3. Right-click on IBM HTTP Server. Select Stop.
On UNIX/Linux
To stop the HTTP server, rung this command: ihs_install_dir/bin/apachectl -k stop.