Franck cdsosi [https://community.jboss.org/people/cdsosi] created the discussion

"Process deployment questions"

To view the discussion, visit: https://community.jboss.org/message/752538#752538

--------------------------------------------------------------
Hi community,

I have several questions on process deployment in jBPM 5.

What are the different options for deploying a process for using it with JAS 7 
within jBPM console for instance?
1- First option is drools-guvnor obsvously
2- This also can be done manualkly as  
https://community.jboss.org/people/tsurdilovic Tihomir told me in a previous 
post ( https://community.jboss.org/message/751628#751628#751628 
https://community.jboss.org/message/751628#751628) :

"You don't really need guvnor for deployment. You could create the .pkg 
yourself using drools-ant tasks and push it to your own servers for example and 
let the client applications consume it. You could also if you are using the 
jBPM Console place your process definitions and artifacts like process image, 
task forms, dependency jars (such as service node impls for example) on the 
console classpath and it will be able to see them"

Is there any documentation on that 2nd solution or fas or anything else. I 
really want to understand how things are working and I must say that it is not 
the case  :( 
Where do you put the pkg once made? Actually I can find where the pkg files are 
located on server side.

3- I have install 5.3.0 Full package demo one more time and put some bpmn2 
processes in ...\jbpm-installer\sample\evaluation\src\main\resources
I thought I would have to put them in drools-guvnor and then build binary 
package so that to make them available in jBPM console but I did not and open 
the jBPM console directly and all my processes were available, is there 
anything parameterized in the demo so that jBPM console automatically scans 
...\jbpm-installer\sample\evaluation\src\main\resources directory? I can't see 
anything specifying that?
The jbpm.console.directory is empty in 
...\jbpm-installer\jboss-as-7.0.2.Final\standalone\deployments\jbpm-gwt-console-server\WEB-INF\classes\jbpm.console.properties
 from the jbpm-gwt-console-server.war... Can anyone explain to me that?

4- Another question delaing with deplyment : If I want to create a new Service 
Task with custom code Java Code with Domain Specific Service Task running on 
server, how do i make it available for process runtime engine. Do I need to 
make a jar and then what is the location to drop it so that it can be used at 
runtime?
Many exemples provided in user documentation seems to be eclipse oriented, I 
need to make things working remotly and I can find my way through documentation.
a- in file drools.session.conf from jbpm-gwt-console-server.war you specify 
which conf file to use (e.g. drools.workItemHandlers = 
CustomWorkItemHandlers.conf), correct?
b- in file CustomWorkItemHandlers.conf from jbpm-gwt-console-server.war you 
specify which class to instanciate (e.g. "Log": new 
org.jbpm.process.instance.impl.demo.SystemOutWorkItemHandler()), correct?
   => this class is located in 
...\jbpm-installer\jboss-as-7.0.2.Final\standalone\deployments\jbpm-gwt-console-server\WEB-INF\lib\jbpm-flow-5.3.0.Final.jar
Do I need to put the jar in the 
jbpm-installer\jboss-as-7.0.2.Final\standalone\deployments\jbpm-gwt-console-server\WEB-INF\lib
 directory and then re-package it as a war (jbpm-gwt-console-server.war). Is 
this the case does JAS needs to be re-started or is there another place for JAS 
so that modifications can be updated without needind JAS restart?
Is there a step by step documentation /post / article describing how I can make 
a personal Service Task running on server side.

I must say that this makes a huge amount of questions but any help would be 
appreciated !!

Kind Regards

Franck
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/752538#752538]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to