WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Deleting a profile

This topic describes how to manually delete a profile.

Before you begin

Before using the manual procedure to remove a profile, unaugment the profile and then try the manageprofiles command with the -delete option. For example, issue the following commands for your operating system platform:

[Linux][UNIX]
./manageprofiles.sh -unaugment
                -profileName profile_name

./manageprofiles.sh -delete 
                -profileName profile_name | -profilePath profile_path
[Windows]
manageprofiles.bat -unaugment
               -profileName profile_name
manageprofiles.bat -delete 
               -profileName profile_name | -profilePath profile_path

See wasprofile command.

If the command does not work, use this procedure to delete the profile.

Why and when to perform this task

This procedure describes how to manually delete a profile when the manageprofiles -delete command results in the following message:
INSTCONFFAILED: Cannot delete profile.

Steps for this task

  1. Issue operating system commands to delete the profile directory.
  2. Issue the following command to remove references in the registry to deleted profiles:
    [Linux][UNIX]
    ./manageprofiles.sh -validateAndUpdateRegistry 
    
    [Windows]
    manageprofiles.bat -validateAndUpdateRegistry
    Editing of the registry is not recommended.

Result

You have now deleted a profile.

What to do next

See the description of the wasprofile command to learn more about the command-line method of working with profiles.

See Creating profiles through the graphical user interface for more information about creating profiles with the Profile Creation wizard.




Related tasks
Creating profiles through the graphical user interface

Related reference
wasprofile command

Task topic    

Terms of Use | Feedback

Last updated: Dec 11, 2005 4:07:15 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tpro_removeprofile.html

© Copyright IBM Corporation 2004, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)