[jboss-user] [jBPM] - Re: JBPM + LDAP - can login, but HumanTask error appears in the jboss log

aemdtuc do-not-reply at jboss.com
Tue May 28 05:26:37 EDT 2013


aemdtuc [https://community.jboss.org/people/aemdtuc] created the discussion

"Re: JBPM + LDAP - can login, but HumanTask error appears in the jboss log"

To view the discussion, visit: https://community.jboss.org/message/819812#819812

--------------------------------------------------------------
now I'm having a hard time with another thing, that I'm not sure why

ERROR [stderr] (Thread-131) javax.naming.InvalidNameException: ldap.role.ctx: [LDAP: error code 34 - 0000208F: NameErr: DSID-031001BA, problem 2006 (BAD_NAME), data 8350, best match of:
ERROR [stderr] (Thread-131)     'ldap.role.ctx'
ERROR [stderr] (Thread-131) ]; remaining name 'ldap.role.ctx'
ERROR [stderr] (Thread-131) at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
ERROR [stderr] (Thread-131) at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
ERROR [stderr] (Thread-131) at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
ERROR [stderr] (Thread-131) at com.sun.jndi.ldap.LdapCtx.searchAux(Unknown Source)
ERROR [stderr] (Thread-131) at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source)
ERROR [stderr] (Thread-131) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Unknown Source)
ERROR [stderr] (Thread-131) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
ERROR [stderr] (Thread-131) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
ERROR [stderr] (Thread-131) at javax.naming.directory.InitialDirContext.search(Unknown Source)
ERROR [stderr] (Thread-131) at org.jbpm.task.identity.LDAPUserGroupCallbackImpl.getGroupsForUser(LDAPUserGroupCallbackImpl.java:245)
ERROR [stderr] (Thread-131) at org.jbpm.task.service.TaskServiceSession.doCallbackGroupsOperation(TaskServiceSession.java:1568)
ERROR [stderr] (Thread-131) at org.jbpm.task.service.TaskServiceSession.doUserGroupCallbackOperation(TaskServiceSession.java:1213)
ERROR [stderr] (Thread-131) at org.jbpm.task.service.TaskServiceSession.getTasksAssignedAsPotentialOwnerByStatus(TaskServiceSession.java:794)
ERROR [stderr] (Thread-131) at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:359)
ERROR [stderr] (Thread-131) at org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)
ERROR [stderr] (Thread-131) at org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)
ERROR [stderr] (Thread-131) at java.lang.Thread.run(Unknown Source)


do you know that is it about?!

My properties file now looks like this:

java.naming.security.principal=user\\userread
java.naming.security.credentials=passwd
ldap.user.ctx=
ldap.role.ctx=
ldap.user.filter=(&(objectClass\=user)(userPrincipalName\={0}))
ldap.role.filter=
ldap.user.roles.filter=(&(objectClass\=group)(member\:1.2.840.113556.1.4.1941\:\={0}))
java.naming.provider.url=ldap://domain\:port


I already tried setting a ldap.role.ctx and ldap.user.ctx, but I always get the same error message.

Thanks in advance
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/819812#819812]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130528/e188bf6b/attachment.html 


More information about the jboss-user mailing list