[jboss-user] [JBoss jBPM] - Re: JBPM 3.2.2 doesn't work

2008-01-16 Thread MattOwens
Hey, I have managed to resolve the problem so i sincerely apologise for my angry post. The problem was an open context in the getExpressionSession of the ExpressionAssignmentHandler. My apologies. Love live JBPM. Could definitely do with more documentation though. View the original post : ht

[jboss-user] [JBoss jBPM] - Re: JBPM 3.2.2 doesn't work

2008-01-16 Thread MattOwens
I'd also like to add that these errors only occur when you assign a custom ExpressionAssignmentHandler - even though the assignment handler has nothing to do with resolving or using a jbpm context View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120456#4120456

[jboss-user] [JBoss jBPM] - Re: JBPM 3.2.2 doesn't work

2008-01-16 Thread MattOwens
Sorry, there was a slight mistake in the function I posted above. The process instance was not reloaded - as in your cvs tests. Here is the ammended version, which still has exactly the same outcome - error: @Test public void testSignal() { //JbpmConfiguration

[jboss-user] [JBoss jBPM] - Re: JBPM 3.2.2 doesn't work

2008-01-16 Thread MattOwens
This is essentially what one of your unit tests does. Substitue any process definition for the xml file im reading in the xmlreader. You will see that the test fails with the given message. I have substituted the saveandreload code into the function for readability. @BeforeClass public

[jboss-user] [JBoss jBPM] - JBPM 3.2.2 doesn't work

2008-01-16 Thread MattOwens
Was the JBPM 3.2 release some kind of practical joke that i and the rest of the world wasn't in on? Nothing works, absolutely nothing. The CVS tests don't work properly either as they leave the database in a state it wasn't previously in - a basic unit test no no. Signalling doesn't work at all.

[jboss-user] [JBoss jBPM] - Signal Error

2008-01-15 Thread MattOwens
Could anyone please explain why this code throws the following exception: "closed JbpmContext in different order then they were created... check your try-finally's around JbpmContexts blocks". Code: public JbpmProcessInstance(JbpmProcessDefinition processDef, bpmProcessInstanceVar var) {

[jboss-user] [JBoss jBPM] - Process Instance Var Delete, (bug?)

2008-01-02 Thread MattOwens
Hi, I've been working with JBPM for a while now, i've downloaded the source from CVS, everything seems to work fine except the deletion of process instance variables. As part of my unit tests, the code checks the database to which hibernate is connecting (Oracle in this case), to see if the t

[jboss-user] [JBoss jBPM] - Re: contiunous JBPM errors

2007-12-19 Thread MattOwens
thanks Roland i have just acquired the source using tourtoise cvs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114320#4114320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114320 _

[jboss-user] [JBoss jBPM] - Re: contiunous JBPM errors

2007-12-19 Thread MattOwens
Could you please specify where i get the CVS url from? Im connecting to the JBPM source using fisheye and the unit tests specified within JBPM 3 (:/jbpm.3/test/jbpm/org/jbpm/graph/def/ProcessDefinitionDbTest.java ) in there are over 2 years old. Am i looking in the correct place? Thanks M Vie

[jboss-user] [JBoss jBPM] - Re: contiunous JBPM errors

2007-12-19 Thread MattOwens
Hi Ronald, Thanks for the quick response. Ok, im new to jbpm so don't really understand that response. Where can I get the latest jbpm unit tests? I'm using version 3.2.2. I found unit tests for 3.1.2 and located the save and reload method. I copied the code from there into my test and unfort

[jboss-user] [JBoss jBPM] - contiunous JBPM errors

2007-12-19 Thread MattOwens
Hi, I am writing a JBPM implmentation for a corporate system. Currently I am not deploying to an application server I am running the process locally as a set of unit tests. I am deploying the process definitions manually. Below is the code for the unit tests: public class testProcessManager {

[jboss-user] [JBoss jBPM] - Re: Configuring custom AssignmentHandler in JBPM

2007-12-07 Thread MattOwens
Sorry, I must be geting my wires crossed. What i'd like to do is have the expresion handler refer to LDAP instead of the standard JBPM identity tables. We are use LDAP to identiy actors of the sytem (or would like to). Is this possible? Can you make any suggestions Thanks in advance M View th

[jboss-user] [JBoss jBPM] - Configuring custom AssignmentHandler in JBPM

2007-12-06 Thread MattOwens
Hey, Im trying to write my own identity Assignment Handler, but the docs aren't exactly thorough. I've read I can implement my own handler but the docs kind of end it there. Forums have reported you can configure the jbpm.config.xml file to point to the class which you wish to use to replace th