[rules-users] IllegalStateException:

Raja Sekhar raja.amirapu at gmail.com
Fri Mar 14 05:03:30 EDT 2014


Hi Davide,
I see that i am loosing the session since i am running is multi-threaded
environment
I see the following URL
https://github.com/droolsjbpm/drools/pull/256/files

Are these changed to main branch for version 6.0.1

Regards,
Raj



On 13 March 2014 23:46, Davide Sottara <dsotty at gmail.com> wrote:

>  Do you call session.dispose() after you fire your rules?
> That exception means that your stateful session was disposed,
> and you can no longer call methods to insert facts or fire rules
> (or anything if that matters) on a session that has been disposed.
> If so, you'll need to create a new one.
> Davide
>
>
> On 03/13/2014 07:06 PM, Raja Sekhar wrote:
>
> Iam using Stateful sessions .
> On Mar 13, 2014 11:27 PM, "Davide Sottara" <dsotty at gmail.com> wrote:
>
>>  Are you using stateful or stateless sessions?
>> Davide
>>
>> On 03/13/2014 05:01 PM, Raja Sekhar wrote:
>>
>> Hi
>> Can someone help me with this.
>>
>>  Regards
>> Raj
>>
>>
>> On 13 March 2014 14:05, Raja Sekhar <raja.amirapu at gmail.com> wrote:
>>
>>> Hi
>>> Iam processing dataset stream with storm. After receiving the first set
>>> of records the rule is firing. For next set of records i getinet this
>>> exception
>>> Illegal method call. This session was previously disposed
>>> I after firing the rules the session is get disposed. I am not getting
>>> where to reeslish the session. Also how i do  i know  if the session is
>>> alive or not?
>>>
>>> --
>>> Raja Sekhar Amirapu
>>> ------------------------------------------------------
>>> "If any anyone can do it, i can do it. If no one else can do it, i must
>>> do it"
>>>
>>
>>
>>
>>  --
>> Raja Sekhar Amirapu
>> ------------------------------------------------------
>> "If any anyone can do it, i can do it. If no one else can do it, i must
>> do it"
>>
>>
>> _______________________________________________
>> rules-users mailing listrules-users at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
> _______________________________________________
> rules-users mailing listrules-users at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
Raja Sekhar Amirapu
------------------------------------------------------
"If any anyone can do it, i can do it. If no one else can do it, i must do
it"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140314/57410f38/attachment.html 


More information about the rules-users mailing list