Page 1 of 1

Java procedure call in a workflow

PostPosted:Mon Jan 13, 2020 4:59 pm
by kouadio
Hello,
After several attempts, I do not know where to turn, I come back to you. In fact, being really new, I can't run a single java class API.
For example, following this tutorial (https://docs.openkm.com/kcenter/view/wf ... -node.html), here is the error I get in my catalina.log file:
org.jbpm.instanciation.Delegation.instanciate couldnt't instanciate class 'com.openkm.sample.ValueAction'. While the file ValueAction.java does exist in the "/src/main/java" directory

Re: Java procedure call in a workflow

PostPosted:Sat Jan 18, 2020 10:39 am
by jllort
Did you added the Action class in your par file ? you can check unzip the par file ( really is a zip )

Re: Java procedure call in a workflow

PostPosted:Tue Jan 21, 2020 4:36 pm
by kouadio
Indeed, I did not add the path of the Action class to the project. But when I add it, I get the following error when creating the PAR file: There was a problem creating the process archive to deploy.

I add the java class according to the following attachment

Re: Java procedure call in a workflow

PostPosted:Thu Jan 23, 2020 1:05 pm
by kouadio
When I restart my virtual development machine and also restart Eclipse, I get the following error: "Initializing.java Tooling" has encountered a problem. A internal error occurred during "Initializing.java Tooling".

Re: Java procedure call in a workflow

PostPosted:Sat Jan 25, 2020 11:06 am
by jllort
Sometimes eclipse turns crazy, I suggest periodical backups of the projects and in case you get disconfigured or errors like it you can go back. I suggest start a empty project and repeat the process again.