[jboss-user] [jBPM Users] - Re: Spring, JTA, and JBPM 4.2 - Is it possible?

2009-12-12 Thread mwohlf
I have a similar setup, doing | | did the trick for me, but i am not really happy with that, as far as I understand this doesn't reuse any already opened session from my application View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4270332#4270332 Reply t

[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-11-12 Thread mwohlf
| org.hibernate.MappingException: Unknown entity: org.jbpm.pvm.internal.id.PropertyImpl | looks like your hibernate mapping is wrong, as far as I know there is a new table introduced in 4.2, the mapping is in "jbpm.repository.hbm.xml" | | | | | | | | which is exa

[jboss-user] [jBPM Users] - Re: Jboss jbpm 4.2 integration with spring

2009-11-09 Thread mwohlf
Hi msahai, I think you are missing | | in your jbpm.cfg.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264568#4264568 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264568

[jboss-user] [jBPM Users] - Re: Problems with indexes in jbpm.history.hbm.xml

2009-10-19 Thread mwohlf
I patched jbpm.history.hbm.xml and use the "_DET_" ones, the fix for this has been postponed to jBPM 4.3 see: https://jira.jboss.org/jira/browse/JBPM-2477?focusedCommentId=12482983 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261041#4261041 Reply to the p

[jboss-user] [jBPM Users] - Re: Hibernate LazyInitializationException

2009-10-19 Thread mwohlf
to me this looks like a configuration issue in your jbpm-config file, check your transaction-context tag , for me the following setup works: | | | | | | | | | | but maybe you want to set: | | or maybe you forgot the |

[jboss-user] [jBPM Users] - Re: [jBPM4] Manually updating DB Entries

2009-10-19 Thread mwohlf
I have the following setup in my jbpm.cfg.xml file, inside the process-engine-context: | | | | | | but I don't really remember where this is documented View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261037#4261037

[jboss-user] [JBoss jBPM] - Re: Concurrency/Async

2009-08-19 Thread mwohlf
Hi mmusaji, if my understanding of the job scheduler is correct, the execution time for your unit test is 11 sec? Maybe you should use threads like so (not tested): | List jobs = managementService.createJobQuery() | .processInstanceId(processInstanceId) |

[jboss-user] [JBoss jBPM] - Implementing concurrent dynamic tasks in jbpm4

2009-08-19 Thread mwohlf
I try to implement "Pattern 15" in jbpm4 http://www.workflowpatterns.com/patterns/control/multiple_instance/wcp15.php "Multiple Instances without a priori Run-Time Knowledge" try 1) I use a custom implementation of ExternalActivityBehaviour, that basically just waits for signals to spawn off dyna

[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml

2009-08-11 Thread mwohlf
lol, hey I don't use "older drivers", just the latest and greatest, one of the reasons why I try out jbpm4 ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249027#4249027 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply

[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml

2009-08-10 Thread mwohlf
hmm, I get a similar error for the indexes | 23:35:13,342 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HVAR on JBPM4_HIST_DETAIL (HVAR_) | 23:35:13,342 ERROR [SchemaExport] ORA-01408: such column list already indexed | | 23:35:13,348 ERROR [SchemaExport] Unsuccessful: cr

[jboss-user] [JBoss jBPM] - Re: re-assign actorId in task-assign event...

2008-02-18 Thread mwohlf
just my 2 cent: maybe I am missing your point, but in step 2 when you create the string with the actorId why don't you set the actorId directly on the swimlane and use the swimlane for the task? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130214#4130214 R

[jboss-user] [JBoss jBPM] - Re: Process started by the application

2008-02-18 Thread mwohlf
the following code works for me: | ProcessInstance processInstance = new ProcessInstance(processDefinition); | TaskMgmtInstance taskManagement = processInstance.getTaskMgmtInstance(); | TaskInstance taskInstance = taskManagement.createStartTaskInstance(); | but maybe there is a better way

[jboss-user] [JBoss jBPM] - Re: process variables - how to acces

2008-01-21 Thread mwohlf
Hey, are you complaining about my post? ;-) with 'somehow' I ment to use any of the following methods: | ExecutionContext.setVariable(name, value) | TaskInstance.setVariableLocally(name, value) // inherited from VariableContainer | ContextInstance.createVariable(key, object, ooken); |

[jboss-user] [JBoss jBPM] - Re: Dynamic configuration for ActionHandler

2008-01-14 Thread mwohlf
Hi, most likely the scope of the script variables is destroyed after the script is terminated, i guess you have to store the variables in the process instance somehow and then access them in the execute() method of the action with something like (not tested): | public void execute(Execution

[jboss-user] [JBoss jBPM] - Re: question about how to retrieve all tasks

2007-11-22 Thread mwohlf
This can be done with a hibernate query, you can even add some ordering: | DetachedCriteria taskCrit = DetachedCriteria.forClass(TaskInstance.class) | .add(Restrictions.eq("actorId", actorId) | .addOrder(Order.desc("start"); | | List taskList = taskCrit.getExecutableCriteria(jbpmCont