cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble deploying activiti-app (activiti 6) on Tomcat

ksgphellow
Champ on-the-rise
Champ on-the-rise

Hello,

I've been trying to deploy activiti-app and activiti-rest on my Tomcat for a few days now and have been having trouble.

The deployment of activiti-rest seems to go smoothly but the deployment of activiti-app always ends with this error log:  https://pastebin.com/F5F58GJn 

I tried using the unmodified activiti-app.war which uses H2 and have also modified it to use my PostreSQL DB.

My activiti-app.properties inside the modified .war file looks like this: https://pastebin.com/btBJdEtq

I can connect to that DB using Activiti in my Java Environment and cannot fathom why activiti-app isnt taking it.

I would be grateful for help

Thanks

1 ACCEPTED ANSWER

cjose
Elite Collaborator
Elite Collaborator

Ah ok, I don't think Activiti 6 is Java 9 ready! For your particular error, looks like it is related to Java 9. See another thread jaxb - How to resolve java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException in Java 9 - Stack...  with similar error

View answer in original post

13 REPLIES 13

cjose
Elite Collaborator
Elite Collaborator

it should be possible as long as you are pointing to the same database in all the three configurations.

CIju

ksgphellow
Champ on-the-rise
Champ on-the-rise

I am, I can also see the deployed Process Definitions, but weirdly I cant see the Process Instances that were started via Java and I cant start the Processes from the App ( getting "An Error Occured" with no details ).

cjose
Elite Collaborator
Elite Collaborator

If yuo are getting "An Error Occurred" on the screen, it means the process is not getting started correctly, This could be some issue in your process logic. You should find some stack trace on the server logs

cjose
Elite Collaborator
Elite Collaborator

I noticed that you opened up another thread for this, let's continue the discussion on the other thread