Undeploying the web application
Procedure for WebSphere™
- Open the Admin console for the WebSphere Application Server.
- Click Applications > Application Types > WebSphere enterprise applications.
- Select the check box next to the adapter; click Uninstall. This file is uninstalled from the application
- Delete all custom properties that you have previously added.
- Navigate to Servers > Server Types > WebSphere application servers > Server1 > Process
definition > Java Virtual Machine > Custom properties
- Select the check box next to derby.system.home, java.awt.headless, and
- Click Delete.
- Delete all temporary files and directories in the WebSphere Application Server profile.
- Go to WASInstallDir/profiles/profile name/temp/node name/server1 and delete the directory.
- Go to WASInstallDir/profiles/profile name/temp/wscache and delete the directory.
- Delete the profile you created for the web application using the Profile Management tool. For more information
about deleting profiles, see Deleting profiles.
Procedure for Apache Tomcat™
- Go to http://localhost:8080/manager/undeploy?path=/oslc-windchill
- WARNING – This command will delete the contents of the web application directory if it exists within
the appBase directory (typically “webapps”) for this virtual host. If you simply want to take an
application out of service, you should use the /stop command instead.
- Gracefully shut down the existing application, and remove it from Tomcat (which also makes this context path
available for reuse later). In addition, the document root directory is removed, if it exists in the appBase
directory (typically “webapps”) for this virtual host. This command is the logical opposite of the
- If this command succeeds, you will see a response like this: OK – Undeployed application at context