[AIX HP-UX Linux Solaris Windows]This topic applies only on the i5/OS operating system.

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
  • [iSeries] [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 EJB 3.0 provides templates so that you can create application server and deployment manager profiles that are enabled for the Feature Pack for EJB 3.0. The templates that are available for your environment are located in the app_server_root/profileTemplates/EJB3 directory.

Note: Do not manually modify the files that are located in the app_server_root/profileTemplates/EJB3 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.
    • [iSeries] 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\EJB3\default.ejb3fep
    [iSeries] [Linux] [Solaris] [HP-UX] [AIX]
    manageprofiles(.sh) -create -profileName AppSvr01 -templatePath 
    app_server_root/profileTemplates/EJB3/default.ejb3fep
  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\EJB3\dmgr.ejb3fep
    [iSeries] [Linux] [Solaris] [HP-UX] [AIX]
    manageprofiles(.sh) -create -profileName Dmgr01 -templatePath 
    app_server_root/profileTemplates/EJB3/dmgr.ejb3fep
  4. [Fix Pack 21 or later] 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
    [iSeries] [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

(Index)

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

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 2:56:59 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-dist&topic=txml_wsfpstack
File name: txml_wsfpstack.html