Problem about JBoss dependencies
I've an activity doesn't work after deploy on JBoss bundle.
It's a human task with a form and list widget. In Studio, for load this list, I use a Java code written in Eclipse and I've exported it as Jar file. I've imported this jar file in my Studio in applications dependencies and all works fine .
Then I've generated bar file and imported in Jboss bundle but when this task is loading, I got an exception because :
Script10.groovy: 1: unable to resolve class fr.actia.control.RetourneList This is my jar.
My question is : where should I to add my jar in JBoss directories ?
Thanks in advance.
What is the version of JBOSS bundle that you have installed ?
Then have you followed up these instructions ? http://documentation.bonitasoft.com/jboss-bundle-2
Keep in mind that Java 1.8 is not supported. http://documentation.bonitasoft.com/hardware-and-software-requirements-0
The BonitaBPM Studio uses a embedded Tomcat 7 version, so it seems you are facing a config issue on the JBOSS implementation. Have you tried to import and run a simple process without any external jar lib ?
Finally, when you built the bar file, is the jar included in the process dependencies ?
Thanks for the feedback.
Yes please add the jar to the process dependencies too. And send me the feedback.
Have you checked the logs in the JBOSS server if there is more information ?
In the meantime, are everything well initialized when using this process + jar ?
Finally about the last error, is a class/jar not missing ? org.jdom2 on you server side ?