Re: [jboss-user] [jBPM] - JBPM 4.3: Is it possible to leave current state on timer listener?
by Nugroho Saputro
Nugroho Saputro [http://community.jboss.org/people/nsaputro] replied to the discussion
"JBPM 4.3: Is it possible to leave current state on timer listener?"
To view the discussion, visit: http://community.jboss.org/message/537085#537085
--------------------------------------------------------------
> Huisheng Xu wrote:
>
> Hi Nugroho,
> You should use ((ActivityExecution) execution).takeDefaultTransition(); The parent of the current execution is in the inactive-scope state.
Huisheng, thank you for your suggestion. I tried that but it still does note take to next state.
I got this error if repeat attribute is specified on timer:
13 Apr 2010 15:21:56 INFO org.jbpm.pvm.internal.svc.DefaultCommandService - exception while executing command org.jbpm.pvm.internal.jobexecutor.GetNextDueDateCmd@14f5a31 org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.jbpm.pvm.internal.model.ExecutionImpl#22]at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:409)at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:171)at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:223)at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905)at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:873)at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:590)at org.hibernate.type.EntityType.resolve(EntityType.java:412)at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:139)at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:877)at org.hibernate.loader.Loader.doQuery(Loader.java:752)at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)at org.hibernate.loader.Loader.doList(Loader.java:2228)
if I remove repeat attribute, no exception is thrown, but it's still in the current state (Check Order Status).
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/537085#537085]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years
[jBPM] - JBPM 4.3 command line deployment of bar
by Mads Henderson
Mads Henderson [http://community.jboss.org/people/madsph] created the discussion
"JBPM 4.3 command line deployment of bar"
To view the discussion, visit: http://community.jboss.org/message/537081#537081
--------------------------------------------------------------
I need to deploy my business processes from a command line tool, both for ease of development and also to satisfy my Hudson builds for various server environments. So far I have had no luck.
I have tried to use the ant file from the examples, but I can't get that to work outside eclipse, all I get is:
BUILD FAILED
java.lang.AbstractMethodError: org.apache.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/
w3c/dom/UserDataHandler;)Ljava/lang/Object;
In the 'good old days' I could make a deployment with ant using
org.jbpm.ant.DeployProcessToServerTask
But that doesn't seem to be included any more.
Can any one tell me the intended way to push updates to various servers (development, test, production) without doing it manually using eclipse.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/537081#537081]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years