Hello there,

my problem is iam gettig a CLASS NOT FOUND Error while executing Definstance 
over a class...

my code scenaria is i have a class Called ReteController which is 
responsible for loading all the Userdefined classes...

the code is:::

rete.executeCommand("(import com.test.event.*)");
rete.executeCommand("(defclass revent com.test.event.RegistrationEvent)");
System.out.println("Loading Completed");

and it is loaded....

and based up on the event that is loaded here i will build the rule...

and the rule is also builded....


then i will retreive all the events from the database and i will check for 
the registrationEvent and based up on this i will create a definstance....

but iam getting a error...

the code is:::

if(eventValue instanceof com.test.event.RegistrationEvent)
{
RegistrationEvent re=(RegistrationEvent)(eventValue);

TrackedEvent tevent=(TrackedEvent)(eventValue);

//where TrackedEvent is the Superclass of RegistrationEvent

RegistrationEvent revent=new RegistrationEvent(null,1,null,null);

Funcall f = new Funcall("definstance",rete);
f.add(new Value("revent", RU.ATOM));
f.add(new Value(revent));
f.execute(rete.getGlobalContext());


iam using IBM VM from the WebSphere App Server context...

thnks...

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


---------------------------------------------------------------------
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