Clear out the WAS temporary directories and cached files
If the IBM WebSphere Application Server deployment manager, node agent, or application server will not start, you can try clearing out the temporary directories and cached files. Here are the steps to complete this procedure:
- Stop the deployment manager, node agent, and application server
- Back up the existing configurations
- Open a command line window as admin
- Navigate to PROFILE_ROOT\bin (i.e. D:\IBM\WebSphere\AppServer\profiles\profile1\bin)
- Run the command “backupConfig <backup file>”
- Repeat this backup step for every profile (Dmgr, AppSrv01, etc)
- Rename or archive the following directories
- PROFILE_ROOT/wstemp
- PROFILE_ROOT/temp
- PROFILE_ROOT/config/temp
- Repeat this step for every profile
- These folders will be recreated when the servers are restarted
- Delete the javasharedresources directory located at C:\Windows\System32\config\systemprofile\AppData\Local\javasharedresources
- Initialize the OSGI configuration and clear the OSGI cache
- Open a command line window as admin
- Navigate to PROFILE_ROOT/bin
- Run command “osgiCfgInit”
- Run command “clearClassCache”
- Repeat this step for every profile
- Start the deployment manager, node agent, and application servers