Bug 749936 - Unable to load StatefulKnowledgeSession
Summary: Unable to load StatefulKnowledgeSession
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM 5
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Kris Verlaenen
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-28 23:02 UTC by Jeffrey Bride
Modified: 2011-11-21 14:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-21 14:41:17 UTC
Type: ---


Attachments (Terms of Use)

Description Jeffrey Bride 2011-10-28 23:02:04 UTC
this could very well be the same as the following :

https://issues.jboss.org/browse/JBPM-3383
https://issues.jboss.org/browse/JBRULES-3237

in case it's not, I'm experiencing the following problem:
http://pastebin.com/yt9QT4aK

when executing the following test case :

https://github.com/jbride/jbpm/blob/gbd/jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/session/ReloadStatefulSessionTest.java

in summary, drools recently is unable to load a StatefulKnowledgeSession from a remote RDBMS after having bounced the jbpm5 runtime.

This test has been conducted using commit # :  a35de1f5981fda80add1b3f337e32785e4afe9d8 from the master branch of jbpm5 on 28 October.

Comment 1 Marco Rietveld 2011-11-12 02:24:56 UTC
I ran this test with the fix for 3237: this is the same issue. 

Once the fix from 3237 is backported to drools-5.3, this can also be closed. 

I'll also add the test to the jbpm-persistence-jpa -- we can run it as a unit test if we use the h2 file database so that results will be saved between test cases.

Comment 2 Jeffrey Bride 2011-11-14 16:02:45 UTC
thanks Marco.
from today's jbpm5 IRC, it appears that the following are the two relevant test cases :

drools/drools-compiler/src/test/java/org/drools/integrationtests/UnmarshallingTest.java

drools-persistence-jpa/src/test/java/org/drools/timer/integrationtests/TimerAndCalendarTest.java

Comment 3 Marco Rietveld 2011-11-14 16:10:14 UTC
Correct. :) 

This commit fixes BZ-740499/JBRULES-3146 but introductes JBRULES-3237/this BZ bug: 

https://github.com/droolsjbpm/drools/commit/0a3575e8073f2abc035b13e11381464e5ac17306#diff-4

This commit fixes this bug/JBRULES-3237, but reintroduces BZ-740499/JBRULES-3146. 

https://github.com/droolsjbpm/drools/commit/f2298f058322ae934a43f354e791757ed54e9ba8

:( 

I'm leaving this up to Edson and the rest of the Drools team given that it's a Drools problem that affects jBPM.


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