Sorry Ernest, Here's the drill :)
1> 5.0a6 2>I have a listener on the server side which captures the jess event and in case of FACT, get the Fact object from event object. With this object and some more information creates another event object and tries to call methods on its listeners. Some of these listners are across RMI. 3>This works fine for other events, but when it comes to FACT, it throws a NotSerializableException. For now I have fixed this problem by obtaining fact name and just sending the String, but it would be great if I could send the Fact over. Especially in case of ACTIVATION event, where I can get the tokens and report which facts caused it etc. I'm not trying to recreate the network, just trying to get enough pieces to create a decent report. Thanks Dheeraj [EMAIL PROTECTED] wrote: > >You know the drill: > >1) What version of Jess > >2) What exactly did you do > >3) What actually happened > >4) What did you expect to happen? > >In general, Jess 6 is more serialization-friendly than Jess 5; but >Jess really isn't going to work right if you serialize bits and pieces >of working memory or the rule base and try to reassemble them on the >other end. It's just not designed that way. You can, however, use the >bsave() and bload() methods on Rete to send/restore the entire >engine's state to/from ObjectStreams. > > >I think [EMAIL PROTECTED] wrote: >[Charset iso-8859-1 unsupported, filtering to ASCII...] >> Hi all, >> >> Trying to pass Fact objects across RMI and I'm having some issues with >Serialization. Has anyone else come across anything similar. >> >> Thanks. >> Dheeraj >> -- >> > > > > >--------------------------------------------------------- >Ernest Friedman-Hill >Distributed Systems Research Phone: (925) 294-2154 >Sandia National Labs FAX: (925) 294-2234 >Org. 8920, MS 9012 [EMAIL PROTECTED] >PO Box 969 http://herzberg.ca.sandia.gov >Livermore, CA 94550 > >-------------------------------------------------------------------- >To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' >in the BODY of a message to [EMAIL PROTECTED], NOT to the list >(use your own address!) List problems? Notify [EMAIL PROTECTED] >-------------------------------------------------------------------- > > -- __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] --------------------------------------------------------------------
