Hi,
I am using the Jbpm-enterprise ear, which is a littte modified to enable the use of seam together with the jbpm console.
Then I have my own ear file which contains some ejb's and a webapp, which talks to a jbpm process (my application...).
Build for JBoss 4.2.2 and seam 2.0.1, jbpm-jpdl-3.2.3
Now comes the weird thing:
When I deploy the the webapp before the jbpm-enterprise ear the webapp works...
When I deploy the jbpm-enterprise ear first the jbpm process works, but the webapp issues the error: Error loading jbpm configuration: null (I can't get a logging furter than this, tried everything...)
When I go the the .../jbpm-console and do a refresh (not logging in) and then again go the the webapp it works!
Anyone a suggestion where to look further?
Thans
Frans
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169756#4169756
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169756
Hi,
I've we got the situation where the first node of my business process starts EJB3 transaction and the last node either commits it or rolls back. The problem I have now is that each action seems to be transactional, in other words all JPA operations that reside in the SLSB actions turn out to be persistent after the action method ends.
Can anyone suggest how to organize proper transaction demarcation with jBPM, or is it purely EJB3 & Seam issue?
Thanks,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169736#4169736
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169736
I'm a bit put down seeing lack of information on using EL in jBPM.
The maximum I could find is a chapter Expressions http://docs.jboss.org/jbpm/v3/userguide/jpdl.html#expressions in the jbpm reference guide.
There is not a single mentioning of how to use them among jBPM examples.
Sure, there are pieces of code scattered through Internet and searchable by Google, but it feels sorta wrong learning stuff that way, it is inconsistent.
It would be nice to see more EL examples in the manual, I guess I might raise a feature request if I'm not alone on this. Especially this applies to using jBPM with Seam (as stated towards the end of the above mentioned chapter).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169640#4169640
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169640
Thanks for the reply!
I also tried
| JbpmContext jbpmContext = JbpmConfiguration.getInstance().createJbpmContext();
| try {
| ProcessDefinition emailProcess = ProcessDefinition.parseXmlResource("doorprocess/processdefinition.xml");
| // jbpmContext.deployProcessDefinition(emailProcess);
| jbpmContext.getGraphSession().saveProcessDefinition(emailProcess);
| } finally {
| jbpmContext.close();
| }
|
with the deploy line commented in and out, with always the same result. I also tried first making an archive and read this with no more success.
Is there another way to save the process definition?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169502#4169502
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169502
Hey,
Yeah I am aware of this function call, question remains though where to call it.. Ideally I would like the process at the end to purge its own data. Offcourse it could be purged through an external process running outside of jBPM but thats not really a great way in my view, i.e. another process to worry about..
So I will try from the process end, but no idea what will happen if a process purges its own data right before it ends ?
Regards and thanks for your reply,
Leo
"vtysh" wrote : jbpmContext.getGraphSession().deleteProcessInstance(processInstance);
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169487#4169487
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169487