Download
Abstract
An exception is thrown when getting all available attributes of a user with get() API.
Download Description
PK63326 resolves the following problem:
ERROR DESCRIPTION:
When all available attributes of a user are queried during a get() operation and there is at least one attribute that is problematic (for example, the attribute type in LDAP does not match the attribute type in Virtual Member Manager), then the whole query fails with a ClassCastException.
LOCAL FIX:
None
PROBLEM SUMMARY
USERS AFFECTED:
All users of IBM WebSphere Application Server V6.1 who use federated repositories (Virtual Member Manager - VMM).
PROBLEM DESCRIPTION:
An exception is thrown when getting all available attributes of a user with get() API.
RECOMMENDATION:
None
When all available attributes of a user are queried with get() API and there is at least one attribute definition in VMM that is different than the definition in LDAP (for example, the attribute type such as String in LDAP does not match the attribute type such as identifierType in Virtual Member Manager), then the whole query fails with ClassCastException:
Caused by: java.lang.ClassCastException: java.lang.String
incompatible with org.eclipse.emf.ecore.InternalEObject
at
org.eclipse.emf.ecore.util.EcoreEList.inverseAdd(EcoreEList.java
:249)
at
org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(N
otifyingListImpl.java:310)
at
org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:600)
at
com.ibm.ws.wim.adapter.ldap.LdapAdapter.setPropertyValue(LdapAda
pter.java:3183)
at
com.ibm.ws.wim.adapter.ldap.LdapAdapter.populateEntity(LdapAdapt
er.java:2987)
at
com.ibm.ws.wim.adapter.ldap.LdapAdapter.createEntityFromLdapEntr
y(LdapAdapter.java:1255)
at
com.ibm.ws.wim.adapter.ldap.LdapAdapter.get(LdapAdapter.java:129
5)
at
com.ibm.ws.wim.ProfileManager.getImpl(ProfileManager.java:1338)
at
com.ibm.ws.wim.ProfileManager.genericProfileManagerMethod(Profil
eManager.java:277)
at com.ibm.ws.wim.ProfileManager.get
(ProfileManager.java:326)
at
com.ibm.websphere.wim.ServiceProvider.get(ServiceProvider.java:3
45)
... 218 more
PROBLEM CONCLUSION:
The problem has been fixed. The ClassCastException will be logged as a warning in the trace and the whole get operation will not be failed again.
The fix for this APAR is currently targeted for inclusion in Fix Pack 6.1.0.19. Please refer to the Recommended Updates page for delivery information:
http://www.ibm.com/support/docview.wss?uid=swg27004980
Prerequisites
Download the UpdateInstaller below to install this fix.
Installation Instructions
Review the readme.txt for detailed installation instructions.
Download Package
Download package |
What is Fix Central (FC)? |
What is DD? |
Download | RELEASE DATE | LANGUAGE | SIZE(Bytes) | Download Options | ||
---|---|---|---|---|---|---|
6.1.0.0-WS-WAS-IFPK63326 | 4/20/2008 | US English | 62860 | FC | FTP | DD |
6.1.0.15-WS-WAS-IFPK63326 | 4/29/2008 | US English | 62940 | FC | FTP | DD |
6.1.0.17-WS-WAS-IFPK63326 | 6/4/2008 | US English | 62915 | FC | FTP | DD |
6.1.0.13-WS-WAS-IFPK63326 | 10/15/2008 | US English | 62932 | FC | FTP | DD |
Technical Support
Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server Support Web site (http://www.ibm.com/support/entry/portal/Overview/Software/WebSphere/WebSphere_Application_Server), or contact 1-800-IBM-SERV(U.S. only).
Problems (APARS) fixed
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg24018990