[jBPM] - Re: jBPM + Eclipse = 1000+ Errors
by Alejandro Guizar
Alejandro Guizar [http://community.jboss.org/people/alex.guizar%40jboss.com] created the discussion
"Re: jBPM + Eclipse = 1000+ Errors"
To view the discussion, visit: http://community.jboss.org/message/560996#560996
--------------------------------------------------------------
> I've just installed jBPM 4.4 with Eclipse Helios on a CentOS 5.5 virtual machine. For the most part, I followed the instructions in the User Guide - veering off-course only when the instructions didn't exactly match my system, e.g. the screenshots for Windows, etc.
I have not the designer bundled with the jBPM 4.4 distribution with Helios, only with Galileo.
> In the User Guide, Section 2.11.3. "Configuring the jBPM runtime", I'm told to select jBPM from the options listed on the left side of the "Preferences" window. Unfortunately, jBPM isn't listed, so I can't specify the proper runtime location. This results in a number of errors (about 1000) in the GPD, and my installation is therefore incomplete, and broken.
The following is a screenshot of the Preferences dialog after installing the jBPM 4 Graphical Editor and Tools feature into a clean eclipse-java-galileo-SR2-linux-gtk.tar.gz installation in Fedora 13 with java-1.6.0-openjdk. I believe the OS and JVM have little relevance here.
http://community.jboss.org/servlet/JiveServlet/showImage/2-560996-6396/ec... http://community.jboss.org/servlet/JiveServlet/downloadImage/2-560996-639...
You don't mention it clearly but I assume you get the thousand errors after importing the examples. The above runtime location has no effect on that. You have to define the jBPM user library and then add it to the classpath of the examples project manually. To do so:
1. Right click the *examples* project.
2. Select *Build Path* --> *Add Libraries*
3. Select the *User Library* entry and click *Next*
4. Check the *jBPM Libraries* box and push *Finish*
*http://community.jboss.org/servlet/JiveServlet/showImage/2-560996-6398/add-library.png http://community.jboss.org/servlet/JiveServlet/downloadImage/2-560996-639...
This should take care of the errors. I will add these instructions to the user guide.*
*
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/560996#560996]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 3 months
[Datasource Configuration] - JBoss 5.0 behavior of non-tx-datasource committed or NOT?
by Thunder Lei
Thunder Lei [http://community.jboss.org/people/Thunder.Farmer] created the discussion
"JBoss 5.0 behavior of non-tx-datasource committed or NOT?"
To view the discussion, visit: http://community.jboss.org/message/560360#560360
--------------------------------------------------------------
Hi there,
When I look at the JBoss documents, there is a definition for non-tx-datasource, it said:" This element is used to specify the (org.jboss.resource.connectionmanager)NoTxConnectionManager service configuration. NoTxConnectionManager is a JCA connection manager with no transaction support. ".
As my understanding to this definition, any changes made by using non-tx-datasource should NOT be committed into the underlying database, but according my investigation, that's NOT it. If non-tx-datasource works with xa-datasource, the both will commit or rollback.
Could you guys pls give some clarification on this?
What I did to verify non-tx-datasource behavior is: I have two session beans, ReadOnlyBean and XABean, which in turn refer to two JPA entity managers, and the entity managers refer to two datasouce, one is non-tx-datasource and xa-datasource.
These two datasources are connecting different databases.
I double checked the JDBC drivers used by these two datasources, one is xa and another is non xa.
Then I have the third session bean FacadeBean. In one method of this facade bean, I call ReadOnlyBean and XABean to update database.
All the methods are given the transaction attribute as @TransactionAttribute(TransactionAttributeType.REQUIRED).
I call ReadOnlyBean first, then call the XABean.
If I throw EJBException in the XABean, seems both transactions are rolled back.
If there is no EJBException, both changes are committed into underlying database.
any comments are appreciated.
Thanks&Regards,
Thunder
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/560360#560360]
Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 3 months
[jBPM] - jbpm-console is not displaying task in start node
by Mehmet Salgar
Mehmet Salgar [http://community.jboss.org/people/speleomaniac] created the discussion
"jbpm-console is not displaying task in start node"
To view the discussion, visit: http://community.jboss.org/message/560877#560877
--------------------------------------------------------------
Hi everybody,
I have a problem with jbpm 3.2.7...
I had the following process, as you may see I have a task at start node and I am expecting that jbpm-console create a task with the form that I deployed a task when I create an instance of the process but that doesn't happening.
If I signal to the transition out of start-state as you may see second node is a task node and jbpm creates the task and display the task form....
Am I doing something wrong here? (below I would place the forms.xml also and I seeing that in the archive forms.xml and xhtml are included...)
Second part of the question would be, the concept of blocking and non-blocking task is confusing me...in the workflow if I don't trigger a transition that workflow should wait at the task, so what is the meaning of the blocking, non-blocking here.
And a final question, I tried to verify the problem exists also in 4.4 and I created a process definition for it also, I think it is not possible any more to define a task in start node or? And Graphical Designer has no support to creates forms for 4.4. processes....(below you can find my 4.4 version of the process) and what would be trigger to leave the start and go into first task.....
Thx for the answers
process
<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="sample_process">
<swimlane name="Marketing">
<assignment expression="group(Marketing)"/>
</swimlane>
<swimlane name="Campaign Manager">
<assignment expression="group(Campaign Manager)"/>
</swimlane>
<swimlane name="Promo Definition Cockpit">
<assignment expression="group(Promo Definition Cockpit)"/>
</swimlane>
<start-state name="Create Ticket in Tool">
<task swimlane="Marketing" name="Create Ticket in Tool">
<controller>
<variable access="read,write,required" name="ticketName" mapped-name="Ticket Name"/>
</controller>
</task>
<transition to="Attach Document" name="Done"/>
</start-state>
<task-node name="Attach Document">
<task name="Attach Document" swimlane="Marketing">
<controller>
<variable access="read,write" name="document" mapped-name="Document"/>
</controller>
</task>
<transition to="end-state1" name="Done"/>
</task-node>
<end-state name="end-state1"/>
</process-definition>
forms.xml
<forms>
<form task="Create Ticket in Tool" form="CreateTicketinTool.xhtml"/>
<form task="Attach Document" form="AttachDocument.xhtml"/>
</forms>
forms.xml
<forms>
<form task="Create Ticket in Tool" form="CreateTicketinTool.xhtml"/>
<form task="Attach Document" form="AttachDocument.xhtml"/>
</forms>
process 4.4
<?xml version="1.0" encoding="UTF-8"?>
<process name="jbpm4" xmlns="http://jbpm.org/4.4/jpdl">
<swimlane name="Marketing"/>
<start g="263,69,48,48" name="start1">
<transition g="-146,-17" name="Done" to="Create Ticket in Tool"/>
</start>
<task g="214,190,144,52" name="Create Ticket in Tool" swimlane="group(Marketing)">
<transition name="Done" to="Attach Document" g="-151,-18"/>
</task>
<task name="Attach Document" g="193,324,187,52" swimlane="group(Marketing)">
<transition name="to end1" to="end1" g="-42,-18"/>
</task>
<end name="end1" g="262,442,48,48"/>
</process>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/560877#560877]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 3 months