I think prasanna vasan wrote: > Hello there, > > my problem is iam gettig a CLASS NOT FOUND Error while executing Definstance > over a class...
The subject line of your message says that the error occurs during the defclass, which makes sense; but here you say it's during the definstance, which is much harder to understand. I'll assume it's the defclass that is really failing. In any case, both defclass and definstance have to use java.lang.Class.forName() to load the relevant class by name. The problem you're having is simply that the ClassLoader that loaded the Jess code can't find your RegistrationEvent class. In an "App Server" environment, there are often many class loaders active, one for each app, perhaps, and one for the system itself. Perhaps you installed Jess into the classpath of the system class loader, but that class loader doesn't have the RegistrationEvent class on its class path. The details are highly dependent on your environment, of course. The fix, though, is probably fairly simple: just make sure that Jess is just instaled as part of your normal application code, not as any kind of extension or privileged system library. --------------------------------------------------------- Ernest Friedman-Hill Distributed Systems Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 Org. 8920, MS 9012 [EMAIL PROTECTED] PO Box 969 http://herzberg.ca.sandia.gov Livermore, CA 94550 --------------------------------------------------------------------- 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] ---------------------------------------------------------------------
