Clearing Websphere cache

October 8, 2013 - 5:50pm
Submitted by gary

Websphere is a pain in the butt to deal with.

So whenever you have issues deploying a war file or any kind of issues,

first thing to try is to clear the websphere cache! I will do the trick 99% of the time!

to do so:

shut down websphere server.

/{websphereInstallPath}/IBM/WebSphere/AppServer/bin/clearClassCache.sh
rm -rf /{websphereInstallPath}/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/*
rm -rf /{websphereInstallPath}/IBM/WebSphere/AppServer/profiles/AppSrv01/wstemp/*
rm -rf /{websphereInstallPath}/IBM/WebSphere/AppServer/profiles/AppSrv01/temp/*
rm -rf /{websphereInstallPath}/IBM/WebSphere/AppServer/profiles/AppSrv01/tranlog/*

start server.