How to load a rule file in a remote RMI client.

View: New views
1 Messages — Rating Filter:   Alert me  

How to load a rule file in a remote RMI client.

by ameng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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