<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
problem with jbpm5 ldap integration
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/deepak.singhvi">Deepak Singhvi</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/756384#756384">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p><strong>I am trying to integrate jbpm5 with ldap.</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>env: jbpm5.3 /jboss7/ sample application/apacheDS(ldap)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I have tried few things but its not working properly.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>1) changed web.xml in jbpm-human-task-war.war in jboss7 deployments folder.</p><p>    modified user.group.callback.class value to LDAPUserGroupCallbackImpl from DefaultUserGroupCallbackImpl</p><p>       <init-param></p><p>      <param-name>user.group.callback.class</param-name></p><p>      <param-value>org.jbpm.task.service.LDAPUserGroupCallbackImpl</param-value></p><p>      </init-param></p><p>2) updated jbpm.usergroup.callback.properties with requried properties </p><p>    for e.g. ldap.user.ctx, ldap.role.ctx,ldap.user.roles.ctx, etc and kept in the war file, updated jbpm.usergroup.callback.properties the same in </p><p>    jbpm-human-task-core-5.3.0.Final.jar also in the lib of the above mentioned war, originally that file was empty.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>3) During the running ProcessTest.java sample i am getting the following error</p><p>  </p><p>0    28/08 14:19:37,871[main] ERROR workitem.wsht.GenericHTWorkItemHandler.executeWorkItem  - Tue Aug 28 14:19:37 GMT+05:30 2012: Error when creating task on task server for work item id 1. Error reported by task server: There are no known Business Administrators, task cannot be created according to WS-HT specification</p><p>org.jbpm.task.service.CannotAddTaskException: There are no known Business Administrators, task cannot be created according to WS-HT specification</p><p>  at org.jbpm.task.service.TaskServiceSession.doCallbackOperationForPeopleAssignments(TaskServiceSession.java:1186)</p><p>  at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:167)</p><p>  at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:144)</p><p>  at org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:44)</p><p>  at org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:85)</p><p>  at java.lang.Thread.run(Thread.java:619)</p><p>Process started ...</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Not sure what i need to do get rid of this error.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>My ldap is running on the default port.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>following error is coming in ldap as well.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>[14:19:37] ERROR [org.apache.directory.server.ldap.handlers.UnbindHandler] - failed to unbind session properly</p><p>org.apache.directory.shared.ldap.exception.LdapNameNotFoundException:</p><p>        at org.apache.directory.server.core.partition.DefaultPartitionNexus.getPartition(DefaultPartitionNexus.java:1138)</p><p>        at org.apache.directory.server.core.partition.DefaultPartitionNexus.unbind(DefaultPartitionNexus.java:831)</p><p>        at org.apache.directory.server.core.interceptor.InterceptorChain$1.unbind(InterceptorChain.java:212)</p><p>        at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1361)</p><p>        at org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:241)</p><p>        at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1361)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Can anybody point to a complete example on the integration.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Deepak</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p> <span> :) </span></p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/756384#756384">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>