[rules-users] how to restore the knowledgeBase when newly created kb has compilationFailed error

2013-12-20 Thread bhochhi
Hi there, I am using KnowledgeAgent to get the knowledgeBase and have notifierService started to monitor the rules resource. New knowledgeBase is being created when kAgent finds changes on the rules. However, I don't want to replace the old knowledgebase if newly created knowledgebase has some

Re: [rules-users] how to restore the knowledgeBase when newly created kb has compilationFailed error

2013-12-20 Thread bhochhi
Thanks for the reply, so far from documentation, I believe newInstance=true(default) replaces the old kb as a whole and =false will update the existing kb. But I didn't see anywhere explaining that if there is a compilation error on rules, it will not update the kb. And I verified. It updates the

Re: [rules-users] how to check error using knowledgeAgent when rules has error or doesn't compile

2013-12-18 Thread bhochhi
Got this working. I was adding the listener at wrong place. thanks -- View this message in context: http://drools.46999.n3.nabble.com/how-to-check-error-using-knowledgeAgent-when-rules-has-error-or-doesn-t-compile-tp4027221p4027362.html Sent from the Drools: User forum mailing list archive at

Re: [rules-users] Knowledge Agent unexpected behavior for remote resource at guvnor

2013-05-21 Thread bhochhi
I added kagent.setSystemEventListener(new PrintStreamSystemEventListener()); to debug futher, its logging following as if it found changes even with no changes made at guvnor. It just seems bug to me. Any comments? -- View this message in context:

[rules-users] Knowledge Agent unexpected behavior for remote resource at guvnor

2013-05-20 Thread bhochhi
I am trying to use KnowledgeAgent to auto update the knowledgebase when rules are updated at guvnor. Following is my Test Class that creates the kAgent and executes the rules every 3 Seconds. / import org.drools.KnowledgeBase; import org.drools.agent.KnowledgeAgent; import

Re: [rules-users] Custom Form with DSL

2012-11-15 Thread bhochhi
Ghanshyam, Were you able to display the country list based on value selected on other variable? thanks -- View this message in context: http://drools.46999.n3.nabble.com/Custom-Form-with-DSL-tp4020207p4020846.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] How to retrieving LHS or RHS from the rule.

2012-10-31 Thread bhochhi
Guys, Is there anyway we can list out of LHS and RHS from the rule? I know we can get rulename and all metaattributes of a rules from its knowledgebase but didn't see anyway to get LHS and RHS. Thanks in Advance. -- View this message in context:

Re: [rules-users] Custom Form with DSL

2012-10-12 Thread bhochhi
Thanks Mike! I created the JIRA. https://issues.jboss.org/browse/GUVNOR-1956. Regards Rupesh -- View this message in context: http://drools.46999.n3.nabble.com/Custom-Form-with-DSL-tp4020207p4020250.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] Custom Form with DSL

2012-10-10 Thread bhochhi
I were able to launch the custom form in DSL, however the rule condition is not mapped to corresponding DRL. I don't know if this is a bug or just something is missing. my DSL mapping looks like this: [when] my dsl is {varName:CF:MyFactType.fieldName} = System.out.println({varName}) I have

[rules-users] DSL with multi value selectable listbox

2012-09-07 Thread bhochhi
Hi, Selecting one value from the selectbox using enum is not a problem. But I am wondering if it is possible to create a DSL expression where you can select multiple values from the listbox? bhochhi -- View this message in context: http://drools.46999.n3.nabble.com/DSL-with-multi-value

Re: [rules-users] DSL with multi value selectable listbox

2012-09-07 Thread bhochhi
Thanks for the response. -- View this message in context: http://drools.46999.n3.nabble.com/DSL-with-multi-value-selectable-listbox-tp4019656p4019661.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing

[rules-users] how to fetch fresh guvnor resources from drools-camel-server?

2012-06-01 Thread bhochhi
I am using drools-camel-server to fetch the remote guvnor resource as follows in knowledge-service.xml: drools:resource type=PKG source=http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/mypackage/Test;

[rules-users] Re-loading of guvnor resource at drools-camel-server

2012-06-01 Thread bhochhi
I am using drools-camel-server 5.4 final to execute the rules fetched from guvnor at follows: drools:resource type=PKG source=http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/mypackage/Test; basic-authentication=enabled username=test

Re: [rules-users] Guvnor 5.4 CR1 role based authentication with JBossAS 7

2012-05-08 Thread bhochhi
Any ideas guys? This is making me believe there is something mixing with bean configuration. When I uncommented ... security:jaas.JaasAuthenticator s:modifies/ jaasConfigNameother/jaasConfigName /security:jaas.JaasAuthenticator .. guvnor fails to deploy with following with following

[rules-users] Guvnor 5.4 CR1 role based authentication with JBossAS 7

2012-05-07 Thread bhochhi
Hello, Has anybody successfully set up the role based authentication on Guvnor 5.4 CR1 hosted on Jboss AS7? I tried all possible way I could think of but in vain. I modified bean.xml(commented security:IdentityImpl in whole and uncommented security:jaas.JaasAuthenticator and

[rules-users] upgrading drools-server 5.0 to drools-camel-server 5.4

2012-04-30 Thread bhochhi
After 2 years, I am trying to upgrade from drools 5.0 to latest. The way we are using the drools: the client apps(in c# and ruby) sends the request to drools-server 5.0. This execution server gets the rules .pkg file from guvnor using the properties files that map rules package at guvnor and

Re: [rules-users] Some problems with Deploying drools-camel-sever 5.3.x in Weblogic 10.x

2012-04-30 Thread bhochhi
To make your test example work, make sure that you are deploying the server as drools-server.war or drools-server. Or you might have to change route at client-client.xml -- View this message in context: