07-09-2019 12:52 PM
Hello all. I get the license for trying the Alfresco Process Services.
On my Lubuntu 18.04 64bit, I installed and run the dockers of the main app and the admin app.
The main app is on http://localhost:8082 I tried the REST API accessing from browser http://localhost:8082/activiti-app/api/enterprise/admin/tenants . I get a good JSON response ( [{"id":1,"name":"trial"}] ).
On the admin app, running on http://localhost:8083 , the endpoint settings are:
Server address: http://localhost
Server port: 8082
Context root: activiti-app
REST root: api
Username: admin@app.activiti.com
Password: admin
Unluckily the endpoint does not work. Checking the AJAX call, the response is "Unable to connect to the Activiti server." The ports are open on the firewall ( sudo ufw allow 8082 && sudo ufw allow 8083 )
I'm using Alfresco Process Services v1.9.0 and Docker 18.06.1-ce, build e68fc7a
PS: the documentation and the server log about license is wrong. I tried to put it to $USER_HOME/.activiti/enterprise-license as documented, but it did not work. The log of Spring says the home was `root`, so I created under /root the directories, copied the license file and changed the ownership of the subfolders and the file to my user and the group to "docker". Nothing. I had to upload the license from interface.
07-12-2019 11:06 AM
Ok, putting the id of the machine from `ifconfig` works.
Just for your information, the Activiti app accepts `localhost`...
07-10-2019 08:43 AM
I also tried with this command without success:
docker run --name alfresco_admin -p 8083:8080 -d -e ACTIVITI_ADMIN_REST_APP_HOST='http://localhost' -e ACTIVITI_ADMIN_REST_APP_PORT='8082' -e ACTIVITI_ADMIN_REST_APP_USERNAME='admin@app.activiti.com' -e ACTIVITI_ADMIN_REST_APP_PASSWORD='admin' alfresco/process-services-admin
07-12-2019 06:25 AM
If you are using Docker you can't set localhost as the endpoint of another Docker component, you should set the Docker Endpoint IP generated at runtime. Maybe the issue is just this.
Hope this helps.
07-12-2019 11:06 AM
Ok, putting the id of the machine from `ifconfig` works.
Just for your information, the Activiti app accepts `localhost`...
Explore our Alfresco products with the links below. Use labels to filter content by product module.