Monday, November 21, 2016

How to manually uninstall an application in WebSphere Application base 8.5

How to manually uninstall an application in WebSphere Application base 8.5

1. Stop the Websphere Application Server
2. Do a search for your ear file in the file system and delete all the occurrences of the XXX.ear folder
Once we deleted these entire exampleXX.ear folders and deleted all
3. Delete all the contents of temp and wstemp folder.
4. Go to profiles<profileName>defaultconfigcells<cellName>nodes<nodeName>
Edit the file serverindex.xml for an entry for our application within the tag
Exmaple
<deployedApplications>xxx.ear</deployedApplications>
5. Start the Websphere Application Server
6. Redeploy the application to the Websphere Application Server

2 comments:

  1. https://www.ibm.com/support/pages/composition-unit-name-maximo-already-exists

    ReplyDelete
    Replies
    1. To resolve this issue, delete the following deployment folders, replacing MAXIMO.ear with the name of the ear file deployed.

      \profiles\ctgAppSrv01\config\cells\ctgCell01\applications\MAXIMO.ear.
      \profiles\ctgAppSrv01\config\cells\ctgCell01\cus\MAXIMO
      \profiles\ctgAppSrv01\config\cells\ctgCell01\blas\MAXIMO
      \profiles\ctgAppSrv01\installedApps\ctgCell01\MAXIMO.ear

      \profiles\ctgDmgr01\config\cells\ctgCell01\cus\MAXIMO
      \profiles\ctgDmgr01\config\cells\ctgCell01\blas\MAXIMO
      \profiles\ctgDmgr01\config\cells\ctgCell01\applications\MAXIMO.ear

      Also open

      IBM\WebSphere\AppServer\profiles\\config\cells\\nodes\\serverindex.xml

      Look for maximo.ear and remove that line. Once done, redeploy the maximo.ear file.

      Delete