[rules-users] Cannot issue fireUntilHalt when using persisted session

Davide Sottara dsotty at gmail.com
Mon May 26 12:50:22 EDT 2014


Could you please show the code where you persist, reload and invoke
fireUntilHalt() on the session?
Ideally, could you open a jira ticket and post the code there? We'll
take a look then.
Thanks
Davide

On 05/22/2014 01:43 PM, rogerL wrote:
> Due to an issue with reloading persisted sessions that contained a cron timer
> rule, I upgraded to 6.1.0.Beta3. Now I'm encountering a problem with a
> threaded fireUntilHalt command (cannot be issued on a persisted session). 
>
> Exception in thread "SimpleAsyncTaskExecutor-1"
> java.lang.UnsupportedOperationException: Command session.fireUntilHalt();
> cannot be issued on a persisted session
> 	at
> org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:474)
> 	at
> org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:353)
> 	at
> org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.fireUntilHalt(CommandBasedStatefulKnowledgeSession.java:272)...
>
> It worked without issue in 6.0.1.Final. Though I suspect not, is this
> expected behaviour? Alternately, are there configuration/other changes that
> must be implemented.
>
> Libs
> spring 4.0.1
> kie, drools, jbpm 6.1.0.Beta3
> hibernate 4.3.4
>
>
>
>  
>
>
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/Cannot-issue-fireUntilHalt-when-using-persisted-session-tp4029656.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



More information about the rules-users mailing list