Re: [rules-users] KnowledgeAgent and Guvnor restart

2011-04-13 Thread Gerret Hansper
Thank you, Esteban, this is working for me. Also, with Drools 5.1.1 the KnowledgeAgent is resubscribing to Guvnor after shutdown/restart even without the disk cache. Best Regards, Gerret -- View this message in context:

Re: [rules-users] Can I create sub packages in Guvnor

2010-12-15 Thread Gerret Hansper
Hello, if you have a package com.foo in Guvnor it is possible to create a new package com.foo.bar. Guvnor will then place the bar package beneath the foo package in the KBaseTree. But other than that the sub package doesn't have any relation to its parent, which I find unfortunate, too. I was

Re: [rules-users] Can I create sub packages in Guvnor

2010-12-15 Thread Gerret Hansper
Hmm... I'm currently working with 5.0 which doesn't have built-in selectors. As you have said, I would consider this a workaround. I'm not so much in favour of relying on a manual build and configuration process with setting the right categories, choosing the respective selector and creating a

[rules-users] Reference a declared FactType from another rule file?

2010-11-30 Thread Gerret Hansper
Hi all, does anybody know whether it's possible to reference a FactType declared in one rule file from another one? I'm developing rules with Eclipse (using Drools 5.0.1) and the rules are spread over a couple of .drl files. It would be nice to be able to declare a FactType in one file, have

Re: [rules-users] Reference a declared FactType from another rule file?

2010-11-30 Thread Gerret Hansper
Thank you, Wolfgang. Indeed, it works if I compile programmatically via Ant and make sure I'm getting the order correct. Unfortunately, still, the Eclipse compiler complains. I've tried splitting rules into two source folders and placing the one with the FactType on top of the build path, but no

Re: [rules-users] Persistence issue using Oracle

2010-03-12 Thread Gerret Hansper
Hi Ram, I've been using hibernate 3.3 with an Oracle11g which auto-created the dirty column as a NUMBER(1,0) type. Giving it a quick try, when I map as you've sketched above and add property name=dirty access=field type=boolean column=dirty length=1/ to the sessionInfo mapping the dirty

Re: [rules-users] Persistence issue using Oracle

2010-03-12 Thread Gerret Hansper
Forgot to mention that you might need to adjust the Hibernate dialect: property name=hibernate.dialect value=org.hibernate.dialect.OracleDialect/ Greetings, Gerret ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] Persistence issue using Oracle

2010-03-02 Thread Gerret Hansper
wytten dale.wyttenbach at gmail.com writes: The tables will be created depending on how you have persistence.xml configured (I used hibernate.hbm2ddl.auto value 'create') However, I did experience a problem with the eventTypes member of ProcessInstanceInfo: 'create table

Re: [rules-users] Unable to see Rules Debugging info in Drools IDE

2010-03-02 Thread Gerret Hansper
H.C. canterburry at gmail.com writes: Hey, I am having the same problem. I have tried dubugging both as a Drools Application and a Drools Unit Test and in either case, I get no agenda, working memory or globals in the views even when I select an data item from Variables view in the

[rules-users] Drools Ant task packages not read by KnowledgeAgent

2010-02-22 Thread Gerret Hansper
Hi all, for deploying our rules we usually create packages in Guvnor and then deploy the .pkg binaries to our application where we access them via a change set file, e.g. as a classpath or url resource. We have also used the Drools Ant task to create packages directly from the rule sources in

Re: [rules-users] Flow and Rules Together - Best practice question

2010-02-18 Thread Gerret Hansper
Hi Mike, I have been working with Drools for only a few months now and am still rather new to it, but we've have made the same experience, switching from rules only to rules with flow, and I'm certain it's the right way to go. The performance implications you mention depend mainly on the way the

[rules-users] KnowledgeAgent and Guvnor restart

2010-01-26 Thread Gerret Hansper
Hello, I have got an issue with the KnowledgeAgent that seems not to survive a Guvnor restart. The scenario is as follows: * We use Drools 5.0 * On our application server we create a KnowledgeAgent applying a ChangeSet that points to a package binary on a separate Guvnor server like so:

[rules-users] KnowledgeAgent and Guvnor restart

2010-01-26 Thread Gerret Hansper
Hello, I have got an issue with the KnowledgeAgent that seems not to survive a Guvnor restart. The scenario is as follows: * We use Drools 5.0 * On our application server we create a KnowledgeAgent applying a ChangeSet that points to a package binary on a separate Guvnor server like so:

[rules-users] Exception handling policy

2010-01-08 Thread Gerret Hansper
Hello, I have got a question about Exception handling policy in Drools 5.0. My issue is a case where a client application triggered rule execution on the server, which was throwing a ConsequenceException. The client, not having drools libs in its classpath, then had a ClassNotFoundException. I