Re: [rules-users] How to pass variables to a drools rule file?

2013-02-27 Thread FrankVhh
It is looking for com.sample.Qos. Try to add the import statement test.java.Qos somewhere on top of your file. Regards, Frank penny wrote Hi,there.I have a class in test.java file.It looks like: class Qos{ boolean S; boolean W; Qos(){ S = true;

Re: [rules-users] How to pass variables to a drools rule file?

2013-02-27 Thread Wolfgang Laun
This is yet another MVEL bug, as it appears to fail to handle package visibility correctly. Put Qos into a .java file of its own in any package, precede class by public and use a proper import in the .drl. You can omit the import if the package of the Java class and the .drl is the same. -W

[rules-users] Bad Gateway at http://www.jboss.org/drools

2013-02-27 Thread Syargey
I can't access http://www.jboss.org/drools http://www.jboss.org/drools for two days :-( The error message is sjown: Bad Gateway We're experiencing a problem with one of the servers behind our gateway. Please try again in a while. -- View this message in context:

Re: [rules-users] GC Overhead Limit Exceeded and 1B JoinLeftNode Objects

2013-02-27 Thread Julian Klein
I wanted to circle back before this thread gets too far off the original topic and folks searching in the future don't get confused. I am still confused between the 'or' and '||' as explained here and in the documentation. I will attempt to review this in more detail. In the meantime, I have

Re: [rules-users] Bad Gateway at http://www.jboss.org/drools

2013-02-27 Thread Geoffrey De Smet
Forwarded to our internal jboss.org team. Thanks for reporting. Op 27-02-13 14:15, Syargey schreef: I can't access http://www.jboss.org/drools http://www.jboss.org/drools for two days :-( The error message is sjown: Bad Gateway We're experiencing a problem with one of the servers behind

[rules-users] Guvnor Configuration file

2013-02-27 Thread IPatel
Hi all, Somehow starting yesterday Guvnor won't start. I can see no exceptions in my log file except that the last link it executes and gets stuck at is following: ...Brontes started in 2853ms - Started 133 of 208 services 74 services are passive or on-demand now i have a POC demo next week and

Re: [rules-users] Guvnor Configuration file

2013-02-27 Thread Stephen Masters
I take it you hand't performed an export of your rules recently which you could restore? Assuming that you didn't set up a database for storage of your rules, then you should be able to find a directory called repository somewhere on the filesystem of your server. So re-installing Guvnor or

Re: [rules-users] Guvnor Configuration file

2013-02-27 Thread IPatel
Thank you for your response... Reading your post, i had an ah -ha moment. Couple of days ago i was reviewing chapter 14 - database configuration (link provided below) but didn't understand it very well. Now i get it. I should have followed 14.1 section of making changes to components.xml file to

[rules-users] Guvnor JBoss 7 Authentication

2013-02-27 Thread rjr201
Hi, I'm having some problems getting user authentication working with Guvnor on JBoss AS 7. I have this in beans.xml: security:IdentityImpl s:modifies/ security:authenticatorNamejaasAuthenticator/security:authenticatorName /security:IdentityImpl

Re: [rules-users] Guvnor Configuration file

2013-02-27 Thread Stephen Masters
That would let you provide a custom location, but it should have saved the repository files in a default location anyway. If I remember right, on a 'nix server, that would be under /repository/ So if you did no customisation, then a new install should pick it up there anyway. Hopefully that

Re: [rules-users] Guvnor Configuration file

2013-02-27 Thread IPatel
Hi, So i have the datastore folder created under repository. Do you think this is place where my rules are saved? I think these folders were created when i first installed Guvnor. Do you think if i re-install guvnor, this is the place it will load those rules again? Thank you for your prompt

[rules-users] planner: when gets a solution cloned?

2013-02-27 Thread Michiel Vermandel
Hi, I think a planning solution gets cloned in two different scenarios: 1) a better solution is found 2) the solver propagates from one solving phase to another. Is this right? If so, how do I know (inside the cloneSolution() method) if the clone is intended for a best-solution or a new

Re: [rules-users] Guvnor Configuration file

2013-02-27 Thread IPatel
I got it fixed now.. Somehow my guvnor war file got corrupted.. I was trying to locate components.xml file in the WEB_INF as indicated in Chapter 14 to set my datasource file path. I couldn't find the xml file but my actions messed up the file. For now its working... but it would be nice to know

[rules-users] How to integrate Declarative Fact created using Guvnor in Java

2013-02-27 Thread IPatel
Hi, Basic questions on the facts that are created in Guvnor using New Declaritive Model I have the facts that are created in Guvnor which i dont have java classes defined. I am refering to the tutorial provided on Chapter 5 The Fact Model and in that it shows how to use the declarative facts

Re: [rules-users] How to integrate Declarative Fact created using Guvnor in Java

2013-02-27 Thread Davide Sottara
The KnowledgeBuilder processes the declared types in a DRL file, creating the bytecode on the fly. When the knowledge package is added to a knowledge base, the newly created class descriptor (the FactType and its related components) become part of the KB and the actual class is (re)loaded by the

Re: [rules-users] planner: when gets a solution cloned?

2013-02-27 Thread Geoffrey De Smet
Op 27-02-13 19:50, Michiel Vermandel schreef: Hi, I think a planning solution gets cloned in two different scenarios: 1) a better solution is found 2) the solver propagates from one solving phase to another.