[rules-users] IllegalStateException:

Davide Sottara dsotty at gmail.com
Thu Mar 13 14:16:29 EDT 2014


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
> <mailto: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
>>     <mailto: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 list
>>     rules-users at lists.jboss.org <mailto:rules-users at lists.jboss.org>
>>     https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>     _______________________________________________
>     rules-users mailing list
>     rules-users at lists.jboss.org <mailto:rules-users at lists.jboss.org>
>     https://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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140313/15193bc1/attachment.html 


More information about the rules-users mailing list