Tuesday, May 21, 2013

WebSphere Class not Found issue

WAS SystemOut.log showed class not found issue on Tuesday morning after re-deployment for an enterprise application.

Enterprise Applications > BatchSchedulerEAR > Manage Modules > BatchSchedulerEJB.jar > View Class Loader (Select Server)
From WAS admin console, navigate to Enterprise Applications -> WebSphere enterprise applications -> select ["the Application"], and then navigate to Manage Modules, click ["the modules"] -> View Module Class Loader

We found there is no Module Class Loader defined.

Later we also found the data source definition were missing as well.

http://pic.dhe.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=%2Fcom.ibm.websphere.express.doc%2Finfo%2Fexp%2Fae%2Frtrb_classload_viewer.html

http://websphereapplicationservernotes.files.wordpress.com/2012/04/websphere-doctor-class-loader-viewer.pdf

http://www-01.ibm.com/support/docview.wss?uid=swg21344473
- Go to Application Servers -> -> Process Definition -> Environment Entries:
Add PATH / LD_LIBRARY_PATH / SHLIB_PATH (depending on OS) pointig to CRN_HOME\bin
- Go to Application Servers -> -> Process Definition -> Java Virtual Machine:
The CLASSPATH option must be set to include (not BOOTCLASSPATH).
- Go to Application Servers -> -> Process Definition -> Java Virtual Machine:
The CLASSPATH option must be set to include (not BOOTCLASSPATH).

http://publib.boulder.ibm.com/infocenter/ieduasst/v1r1m0/index.jsp?topic=/com.ibm.iea.was_v6/was/6.0/Runtime/WASv6_ClassLoader_PD/player.html

http://www-01.ibm.com/support/docview.wss?uid=swg21219358

http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=%2Fcom.ibm.websphere.express.doc%2Finfo%2Fexp%2Fae%2Fcrun_classload.html

No comments:

Post a Comment