Re: JESS: Userfunctions and Jess - Java type conversion

2005-12-01 Thread ejfried
I think erich.oliphant wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] Hmm, ok thanks, I understand better now. However, jess.Userfunctions return Value's so is there anything I can do in that case to activate the type conversion? I tried Value.resolve() but that did not help.

Re: JESS: creating an audit trail

2005-12-01 Thread inmanjon
Thought about it haven't done it. I would think the most performant least intrusive way is add a log4j listener to the class that fires the rules. I will look for it tonight. Why log4j? It is a non-blocking thread, unlick logging to a file, port or db. And if misconfigured you jess app will

Re: JESS: creating an audit trail

2005-12-01 Thread Roger Studner
Both suggestions are equally useful.. thanks.. I'll check in the API for registering a listener with the jess engine (is it for the whole engine, or by rule?) As well, i'm already using log4j in my java wrapper classes I make use of Engine's in.. so I will just STORE a logger and use it to track

Re: JESS: Userfunctions and Jess - Java type conversion

2005-12-01 Thread ejfried
I think erich.oliphant wrote: I tried that function, but it doesn't seem to exist on the jess.ReflectFunctions class (I am using 7.0 beta 4. There seems to be a a static Value a(Class, Object) throws JessException method based on browsing the class file. Could this be it? You're not using