PQ72272: Need to specify that LDAP properties assigned to the user and group filters and ID maps need to be unique keys | |||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||
APAR status Closed as documentation error. Error description In InfoCenter 5, in the "Configuring Lightweight Directory Access Protocol search filters" section, a key point is missing about the LDAP attributes assigned to the user and group filters and ID maps. For the step to modify the user filter, it should be added that the property assigned to %v in the filter must be a unique key (e.g., no two LDAP entries with the same object class should have the same user property value). For the step to modify the group filter, it should be added that the property assigned to %v in the filter must be a unique key (e.g., no two LDAP entries with the same object class or classes should have the same group property value).Local fix For the step to modify the User ID Map filter, it should be added that the property used to set the short name of a user must be a unique key (e.g., no two LDAP entries with the same object class should have the same short name). For the step to modify the Group ID Map filter, it should be added that the property used to set the short name of a group must be a unique key (e.g., no two LDAP entries with the same object class should have the same short name). LOCAL FIX: None.Problem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server Enterprise * * users * **************************************************************** * PROBLEM DESCRIPTION: Dynamic Query run-time * * ClassCastException is caused by a * * bad mapping of java.lang.Boolean to * * tinyint. Users will see the following * * error: * * RUNTIME EXCEPTION, * * com.ibm.websphere.csi.CSIException: * * unable to get EJBObject; nested * * exception is: * * com.ibm.websphere.csi.CSIException: * * unable to get wrapper; nested * * exception is: * * java.lang.ClassCastException: * * java.lang.Byte * * * * This problem is caused because the * * CMP EJB field of type * * java.lang.Boolean is mapped to an IBM * * Cloudscape or MSSQLServer column of * * type tinyint. It might occur with a * * user meet-in-the-middle mapping or * * with a default mapping created by the * * ejbdeploy tool. The Dynamic Query * * Service does not handle this mapping * * correctly. * **************************************************************** * RECOMMENDATION: * **************************************************************** The following are work arounds for this issue: Work around 1 1. Change the enterprise bean. 2. In the CMP EJB field, change the CMP attribute type from java.lang.Boolean to the java primitive type boolean. 3. Use any of the following: The default top-down mapping option of the ejbdeploy tool The default top-down mapping option in WebSphere Studio Application Developer . The meet-in-the-middle mapping option of WSAD 4. Deploy the enterprise bean. Work around 2 1. Change the database table column type. 2. Change the IBM Cloudscape or MSSQLServer column type from tinyint to smallint. 3. Map java.lang.Boolean to smallint using the meet-in-the-middle mapping option of WebSphere Studio Application Developer 4. Deploy the enterprise bean. Note: You can use the top-down mapping option of the ejbdeploy tool or WebSphere Studio Application Developer. To do so, click the top-down mapping option in WebSphere Studio Application Developer, open the table editor from the mapping editor, edit the tinyint column, and replace the type with a smallint.Problem conclusion Close this APAR as a documentation change. This information already appears on the external Web site as tech. note #1105521.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ72272
IBM Group: Software Group
Modified date: Jun 3, 2004
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.