IBM Support

PK14175; 6.0.2.3: java.lang.noclassdeffounderror

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.

[{"PRLabel":"UpdateInstaller","PRLang":"US English","PRSize":"7250000","PRPlat":{"label":"AIX","code":"PF002"},"PRURL":"http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991"}]

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"6806","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK14175/readme.txt"}]
Off
[{"DNLabel":"6.0.2.5-WS-WS-IFPK14175","DNDate":"12-21-2005","DNLang":"US English","DNSize":"48805","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK14175/6.0.2.5-WS-WS-IFPK14175.pak","DNURL_FTP":null,"DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK14175/6.0.2.5-WS-WS-IFPK14175.pak"}]

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).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Administrative Console (all non-scripting)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.0.2.3","Edition":"Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24011325