[jBPM Users] - Re: async fork
by nizzy
Bump
Has there been any further work on this, I too am seeing the SOE
Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.graph.exe.Token#740]
| at org.hibernate.persister.entity.AbstractEntityPersister.forceVersionIncrement(AbstractEntityPersister.java:1235)
| at org.hibernate.event.def.AbstractLockUpgradeEventListener.upgradeLock(AbstractLockUpgradeEventListener.java:82)
| at org.hibernate.event.def.DefaultLockEventListener.onLock(DefaultLockEventListener.java:64)
| at org.hibernate.impl.SessionImpl.fireLock(SessionImpl.java:584)
| at org.hibernate.impl.SessionImpl.lock(SessionImpl.java:576)
| at org.jbpm.graph.node.Join.execute(Join.java:116)
| at org.jbpm.graph.def.Node.enter(Node.java:319)
I have a process with a fork, under which there are 3 sub-processes.
I have updated to 3.2.6.SP1 as suggested in previous post.
3.2.6.SP1
Oracle 10g XE
Jboss 4.2.3
Any help appreciated!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269614#4269614
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269614
16 years, 4 months
[jBPM Users] - How a pass signal from state a task or java?? I do not under
by cmjhingeniero
Hi
I want to pass the signal from one state to java, but I get the error:
| org.jboss.resteasy.spi.UnhandledException: java.lang.IllegalArgumentException: id to load is required for loading
| org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)
| org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)
| org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)
| org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)
| org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
| org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
| org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
|
Not covered, somebody could help me
| <state g="438,14,92,52" name="verify">
| <on event="start">
| <timer duedate="1 minutes" repeat="10 seconds"/>
| <event-listener class="com.configuracion.eventos.VerificarReposicion">
| <field name="documento"><object expr="#{resReposicion}"/></field>
| <field name="caf"><object expr="#{txtCaf}"/></field>
| </event-listener>
| </on>
| <transition g="-15,-19" to="hello"/>
| </state>
|
| <java class="com.configuracion.dao.ReposicionDao" g="571,14,107,54" method="helloWorld" name="hello">
| <transition to="end"/>
| </java>
|
The NOTIFY method is as follows
| public void notify(EventListenerExecution executionListener) throws Exception {
| String respuesta = executionListener.getVariable("response")+"";
| if (processEngine == null) {
| processEngine = Configuration.getProcessEngine();
| executionService = processEngine.getExecutionService();
| }
| ProcessInstance processInstance = executionService.findProcessInstanceById(executionListener.getId());
| Execution execution = processInstance.findActiveExecutionIn("verify");
| System.out.println("===>"+execution.getId());
| if(executionListener.getVariable("response").toString().equals("N")){
| processInstance = executionService.signalExecutionById(execution.getId());
| }
| }
Thanks
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269474#4269474
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269474
16 years, 4 months