Re: [rules-users] About license

2008-10-29 Thread Mark Proctor
jh chen wrote: Hello, We use JBoss Rules 4.0.7 in a commercial project. But in order to link the drools UI with our own UI, we need to add a login page and modify the web.xml to the drools-jbrms.war. Is it legal for us to this in a commercial project? Absolutely. And we have

[rules-users] stackOverFlowError when serializing a RuleBase

2008-10-29 Thread Rene Wooller
Hi, I get a similar error to pedrof's: java.lang.StackOverflowError at java.io.ObjectStreamClass$FieldReflector.getPrimFieldValues(ObjectStream Class.java:1907) at java.io.ObjectStreamClass.getPrimFieldValues(ObjectStreamClass.java:1184 ) at

Re: [rules-users] About license

2008-10-29 Thread jh chen
Thanks! We will consider your suggestion. :-) 2008/10/29 Mark Proctor [EMAIL PROTECTED] jh chen wrote: Hello, We use JBoss Rules 4.0.7 in a commercial project. But in order to link the drools UI with our own UI, we need to add a login page and modify the web.xml to the

Re: [rules-users] Debug rules running on server

2008-10-29 Thread Michael Neale
at this stage I don't think this is possible. The rules debugging doesn't (AFAIK) implement the java debug protocol: http://java.sun.com/j2se/1.4.2/docs/guide/jpda/jdwp-spec.html which is what allows remote debugging (generally). So you have 2 options: 1) (obvious !) reproduce it in process 2)

Re: [rules-users] How to monitor what rules are fired

2008-10-29 Thread Michael Neale
Hi Ravi - if you look at the classes in: org.drools.audit For example: WorkingMemoryInMemoryLogger.java - you can wrap that around a session, and it will accumulate stuff in memory that you can print out. You will want to have good toString() methods on your fact objects - so you can inspect the

Re: [rules-users] Deploy rules to JBoss server

2008-10-29 Thread Michael Neale
yeah they shouldn't be anything too special - Joe in ear directly or web apps lib? (I would think the former would work better). On Wed, Oct 29, 2008 at 2:40 AM, Joe White [EMAIL PROTECTED] wrote: We use JBoss and put them in an EAR and it works fine. Probably best to treat the Drools jars the

Re: [rules-users] stackOverFlowError when serializing a RuleBase

2008-10-29 Thread Michael Neale
Are you also on HPUX? If not - any chance you can wrap it up in a unit test, attach it to a JIRA? On Thu, Oct 30, 2008 at 11:54 AM, Rene Wooller [EMAIL PROTECTED] wrote: Hi, I get a similar error to pedrof's: java.lang.StackOverflowError at

Re: [rules-users] Error when trying to create new PackageBuilder

2008-10-29 Thread Michael Neale
sounds like something bad in the jar you are using? On Sat, Oct 25, 2008 at 5:28 AM, webdevfreak [EMAIL PROTECTED] wrote: Hi, I'm using Drools 4.0.4 and get the following error when trying to convert from .drl to .pkg file. Exception in thread main java.lang.VerifyError: (class:

Re: [rules-users] Loading rules

2008-10-29 Thread Michael Neale
yeah you DO NOT want to be rebuilding rules on each request - that would really be bad. you can load and cache them, and do a check on each request to see if you need to update the cache - that is possible, and reasonable. On Sat, Oct 25, 2008 at 4:53 AM, Chris Chen [EMAIL PROTECTED] wrote: I