cancel
Showing results for 
Search instead for 
Did you mean: 

ldap configuring problem

paulrda
Champ in-the-making
Champ in-the-making
i referred activiti admin guide to configure ldap.( https://docs.alfresco.com/activiti/docs/admin-guide/1.4.0/#externalIdentityManagement )
after configuring i got this error. i do have valid license to activiti and i get this license problem only when i try to use ldap.

22-Jun-2016 10:33:05.411 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
22-Jun-2016 10:33:05.417 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
22-Jun-2016 10:33:05.418 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 40031 ms
10:33:05,624 [pool-1-thread-1] ERROR com.activiti.service.ActivitiEndpointLicenseService  - Unexpected license response (401) from Activiti endpoint: Activiti app
10:33:05,625 [pool-1-thread-1] ERROR com.activiti.service.ActivitiEndpointLicenseService  - No valid license found for Activiti endpoint: Activiti app
10:33:05,787 [http-nio-8080-exec-5] ERROR com.activiti.service.ActivitiEndpointLicenseService  - Unexpected license response (401) from Activiti endpoint: Activiti app
10:33:05,787 [http-nio-8080-exec-5] ERROR com.activiti.service.ActivitiEndpointLicenseService  - No valid license found for Activiti endpoint: Activiti app

could you tell me the reason for this error. i used a cronexpression to synchronize users in ldap and it worked.


7 REPLIES 7

paulrda
Champ in-the-making
Champ in-the-making
im using apache directory studio to configure ldap.

jbarrez
Star Contributor
Star Contributor
Is this error coming from the admin app? If so, you need to properly configure the 'endpoint' in the admin app. It uses a REST call to determine the installed nodes.

paulrda
Champ in-the-making
Champ in-the-making
this error comes when i start the activiti bpm suite using ./start-activiti.sh command. i can access activiti-admin but cant access activiti-app page.  

paulrda
Champ in-the-making
Champ in-the-making
?

hari
Star Contributor
Star Contributor
Hi,

This is just a hint and might not be the exact solution you are looking for. Please check if you have any duplicate(different versions) commons-lang3 jar's in your activiti-app's lib folder. We ran into the very same issue after placing one into that folder and it took us a lot of time to realize that.

vsangal
Confirmed Champ
Confirmed Champ

I have a same problem.. Can't find a solution.. here are my settings in activiti-ldap.properties. Am I missing some other configuration ?

  1. ldap.authentication.enabled=true
  2. ldap.authentication.casesensitive=false
  3. ldap.authentication.java.naming.provider.url=ldap://<masked>:<masked>
  4. ldap.authentication.dnPattern=uid={0},ou=<masked>,dc=<masked>,dc=com

vsangal
Confirmed Champ
Confirmed Champ

I was able to pass through this. After enabling LDAP i was still using default admin username to connect. But since that user does not exist in LDAP, end point was failing. I had to alter another configuration to chain the authentication to use either LDAP or local users.