WebSphere Application Server Version 6.1 Feature Pack for Web Services
             Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows

             Personalize the table of contents and search results
             New or updated topic for this feature pack

Creating profiles enabled for a feature pack using the command prompt

A profile includes all of the files that the server processes in the runtime environment and can change. You can create a profile enabled for a feature pack when you run the manageprofiles command with a feature pack profile template specified.

Before you begin

Install the feature pack on top of an existing WebSphere Application Server Version 6.1 installation. Use the installation topics in the information center for installation instructions for the feature pack.

About this task

You can create a profile using the following tools:
  • [AIX HP-UX Linux Solaris Windows] The Profile Management tool
  • [i5/OS] [AIX HP-UX Linux Solaris Windows] The manageprofiles command-line tool
This example explains how to use the manageprofiles command-line tool to create application server and deployment manager runtime environments that uses the feature pack profile templates.

New or updated for this feature pack The Feature Pack for Web Services provides templates so that you can create application server and deployment manager profiles that are enabled for the Feature Pack for Web Services. The templates that are available for your environment are located in the app_server_root/profileTemplates/WEBSERVICES/ directory.

Note: Do not manually modify the files that are located in the app_server_root/profileTemplates/WEBSERVICES directory. For example, if you are changing the ports during profile creation, then use the Profile Management tool or the -startingPort or -portsFile arguments on the manageprofiles command instead of modifying the file in the profile template directory. For more information, use the manageprofiles command reference topics in the information center.

Use the following steps to create a new profile for the feature pack environment.

Procedure

  1. Open your command utility.
    • [AIX HP-UX Linux Solaris Windows] Open a command prompt and navigate to the app_server_root/bin directory.
    • [i5/OS] Start a Qshell session using the STRQSH CL command.
  2. Create an application server profile that uses the feature pack environment.

    Be sure to specify the fully qualified file path for the -templatePath parameter. If a relative file path is specified for the -templatePath parameter, then your profile might not be fully enabled. For example, enter the following command to create an application server profile enabled for the feature pack:

    New or updated for this feature pack [Windows]
    manageprofiles.bat -create -profileName AppSvr01 -templatePath 
    app_server_root\profileTemplates\WEBSERVICES\default.wsfep
    [i5/OS] [Linux] [Solaris] [HP-UX] [AIX]
    manageprofiles(.sh) -create -profileName AppSvr01 -templatePath 
    app_server_root/profileTemplates/WEBSERVICES/default.wsfep
  3. Create a deployment manager profile that uses the feature pack environment.

    Be sure to specify the fully qualified file path for the -templatePath parameter. If a relative file path is specified for the -templatePath parameter, then your profile might not be fully enabled. For example, enter the following command to create a deployment manager profile enabled for the feature pack:

    New or updated for this feature pack [Windows]
    manageprofiles.bat -create -profileName Dmgr01 -templatePath 
    app_server_root\profileTemplates\WEBSERVICES\dmgr.wsfep
    [i5/OS] [Linux] [Solaris] [HP-UX] [AIX]
    manageprofiles(.sh) -create -profileName Dmgr01 -templatePath 
    app_server_root/profileTemplates/WEBSERVICES/dmgr.wsfep
  4. Create a custom profile that uses the feature pack environment.

    You can only create a custom profile if you are running on Version 6.1.0.21 or later.

    Be sure to specify the fully qualified file path for the -templatePath parameter. If a relative file path is specified for the -templatePath parameter, then your profile might not be fully enabled. For example, enter the following command to create a deployment manager profile enabled for the feature pack:

    [Windows]
    manageprofiles.bat -create -profileName Dmgr01 -templatePath 
    app_server_root\profileTemplates\WEBSERVICES\managed.wsfep
    [i5/OS] [Linux] [Solaris] [HP-UX] [AIX]
    manageprofiles(.sh) -create -profileName Dmgr01 -templatePath 
    app_server_root/profileTemplates/WEBSERVICES/managed.wsfep

Results

The command returns a message indicating success if a profile is created.



In this information ...


IBM Redbooks, demos, education, and more


Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

IBM Suggests
Task topic    

Terms of Use | Feedback

Last updated: Nov 25, 2008 2:35:59 AM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.wsfep.multiplatform.doc/info/ae/ae/txml_wsfpstack.html