BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }
Thank you so very much.   With the defclass as you suggested, it
works.   

        Thank you, thank you, thank you.  
        P.s.  Please disregard another message that I sent out with regard
to this same problem. 
 My Coyne 
 mco...@boninc.com 
 (cel): 301-399-6351 
 On Wed 14/07/10 6:44 PM , "Ernest Friedman-Hill" ejfr...@sandia.gov
sent:
  You didn't include "personClassificationRules_02.clp" in your 
 download, but I suspect what's going on is that there's a bad 
 deftemplate in there, explicit or implicit, which is preventing Jess

 from properly associating the PersonDAO class in your package with
an 
 existing PersonDAO template. Using an explicit
 (defclass PersonDAO aoPersistence.PersonDAO)
 executed *before* the rules are defined might fix this.
 On Jul 14, 2010, at 1:39 PM,  wrote:
 > BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }
Hi 
 > Wolfgang,
 >
 > Thank you for your pointer. I followed the example but getting
into 
 > the following error:
 >
 > Jess reported an error in routine definstance.
 >
 > Message: Unknown object class PersonDAO.
 >
 > JessException
 >
 > at jess.de.a(Unknown Source)
 >
 > at jess.Rete.definstance(Unknown Source)
 >
 > at jess.Rete.a(Unknown Source)
 >
 > at jess.Rete.add(Unknown Source)
 >
 > at jess.Rete.addAll(Unknown Source)
 >
 > at jess.Rete.addAll(Unknown Source)
 >
 > at personClassificationEngine.PersonClassificationEngine.(
 >
 > PersonClassificationEngine.java:54)
 >
 >
 > at personClassificationEngine.test_002.main(test_002.java:16)
 >
 >
 >
 >
 > =====
 >
 > 1. Persistence package is my codes that is similar to Database 
 > version in the example. My Persistence package uses Hibernate in 
 > performing query and transaction to a database. I have built 
 > Persistence as a .jar file to be used in the 
 > personClassificationEngine package
 >
 > 2. personClassificationEngine is a mirror of the example in the 
 > chapter 11 on the web. It fails at engine.addAll(personList), 
 > because it does not know what PersonDAO is.
 >
 >
 > Thank you for your help.
 >
 >
 >
 > My Coyne
 > 
 > (cel): 301-399-6351
 >
 > On Tue 13/07/10 11:00 AM , "Wolfgang Laun"  
 > sent:
 >
 > Section 11 of the Jess User Manual contains a commented example 
 > containing all essential steps.
 > -W
 >
 > On 13 July 2010 16:32,  wrote:
 > Hi,
 >
 > I'm new to Jess. I successfully wrote a java beans that is invoked

 > from Jess rule to do simple reasoning (following the HVAC example
in 
 > Jess in Action book.)
 >
 > Now, I would like to read data from a database in instantiating
java 
 > objects; it then invoking Jess rule to do simple reasoning. How do

 > I invoke Jess rule from a Java program?
 >
 > I appreciate your help.
 >
 >
 > My Coyne
 > 
 > (cel): 301-399-6351
 >
 >
 > 
 ---------------------------------------------------------
 Ernest Friedman-Hill
 Informatics & Decision Sciences Phone: (925) 294-2154
 Sandia National Labs
 PO Box 969, MS 9012 
 Livermore, CA 94550 http://www.jessrules.com [7]
 --------------------------------------------------------------------
 To unsubscribe, send the words 'unsubscribe jess-users '
 in the BODY of a message to , NOT to the list
 (use your own address!) List problems? Notify .
 --------------------------------------------------------------------
 

Links:
------
[7]
http://webmail.xecu.net/parse.php?redirect=http%3A%2F%2Fwww.jessrules.com

Reply via email to