Download
Abstract
JNDI lookup added for the application results in java.lang.NoClassDefFoundErrror.
Download Description
PK14175 resolves the following problem:
ERROR DESCRIPTION:
An application was developed using RAD 6.0 for WebSphere AppServer. It contained an application-scoped resource. The application was then installed in WebSphere AppServer 6.0 for
an application that only supports JCA 1.0. When the jndi name is searched for, a java.lang.NoClassDefFoundError results.
.
[8/30/05 15:43:19:798 EDT] 00000015 SystemOut O
WcsApp.initialize() exception java.lang.NoClassDefFoundError:
com/ibm/commerce/component/contextservice/util/BusinessContextFa
cade
This was also logged
[8/30/05 15:43:20:032 EDT] 00000015 WebExtensionP E
SRVE0026E: [Servlet Error]-[javax.servlet.ServletException
There is a single file at EAR level in META-INF directory, ibm-jcajndi.props.
The contents look like -
rar.object.jndiname:fvtadapter.rar:fvt.adapter.message.FVTMessag eProvider=aaaaaaa
rar.object.jndiname:fvtadapter.rar:javax.jms.MessageListener=bbbbbb
rar.object.jndiname:fvtadapter.rar:javax.sql.DataSource=ccccccc
rar.object.name:fvtadapter.rar:fvt.adapter.message.FVTMessageProvider=ddddddd
rar.object.name:fvtadapter.rar:javax.jms.MessageListener=eeeeee
rar.object.name:fvtadapter.rar:javax.sql.DataSource=fffffffffffffff
The format of these ids israr.object.jndiname:rarURI:ID=jndiName
The JCA 1.5 code handles these definitions. The JCA 1.0 code does not.
LOCAL FIX:
None
PROBLEM SUMMARY
USERS AFFECTED:
WebSphere Application Server users of version 6.0.2.
PROBLEM DESCRIPTION:
JNDI lookup added for the application results in java.lang.NoClassDefFoundErrror
RECOMMENDATION:
None
When embedded RAR functionality is used for defining the J2C Resource Adapters, this results in java.lang.NoClassDefError when the JNDI lookup is done. Embedded RAR processing results
in this error.
PROBLEM CONCLUSION:
Code was changed to accommodate the processing of an embedded RAR.
The fix for this APAR is currently targeted for inclusion in fixpack 6.0.2.7.
Please refer to the recommended updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Prerequisites
Please download the UpdateInstaller below to install this fix.
Installation Instructions
Please review the readme.txt for detailed installation instructions.
Technical Support
Contact IBM Support using SR (http://www-306.ibm.com/software/support/probsub.html), visit the WebSphere Application Server Support Web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV(U.S. only).
Problems (APARS) fixed
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg24011325