jess-users  

Re: JESS: How to load a rule file in a remote RMI client.

Wolfgang Laun
Fri, 23 Oct 2009 19:52:13 -0700

Assuming that JavaSpaces will let you transfer a String, you
might try to use a task that creates a jess.Jesp parser object
from a StringReader from that String and a Rete, and call
parser.parse( false ).

All theory, of course ;-)

-W

On Mon, Oct 19, 2009 at 4:41 AM, ameng <m...@hotmail.com> wrote:

>
> Hello,
>
> I am trying to integrate Jess with JavaSpace(RMI). Tasks(running
> rete.batch("rule.clp"))  put into a JavaSpace got  following exception on
> the remote machine:
>
> Jess reported an error in routine batch.
>  Message: Cannot open file.
>        at jess.Batch.findDocument(Batch.java:221)
>        at jess.Batch.batch(Batch.java:122)
>        at jess.Batch.batch(Batch.java:113)
>        at jess.Batch.batch(Batch.java:75)
>        at jess.Batch.batch(Batch.java:40)
>        at jess.Rete.batch(Rete.java:2791)
>
> What are the options here to pass the rules file to remote rete engine?
>
> Thanks a lot,
> Andrew
> --
> View this message in context:
> http://www.nabble.com/How-to-load-a-rule-file-in-a-remote-RMI-client.-tp25952603p25952603.html
> Sent from the Jess mailing list archive at Nabble.com.
>
>
>
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users y...@address.com'
> in the BODY of a message to majord...@sandia.gov, NOT to the list
> (use your own address!) List problems? Notify owner-jess-us...@sandia.gov.
> --------------------------------------------------------------------
>
>