Manually Uninstalling An Enterprise Application
 Technote (FAQ)
 
Problem
Manually uninstalling an Enterprise Application using the L2 debug technique
 
Cause
Unable to uninstall an enterprise application
 
Solution
Caution:
  • This is the L2 debug technique; use with caution.
  • This is the last option to try before reinstalling WebSphere® Application Server.
  • Manual changes are NOT recommended or supported.
  • If you have tried all other options, this can be used as a debug technique.

Manually uninstalling an Enterprise Application
  1. Stop all servers (dmgr, nodeagent, appservers, cluster, and clustermembers)

    Back up the existing configuration directories, using the backupConfig utility supplied with WebSphere, before performing any of the procedures described in this document. If the configuration changes applied by following one of these procedures results in the system no longer working, you can use the restoreConfig utility to return the configuration to its state prior to making the changes.

    Example:

    ND_Install_Root /bin>backupConfig.sh mydir/myBackupOfND.zip
    Node1_Install_Root /binbackupConfig.sh mydir/myBackupOfNode1.zip
    Node2_Install_Root /bin>backupConfig.sh mydir/myBackupOfNode2.zip

  2. Remove the application entry under applications folder under dmgr level.
    ND_Install_Root \config\cells\CellName\applications

Remove the application entry related to this application in serverindex.xml file under dmgr level for the node.
ND_Install_Root \config\cells\CellName\nodes\Node Name\serverindex.xml

Before
<deployedApplications>App1.ear/deployments/App1
</deployedApplications>
<deployedApplications>App2.ear/deployments/
FailingApp</deployedApplications>
<deployedApplications>App3.ear/deployments/App3</deployedApplications>
<specialEndpoints xmi:id="NamedEndPoint_1" endPointName="CELL_DISCOVERY_ADDRESS">

After
<deployedApplications>App1.ear/deployments/App1</deployedApplications>
<deployedApplications>App3.ear/deployments/App3</deployedApplications>
<specialEndpoints xmi:id="NamedEndPoint_1" endPointName="CELL_DISCOVERY_ADDRESS">

  1. Start dmgr.

  2. Start nodeagents.

  3. Start the administrative console and check the applications.

  4. Check the synchronization status.

    If the Nodes are NOT synchronized, select the nodes, then click Full Resynchronize.
  5. Check the synchronization status.
If you have any synchronization problems, refer to the following technote.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s): Windows
Software version: 5.1.1.3
Software edition:
Reference #: 1177290
IBM Group: Software Group
Modified date: Feb 27, 2005