Posts tagged "errorCode"

LiveCycle ES: IDPSystemExceptionorigin using DirectoryManagerServiceClient.findGroupMembers()

Issue

When you use the LiveCycle ES API method “DirectoryManagerServiceClient.findGroupMembers()” in a custom application, the following exception may occur:

####<Mar 8, 2010 9:31:28 AM MET> <Info> <EJB> <sunc01126> <wl01ialc01> <[ACTIVE] ExecuteThread: '1' for queue: 
'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-0F2A55F8B8D325A5DE0E> <> <1268037088883> <BEA-010051> 
<EJB Exception occurred during invocation from home: 
com.adobe.idp.um.businesslogic.directoryservices.DirectoryServicesManagerBean_jrc290_LocalHomeImpl@ad9846 threw exception: 
com.adobe.idp.common.errors.exception.IDPSystemExceptionorigin: | 
[com.adobe.idp.storeprovider.jdbc.DBObjectSet] errorCode:12290 errorCodeHEX:0x3002 message:nextElement failure| 
[com.adobe.idp.storeprovider.jdbc.DBResult] errorCode:12290 errorCodeHEX:0x3002 message:object update failure| 
[com.adobe.idp.common.infomodel.StoreId] errorCode:12550 errorCodeHEX:0x3106 message:string length wrong
com.adobe.idp.common.errors.exception.IDPSystemExceptionorigin: | 
[com.adobe.idp.storeprovider.jdbc.DBObjectSet] errorCode:12290 errorCodeHEX:0x3002 message:nextElement failure| 
[com.adobe.idp.storeprovider.jdbc.DBResult] errorCode:12290 errorCodeHEX:0x3002 message:object update failure| 
[com.adobe.idp.common.infomodel.StoreId] errorCode:12550 errorCodeHEX:0x3106 message:string length wrong
 at com.adobe.idp.common.util.IDPUtil.raiseIDPSystemException(IDPUtil.java:147)
 at com.adobe.idp.um.businesslogic.directoryservices.DirectoryServicesManagerBean.findGroupMembers(DirectoryServicesManagerBean.java:4261)
 at com.adobe.idp.um.businesslogic.directoryservices.DirectoryServicesManagerBean_jrc290_ELOImpl.findGroupMembers(DirectoryServicesManagerBean_jrc290_ELOImpl.java:1504)
 at com.adobe.idp.um.api.impl.DirectoryManagerImpl.findGroupMembers(DirectoryManagerImpl.java:928)
 at com.adobe.idp.um.dscservice.DirectoryManagerServiceImpl.findGroupMembers(DirectoryManagerServiceImpl.java:238)
 at sun.reflect.GeneratedMethodAccessor1366.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)

 Solution

  1. Validate the GroupOID string and ensure that it is not the standard Group name, but an identifier of 36 characters.
  2. Validate the members of the group to ensure that they are valid objects. It is possible that one of the members has been corrupted due to manual changes through the API. Remove any corrupt members and re-create them to proceed.

Additional information

The most likely cause of this exception is that there is an invalid GroupOID being passed into the search filter used in the findGroupMembers() method. The OID strings are identifiers with 36 characters. You cannot use the standard Group name for the search filter. You can verify the GroupOID and the members of the group are valid by using the following code:
_____________________________________

DirectoryManagerServiceClient dmsc = new DirectoryManagerServiceClient(myFactory);
Principal group = dmsc.findPrincipal("9462F437-8669-0D04-24F8-F00CDF80A09E");
System.out.println("Group found: "+group.getCommonName());

GroupMembershipSearchFilter gsf = new GroupMembershipSearchFilter();
gsf.setGroupOid("9462F437-8669-0D04-24F8-F00CDF80A09E");

List<Principal> members = dmsc.findGroupMembers(gsf);
System.out.println("Members found:"+members.size());

for(Principal p : members){
 System.out.println("Principal found: " + p.getCommonName());
}
__________________________________________

reference: (181484795)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

LiveCycle ES: AuthenticationManagerImpl errorCode:16386 errorCodeHEX:0x4002

Issue

The following exception occurs when you were running custom Java code to interact with Adobe LiveCycle 7 Workflow using LDAP lookups and migrate to LiveCycle ES:

[04 Mar 2010 10:32:27, 058] ERROR (WorklistController.java:66) - java.lang.Exception: | 
[com.adobe.idp.um.api.impl.AuthenticationManagerImpl] errorCode:16386 errorCodeHEX:0x4002 message:
user_identifier:myuniqueid=XXXXXXXX,ou=people,dc=company,dc=com domain:LDAP Production| 
[com.adobe.idp.um.businesslogic.directoryservices.DirectoryServicesManagerBean] errorCode:13316 errorCodeHEX:0x3404 message:
user_identifier:myuniqueid=XXXXXXXX,ou=people,dc=company,dc=com domain:LDAP Production
com.pictet.livecycleworkflow.restservices.client.exceptions.ResourceOperationException: java.lang.Exception: | 
[com.adobe.idp.um.api.impl.AuthenticationManagerImpl] errorCode:16386 errorCodeHEX:0x4002 message:
user_identifier:myuniqueid=XXXXXXXX,ou=people,dc=company,dc=com domain:LDAP Production| 
[com.adobe.idp.um.businesslogic.directoryservices.DirectoryServicesManagerBean] errorCode:13316 errorCodeHEX:0x3404 message:
user_identifier:myuniqueid=XXXXXXXX,ou=people,dc=company,dc=com domain:LDAP Production
 at com.company.livecycleworkflow.restservices.client.impl.AbstractLiveCycleWorkflowRestServiceClient.sendRequest(AbstractLiveCycleWorkflowRestServiceClient.java:92)
 at com.company.livecycleworkflow.restservices.client.impl.AbstractLiveCycleWorkflowRestServiceClient.readRestUrl(AbstractLiveCycleWorkflowRestServiceClient.java:100)
 at com.company.livecycleworkflow.restservices.client.impl.LiveCycleWorkflowRestServiceClientImpl.getActivities(LiveCycleWorkflowRestServiceClientImpl.java:47)
 at com.company.livecycleworkflow.restservices.client.impl.LiveCycleWorkflowRestServiceClientImpl.getActivities(LiveCycleWorkflowRestServiceClientImpl.java:40)
 at com.company.managerscomments.controller.WorklistController.handleRequestInternal(WorklistController.java:54)
 at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
 at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
 at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:723)
 at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663)
 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:394)
 at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:348)

The method that throws this error is: authResult = auth.getAuthResultOnBehalfOfUser(“myuniqueid=XXXXXXXX, ou=people”, “LDAP Production”, context).

Reason

This exception occurs when you don’t use the same user DN in the Java code as is stored in LDAP and in the LiveCycle database.

For example, the myuniqueID in the EDCPRINCIPALENTITY table is:

myuniqueid=XXXXXXXX,ou=People,dc=company,dc=com

and in the Java code it’s:

myuniqueid=XXXXXXXX,ou=people,dc=company,dc=com

The ou has a capital “P” in LDAP and in the DB, but in the Java code, it was attempting to find the user with a lowercase “p” for the ou. This error can occur in LiveCycle ES as Adobe changed the LDAP synchronization algorithm to canonicalize the DN strings during synchronization. As a result, the DN strings appear in the DB exactly as they are defined in LDAP (including case-sensitivity).

Solution

Make sure that you are using exactly the same user DN in the Java code as it is stored in LDAP and in the LiveCycle database.

reference: (181473688)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)