[jBPM] - Re: Restore JBPM session
by Thomas Setiabudi
Thomas Setiabudi [https://community.jboss.org/people/thomas.setiabudi] created the discussion
"Re: Restore JBPM session"
To view the discussion, visit: https://community.jboss.org/message/752944#752944
--------------------------------------------------------------
I think the process should continue from before application crash point.
Lets take the com.sample.evaluation included in the jbpm5.3 full installer.
First step, we initiate the process instance lets say we pass in krisv as the employee name
Second step, krisv look at his task list and then complete his task
Third step, john look at his task list and then complete his task
Fourth step, Mary look at her task list, but when she tries to complete her task, application crash.
so we stop everything and restart
After restart, Mary should be able to see the task in the task list and complete it.
Isn't that the default behavior right now? Or do I misunderstand your question?
Regards,
Thomas Setiabudi
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/752944#752944]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 11 months
[jBPM] - jbpm5.3 - Spring - Manage KSessions
by Pedro Gonçalves
Pedro Gonçalves [https://community.jboss.org/people/pgoncalves] created the discussion
"jbpm5.3 - Spring - Manage KSessions"
To view the discussion, visit: https://community.jboss.org/message/747824#747824
--------------------------------------------------------------
After some research in this forum and my understanding of chapter 5 of the docs, I came to the conclusion that I will need one knowledge session per process instance.
I use jbpm5.3, with spring integration and persistence.
*1* - For what I realized, the spring integration does not allow the "one knowledge session per process instance" architecture that I require. Is that true?
*2* - I've found the possibility of defining the id of the ksession that will be loaded during boot
(...)
<jbpm:ksession id="ksession" type="stateful" kbase="kbase1">
<jbpm:configuration>
<jbpm:jpa-persistence load="1">
<jbpm:transaction-manager ref="transactionManager"/>
<jbpm:entity-manager-factory ref="entityManagerFactory2" />
</jbpm:jpa-persistence>
</jbpm:configuration>
</jbpm:ksession>
(...)
The load parameter allows to load the ksession with the given id, but it fails to do so the first time it boots (as there is no ksession in the DB). So, even if I consider to have only one ksession for all process instances, I will have to implement some workaround to load the app for the first time. It is supposed to be like that? (The goal is to create a config file that does not need to be changed)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/747824#747824]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 11 months
[Beginner's Corner] - java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible
by ifteqar ahmed
ifteqar ahmed [https://community.jboss.org/people/ifteqar2011] created the discussion
"java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible"
To view the discussion, visit: https://community.jboss.org/message/725008#725008
--------------------------------------------------------------
Hi,
I am using Jboss-5.1.0 GA on client side and JBoss-EAP 4.3 as Remote Server.
First I brought up Jboss-4.3 EAP Remote Server and while bringing up the Client JBoss-5.1.0 GA i am getting the below ERROR Please help
1. Caused by: java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 1126421850898582900, local cl
2. ass serialVersionUID = -2711693270411201590
3. at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
4. at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
5. at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
6. at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
7. at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
8. at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
9. at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
10. at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
11. at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
12. at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
13. at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
14. at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
15. at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
16. at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
17. at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:769)
18. ... 90 more
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/725008#725008]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 11 months