I'm trying to read jess commands stored in database. Only way I could see doing it is by creating temporary file with contents from database and call "batch <file-name>" command and finally deleting temporary file.
Is there any jess command equivalent of batch command that takes string instead of file name. Thanks -----Original Message----- From: Nik Joshi To: [EMAIL PROTECTED] Sent: 2/13/04 7:17 PM Subject: RE: JESS: java/jess serialization question So does anyone have any other ideas? - Nik. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nik Joshi Sent: Wednesday, February 11, 2004 1:06 PM To: [EMAIL PROTECTED] Subject: RE: JESS: java/jess serialization question There is only one JESS engine, not two. When I send the serialized facts over to the client side, I'm not asserting them into any engine, I'm simply displaying the cluster of related facts as a graph. In any case, the OutOfMemoryError only occurs on the server side. I would post the actual code, but it's fairly complex (not to mention proprietary), and if I had to do it, I would have to make up another example. - Nik. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 6:04 AM To: [EMAIL PROTECTED] Subject: Re: JESS: java/jess serialization question I think Nik Joshi wrote: > > Now, when I added in the serialization and the cloning, the number of facts > in the engine jumped to 8 to 10 times the number of assertions. Well, let's see. The first problem was that the ObjectOutputStream would not send a modified object fact, so the workaround was to clone the fact. Now I'm guessing that the problem is that there are some objects involved in your program for which o.clone().equals(o) is false, so that facts that are equal in one engine are unequal in the other, so multiple assertions of nominally identical facts are not being culled in the second engine. Hard to say without seeing the precise code that's being executed, but I think that's a good guess. --------------------------------------------------------- Ernest Friedman-Hill Science and Engineering PSEs Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 PO Box 969, MS 9012 [EMAIL PROTECTED] Livermore, CA 94550 http://herzberg.ca.sandia.gov -------------------------------------------------------------------- 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] -------------------------------------------------------------------- -------------------------------------------------------------------- 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] -------------------------------------------------------------------- -------------------------------------------------------------------- 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] -------------------------------------------------------------------- -------------------------------------------------------------------- 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] --------------------------------------------------------------------
