Set up and using the profile environment through commands

 

+

Search Tips   |   Advanced Search

 

Overview

Use commands to...

Before you can create and use a profile, install WAS.

Perform the following steps to create and use the profile environment.

This example deals with the profile environment of a stand-alone Application Server on the Windows platform.

 

Procedure

  1. Create the server profile from the original installation:

    app_server_root/bin/manageprofiles.sh|bat

    Assume that you create the profile by using the defaults.

    The following script is an example for creating an Application Server profile on the Windows platform:

    cd \IBM\WebSphere\AppServer\bin\
    manageprofiles -create -templatePath \IBM\WebSphere\AppServer\profileTemplates\default

  2. [Windows] Change directories to the \bin directory of the new server profile. For example, issue the following command:

    cd \IBM\WebSphere\AppServer\profiles\AppSrv01\bin

  3. Start server1.

    [Windows] Change directories to the app_server_root\bin directory of the original installation Issue the startServer command.

    startServer server1 -profileName AppSrv01

  4. Display a list of the ports assigned during profile creation.

    For Windows, open...

    \IBM\WebSphere\AppServer\profiles\AppSrv01\properties\portdef.props

  5. Open the console for server1. The port for the console is defined on the HTTP_TRANSPORT_ADMIN setting. If the value of the setting is 20003, specify the following Web address in your browser:

    http://hostname_or_IP_address:20003/ibm/console/

 

Results

You...

 

What to do next

Deploy an application.



manageprofiles command