[rules-users] Serialization of the StatefullKnowledgeSession

Nestor Tarin Burriel nestabur at gmail.com
Fri Oct 30 13:37:22 EDT 2009


Hi Nair I tried this (see the last comment):

https://jira.jboss.org/jira/browse/JBRULES-1946

The issue is closed, but it still throw me that exception. Try it and check
if it works in your enviroment and feed me back please!

Cheers,
Nestor

2009/10/30 Nair, Mahesh <Mahesh.Nair at qwest.com>

>  Hi,
> I am trying to implement one drools rule flow based feature to my
> application.
> My application consists of a struts2 application as well as a rcp desktop
> application as its client.
>
> We are using satefullKnowledgeSession which we want to keep around in the
> Http Session because it will be used by multiple requests during a user
> session.
>
> But the StateFullKnowledgeSession is not serilaizable and hence if I keep
> it in my http session it will affect the session replication.
>
> I am sure some of you have already faced this issue so was interested to
> know so of the approaches you took to overcome this hurdle.
>
> One of the approaches we are thinking about is to use the org.drools.marshalling.Marshaller
> to do the marshalling and get a byte array output and place it inside the
> session and umarshall that later.
> Is this a valid approach?
>
> Thanks
> mahesh
>
> ------------------------------
> This communication is the property of Qwest and may contain confidential or
> privileged information. Unauthorized use of this communication is strictly
> prohibited and may be unlawful. If you have received this communication
> in error, please immediately notify the sender by reply e-mail and destroy
> all copies of the communication and any attachments.
>
> _______________________________________________
> 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/20091030/2d1b759e/attachment.html 


More information about the rules-users mailing list