Bug 1010237 - session-migration: attempt to get a running process instance fails on strategy not found
Summary: session-migration: attempt to get a running process instance fails on strateg...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Core
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ER4
: 6.0.0
Assignee: Maciej Swiderski
QA Contact: Marek Baluch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-20 10:46 UTC by Marek Baluch
Modified: 2014-08-06 20:08 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:08:28 UTC
Type: Bug


Attachments (Terms of Use)
process definition (9.36 KB, application/xml)
2013-09-20 10:47 UTC, Marek Baluch
no flags Details
log (3.88 KB, text/x-log)
2013-09-24 17:25 UTC, Marek Baluch
no flags Details

Description Marek Baluch 2013-09-20 10:46:21 UTC
Description of problem:

The following code fails with 'No strategy of type org.drools.marshalling.impl.SerializablePlaceholderResolverStrategy available.'

KieSession ksession = restoreKnowledgeSession(sinfo.getSessionId(), "BPMN2-RepeatingTimer.bpmn2");
		ProcessInstance pi = ksession.getProcessInstance(sinfo.getProcessInstanceIds().get(0));
		Assert.assertNotNull(pi);
		Assert.assertTrue(pi.getState() == ProcessInstance.STATE_ACTIVE);

The change to org.drools.core.marshalling.impl.SerializablePlaceholderResolverStrategy might be required on more places. See attached log.

Comment 1 Marek Baluch 2013-09-20 10:47:47 UTC
Created attachment 800427 [details]
process definition

Comment 2 Maciej Swiderski 2013-09-24 16:09:50 UTC
Marek, could you please attach the log that you mentioned in the description? I can only see the process definition. Would be nice to see the actual code you use for that. Is there any repo where I can take a look at how you test the migration between 5 and 6?

Comment 3 Marek Baluch 2013-09-24 17:17:45 UTC
Hi Maciej,

argh I forgot to attach the log :(. Will correct that ASAP. In mean time here's the repo:

http://git.app.eng.bos.redhat.com/?p=jbossqe/brms.git;a=tree;f=test-jbpm-session-migration;h=c135fc10bce3a6bc7e08b00538407da39f7debcc;hb=refs/heads/master

Store part is made in from_5.3.x/.../StoreSessionTest.timerTest() and the load part is made in to_6.x/.../LoadSessionTest.timerTest()

Comment 4 Marek Baluch 2013-09-24 17:25:04 UTC
Created attachment 802373 [details]
log

Comment 6 Marek Baluch 2013-10-18 10:32:28 UTC
Verified on ER4.


Note You need to log in before you can comment on or make changes to this bug.