>     rete = new Rete();
> 
>     try
>       {

[alan]
Can you do this here?

        Class clazz = Class.forName("Session");

My guess is that this doesn't work.

>       rete.defclass("userSession", "Session", null);
>       }
>     catch(Exception e)
>       {
>       System.out.println("ERROR IN DEFCLASS: " + e.toString());
>       }
> 
> The error is:
> 
> Jess reported an error in routine defclass. Message: Class not found:.
> 
> But the class does exist! It is NOT in a package but even 
> putting it in a
> package it fails. Session is a subclass of WOSession which implements
> Serializable. Even if I wait for after the class having been 
> loaded, I still
> get this error (I tried doing the defclass IN the constructor 
> of the Session
> class!).
> How does Jess find classes?
> 
> Thanks,
> 
> Alexander
> -- 
> Alexander Lamb 
> Groupe Serveurs Applicatifs
> Division d'Informatique Midicale
> Htpitaux Universitaires de Genhve
> 21 rue Micheli-du-Crest
> CH-1211 Genhve 4 / Switzerland
> Tel: +41-22 372.48.46 Fax: +41-22 372.61.98
> [EMAIL PROTECTED] / http://www.hcuge.ch
> 
> --------------------------------------------------------------------
> 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]
--------------------------------------------------------------------

Reply via email to