Page 1 of 1
JBoss jBPM workflow deployment failed
PostPosted:Wed Jan 25, 2017 8:14 am
by Ebatian
Hi all!
I am using OpenKM Community version 6.3.2 and tried to deploy a workflow from JBoss Developer Studio Version 5.0.0.GA and jBPM 3.3.1 like in the tutorial on the wiki (
https://wiki.openkm.com/index.php/Basic ... w_creation).
You can can see my deployment configurations in the attached image. When I click on "Deploy Process" I get this error message:
Connection failed
A connection to the server could not be established. Check you connection parameters and verify that the server is running.
Is the Server Deployer correct? I found the path "/OpenKM/admin/RegisterWorkflow" in another forum post.
I also tried "/OpenKM/workflow-register".
How do I find out which server port OpenKM is using?
Did I make some other mistake?
And should I not get this to work: How do you save your projects as PAR files in JBoss?
Thank you in advance!
Re: JBoss jBPM workflow deployment failed
PostPosted:Thu Jan 26, 2017 5:33 pm
by jllort
Re: JBoss jBPM workflow deployment failed
PostPosted:Fri Jan 27, 2017 8:38 am
by Ebatian
There are no servers available. Which server type do I have to define?
Re: JBoss jBPM workflow deployment failed
PostPosted:Sat Jan 28, 2017 5:22 pm
by jllort
You must configure tomcat server ( take a look here
https://wiki.openkm.com/index.php/Developer_Guide )
I suggest download openkm portable what goes with everything yet configured
https://sourceforge.net/projects/openkmportabledev/
Re: JBoss jBPM workflow deployment failed
PostPosted:Mon Jan 30, 2017 8:52 am
by Ebatian
The problem is that OpenKM runs on a remote server, so I can't use a Tomcat Server.
I guess I could define a "Deploy Only" server, but I don't know how to specify the right Deploy Directory since it has to deploy to the remote server and not my local file system.
Re: JBoss jBPM workflow deployment failed
PostPosted:Tue Jan 31, 2017 9:21 am
by jllort
You always can create the .par file and the upload in your production environment. When you have the workflow diagram view visible in your eclipse, you are able to create the .par file from menu options.
Re: JBoss jBPM workflow deployment failed
PostPosted:Tue Jan 31, 2017 11:17 am
by Ebatian
Yeah, I guess that will do. Thanks!
Re: JBoss jBPM workflow deployment failed
PostPosted:Tue Jun 13, 2017 6:12 pm
by dferguson
jllort wrote: ↑Sat Jan 28, 2017 5:22 pm
You must configure tomcat server ( take a look here https://wiki.openkm.com/index.php/Developer_Guide )
The documentation you referenced is very different that what goes with a OpenKM 6.3 installation.
However I think I stumbled through to the "
Add your openkm project at source tab " step, however the documentation is pretty vague at this point. Any further information would be helpful.
Re: JBoss jBPM workflow deployment failed
PostPosted:Wed Jun 14, 2017 6:50 pm
by jllort
You should go to the new documentation
https://docs.openkm.com/kcenter/ at the present of the post, was still not available new documentation. Here there's a workflow guide
https://docs.openkm.com/kcenter/view/wfg/
Re: JBoss jBPM workflow deployment failed
PostPosted:Thu Jun 15, 2017 1:16 pm
by dferguson
I found that my issue was improper selection of the graphical info file. I had mistakenly selected the *.jpdl.xml instead of the *.gpd.xml.
I finally found out how to deploy into a par file versus server deployment. However as a newb to this, the documentation is woefully difficult to follow.
Re: JBoss jBPM workflow deployment failed
PostPosted:Fri Jun 16, 2017 2:07 pm
by dferguson
I have another question regarding workflow developemnt.
When I edit the diagram the source code is not automatically updated to match. I have found that I have to manually edit the source code otherwise I generally get a failed transition when deployed. Not sure of this is a botched install of JBoss or one of its components. Any suggestions? At this point I am beginning to just edit the code manually, but as I develop more complicated workflows this will probably get more difficult.
Re: JBoss jBPM workflow deployment failed
PostPosted:Sat Jun 17, 2017 9:11 am
by jllort
The editor sometimes have problems, I suggest do a periodical backup, specially if you are going to do complex WF