Problem
After stopping the WebSphere Application Server, it does not restart and in the native_stdout.log we see the below error :
.
WSVR0703W
com.ibm.ws.runtime.WsServer
java.lang.NoClassDefFoundError:
org.eclipse.hyades.logging.events.cbe.impl.EventFactoryContext
at com.ibm.ejs.ras.Tr.<clinit>(Tr.java:304)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
at com.ibm.ejs.ras.RasHelper.setServer(RasHelper.java:249)
at com.ibm.ws.runtime.WsServer.<clinit>(WsServer.java:50)
..........
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:111)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.hyades.logging.events.cbe.impl.EventFactoryContext
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
.
Cause
Possible osgi class cache got corrupted
After stopping the WebSphere Application Server, it does not restart and in the native_stdout.log we see the below error :
.
WSVR0703W
com.ibm.ws.runtime.WsServer
java.lang.NoClassDefFoundError:
org.eclipse.hyades.logging.events.cbe.impl.EventFactoryContext
at com.ibm.ejs.ras.Tr.<clinit>(Tr.java:304)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
at com.ibm.ejs.ras.RasHelper.setServer(RasHelper.java:249)
at com.ibm.ws.runtime.WsServer.<clinit>(WsServer.java:50)
..........
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:111)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.hyades.logging.events.cbe.impl.EventFactoryContext
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
.
Cause
Possible osgi class cache got corrupted
Resolution ::
Run the following steps in order to clear Websphere class caches :
.
- cd IBM/WebSphere/AppServer/profiles/Dmgr01/bin
- run ./clearClassCache.sh
- run ./osgiCfgInit.sh
- cd /tmp/ to confirm that javasharedresources folder is gone
- remove the contents of the following directories:
- profile_root/temp/
- profile_root/wstemp/
- profile_root/config/temp/
then run ./startNode.sh
Also see reference TN:
"How to clear the WebSphere class caches"
http://www-01.ibm.com/support/docview.wss?uid=swg21607887
Run the following steps in order to clear Websphere class caches :
.
- cd IBM/WebSphere/AppServer/profiles/Dmgr01/bin
- run ./clearClassCache.sh
- run ./osgiCfgInit.sh
- cd /tmp/ to confirm that javasharedresources folder is gone
- remove the contents of the following directories:
- profile_root/temp/
- profile_root/wstemp/
- profile_root/config/temp/
then run ./startNode.sh
Also see reference TN:
"How to clear the WebSphere class caches"
http://www-01.ibm.com/support/docview.wss?uid=swg21607887
Above info find on ::
http://www-01.ibm.com/support/docview.wss?uid=swg21672201
0 comments:
Post a Comment