cancel
Showing results for 
Search instead for 
Did you mean: 

Admin App Endpoint configuration Issue

maxbaba
Champ in-the-making
Champ in-the-making
Hi - I have deployed activiti-app and activiti-admin app on tomcat. I configured the cluster and rest endpoint in the property files as per docs and able to launch Activiti-App and Admin app. However, when I try to update the end point configuration on admin app by uisng the ldap credentials for a tenant-admin, I get invalid credentials error with the following log entries.

04:04:15,693 [pool-2-thread-1] DEBUG com.activiti.addon.cluster.SendEventsRunnable  - About to send Activiti Node events…
04:04:15,700 [pool-2-thread-1] WARN  com.activiti.addon.cluster.AdminAppService  - Could not post events to Activiti Admin Application. Received status code: 404
04:04:19,625 [pool-1-thread-1] ERROR com.activiti.service.ActivitiEndpointLicenseService  - Non-enterprise Activiti endpoint: Activiti app
04:04:19,625 [pool-1-thread-1] ERROR com.activiti.service.ActivitiEndpointLicenseService  - No valid license found for Activiti endpoint: Activiti app

There are two types of errors in the above logs:

[1] Could not post events to Activiti Admin Application

[2] Non-enterprise Activiti endpoint: Activiti app; No valid license found for Activiti endpoint

Please shed light if possible. Thanks.
12 REPLIES 12

jbarrez
Star Contributor
Star Contributor
One quick way to resolve it is to have 'database fallback' on when using ldap and using the DB user for the admin calls.
Otherwise, the ldap user/password should be configured in the endpoint.

soumyasishdutta
Champ in-the-making
Champ in-the-making
Hi Experts,

I have changed my tomcat port to a custom one. I have changed connector port for http in tomcat server.xml. I'm looking for if any other place this needs change. Because activiti is up but getting two warning repeatedly on the console.

01:41:29,578 [pool-2-thread-1] WARN  com.activiti.addon.cluster.AdminAppService  - Error posting events to Activiti Admin Application: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
01:41:32,234 [pool-4-thread-5] WARN  com.activiti.service.runtime.PublishAdminAppEventsService  - Error posting events to Activiti Admin Application: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect

eamas5525
Champ on-the-rise
Champ on-the-rise

I fixed this by entering my activiti-app 's admin user password, which I had changed as soon as I launched the app. My steps are similar to above comments:

  • Navigate to your activiti-admin console > Configuration > Edit REST endpoint
  • At the bottom where it says to leave the password field blank if you want to keep the current one, enter your activiti-app's admin@app.activiti.com password (changed or not). Make sure your other settings are correct. Save your changes.
  • Select the "Check REST endpoint" - here I got a success message and stopped getting Activiti Admin errors in my logs.

Using Activiti 1.5 and 1.5.2. Hope this helps someone.