PQ65297: "JAVA.LANG.LINKAGEERROR: CLASS XXX VIOLATES CLASSLOADER CONTRAINTS" WHEN USING CLASSSHARING

 A fix is available

4.0.5: WebSphere Application Server Version 4.0 Fix Pack 5 (Version 4.0.5)



APAR status
Closed as program error.

Error description
This is not a classloader issue, but an issue with the 4.0 ORB.
We attempted to workaround this issue by implementing
classSharing in the classloader so that in theory EAR1 and EAR2
would be using the same class. So in theory customer's example
should have worked, but is failing due to bug in the
classSharing code.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 4.0.3 / 4.0.4 release.                       *
****************************************************************
* PROBLEM DESCRIPTION: JAVA.LANG.LINKAGE ERROR: Class          *
*                      violates classloader when using         *
*                      class sharing.                          *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The problem is due to missing dependent classes in the global
cache. Resolving dependent classes and adding them to global
cache fixes the problem.
Problem conclusion
Fixed code in EJBJarClassLoader.java file.
Temporary fix
PQ65297_eFix.jar
Comments
APAR information
APAR number PQ65297
Reported component name WEBSPHERE AE NT
Reported component ID 5630A2201
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-08-15
Closed date 2002-08-26
Last modified date 2002-08-26

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
RUNTIME          

SRLS

Fix information
Fixed component name WEBSPHERE AE NT
Fixed component ID 5630A2201

Applicable component levels
R400 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ65297
IBM Group: Software Group
Modified date: Aug 26, 2002