Re: [rules-users] [Optaplanner] Filter values = immovable planning entities

2013-12-13 Thread Geoffrey De Smet
On 12-12-13 18:11, Mats Norn wrote: Hi, I've got a domain with the following entities: entities? you mean classes? - Person (planning entity) - Desk (planning variable)

Re: [rules-users] [Optaplanner] Filter values = immovable planning entities

2013-12-13 Thread Mats Norén
Bad choice of words. Entities. :-) I've got three classes: @PlanningEntity(movableEntitySelectionFilter = MovableWorkersSelectionFilter.class) public class Person extends Property { String signature; String name; Desk desk; boolean movable; ... } Fact: public class Desk

Re: [rules-users] Drools 6 support for changeset

2013-12-13 Thread Mark Proctor
We do not have any file change listeners. You, or the workbench, needs to build the jar. What is automatic is the role of change sets before. You no longer need to compute them, build the jar, have the client consume the jar (with different ReleaseID) - that’s it. Drools diffs the current and

Re: [rules-users] [Optaplanner] Filter values = immovable planning entities

2013-12-13 Thread Geoffrey De Smet
On 13-12-13 10:39, Mats Norn wrote: Bad choice of words. Entities. :-) I've got three classes: @PlanningEntity(movableEntitySelectionFilter = MovableWorkersSelectionFilter.class)

Re: [rules-users] How to push changes to cloned repo on Kie-Workbench

2013-12-13 Thread Mark Proctor
Neither the build jar files from projects, or uploaded jars, are placed in GIT. There is a separate maven folder location for those, on the file system. See docs for workbench configuration, that location is configurable. Mark On 13 Dec 2013, at 01:37, anjana.ackroyd anjana.ackr...@gmail.com

Re: [rules-users] Drools 6 support for changeset

2013-12-13 Thread lbilger
I thought that was what the KieScanner did? I spent some time trying to get it to work as I would expect it to, but ran into several problems that made me go back to 5.5 for now. Here's what I did: I created two maven projects, one to contain the rules (drools6:rules) and one to use them

Re: [rules-users] How to push changes to cloned repo on Kie-Workbench

2013-12-13 Thread Anjana Ackroyd
Thanks that makes sense On Fri, Dec 13, 2013 at 5:47 AM, Mark Proctor mproc...@codehaus.org wrote: Neither the build jar files from projects, or uploaded jars, are placed in GIT. There is a separate maven folder location for those, on the file system. See docs for workbench configuration,

[rules-users] Using a DRL file on Guvnor/Workbench while using Drools Camel Server

2013-12-13 Thread jordan.brown
So far in my attempts, I am unable to use a DRL file that exists on Drools Workbench/Guvnor while using Drools Integration with Apache Camel. I would like to be able to use a rule file that can be managed from the UI, along with KIE scanner, monitoring the maven repository for changes. I'm

Re: [rules-users] Using a DRL file on Guvnor/Workbench while using Drools Camel Server

2013-12-13 Thread Michael Anstis
Please clarify: I'm sourcing from the JAR coming from the remote repository of Guvnor how? and but it's not picking it up in the server so far in my testing what happens? any errors? There is a bug in 6.0.0.Final that means you need to remove the authentication control from the Workbench's

[rules-users] Drools KB Object hierarchy Serilisation and Deserialisation thread safety issue

2013-12-13 Thread adarsh . chaini
Hi, We have found that some of the drools classes are not thread safe and hence causing the whole KB serialisation and deserialisation issues in a highly concurrent distributed cluster. The below is an example of one of the instances we have come across where the usage of a non thread

[rules-users] Drools 5.5.0 - Runtime Exception java.lang.RuntimeException: Provider org.drools.agent.impl.KnowledgeAgentProviderImpl could not be set

2013-12-13 Thread anjana.ackroyd
Here is my snippet of my code in 5.5.0.Final import org.drools.KnowledgeBase; import org.drools.agent.KnowledgeAgent; import org.drools.agent.KnowledgeAgentFactory; import org.drools.definition.type.FactType; import org.drools.io.ResourceFactory; import

Re: [rules-users] Drools 6 support for changeset

2013-12-13 Thread wtang
Can I forget all this and just use KieFileSystem? Again my requirement is when a rule changed, I need to run with the lastest changes WITHOUT bringing down the server and rebuild jar and redeploy. I have the following code and getRule() is just reading the .drl rule as a string stored as a CLOB

Re: [rules-users] Drools 6 support for changeset

2013-12-13 Thread Mark Proctor
update the releaseID in the meta model, build it (it’ll be added to KieRepository). Then on the KieContainer do updatetoVersion(String releaseId) giving it the release ID you wish to update to, and it will update at runtime. Mark On 13 Dec 2013, at 23:39, wtang wt...@kana.com wrote: Can I

Re: [rules-users] Using a DRL file on Guvnor/Workbench while using Drools Camel Server

2013-12-13 Thread Mark Proctor
see previous emails in the list: Begin forwarded message: From: Mark Proctor mproc...@codehaus.org Subject: 6.0 issue with remote jars and dynamic modules Date: 6 December 2013 14:39:50 GMT To: Rules Dev List rules-...@lists.jboss.org, Rules Users List rules-users@lists.jboss.org

[rules-users] Drools 5.5 java.lang.ClassCastException: org.drools.compiler.rule.builder.dialect.mvel.MVELDialectConfiguration cannot be cast to org.drools.compiler.DialectConfiguration

2013-12-13 Thread anjana.ackroyd
I am stuck with this error java.lang.ClassCastException: org.drools.compiler.rule.builder.dialect.mvel.MVELDialectConfiguration cannot be cast to org.drools.compiler.DialectConfiguration I am using Intellij IDE. I have googled the error and tried all options but nothing seems to work Here is my

Re: [rules-users] Drools 5.5 java.lang.ClassCastException: org.drools.compiler.rule.builder.dialect.mvel.MVELDialectConfiguration cannot be cast to org.drools.compiler.DialectConfiguration

2013-12-13 Thread anjana.ackroyd
Here is the complete error message SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container org.drools.RuntimeDroolsException: Unable to load dialect