Re: [rules-users] FactType returns null when creating a java client on Eclipse invoking a rule in Guvnor

2012-01-09 Thread Andre Fonseca
hi Michael, My environment is like below droools expert 5.3.0 final guvnor 5.3.0 final - guvnor-5.3.0.Final-tomcat-6.0.war Eclipse Helios - JBoss Drools Workbench 4.0.7 plugin I am not using authentication in guvnor, using guest user Actually I think I resolved the issue! I think I was

Re: [rules-users] FactType returns null when creating a java client on Eclipse invoking a rule in Guvnor

2012-01-08 Thread Andre Fonseca
) org.drools.guvnor.server.files.FileManagerUtils.loadBinaryPackage(FileManagerUtils.java:189) But when I try using http://localhost:8090/drools-guvnor/org.drools.guvnor.Guvnor/package/mypackage/LATEST.drl I can download the drl file TIA - Original Message - From: Andre Fonseca Sent: 01/08/12 06:34 PM To: Rules Users List Subject: Re

Re: [rules-users] FactType returns null when creating a java client on Eclipse invoking a rule in Guvnor

2012-01-08 Thread Andre Fonseca
Hi Kachan, thanks for your reply! I took a look in your post and tried to adapt my code, this is below: # Strategy 1 KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent("myagent"); kagent.applyChangeSet(ResourceFactory.newUrlResource("http://localhost:8090/drools-guvnor/org.drool

[rules-users] FactType returns null when creating a java client on Eclipse invoking a rule in Guvnor

2012-01-08 Thread Andre Fonseca
Hi all, I have imported the mortgage-sample-repository.xml to my guvnor instance. Its okey. Then I tried to run the MortgageClientExample java class. Everything is okey, but when I try to create the FactType "FactType appType = kbase.getFactType("mortgages", "LoanApplication");" I have nul

[rules-users] Schedule Rules to Fire in Drools Expert

2010-05-14 Thread andre . fonseca
Hi all, It's possible to schedule (and reschedule) rules to fire in Drools Expert? As my understood the Agenda is a kind of TODO list right? Can I reorder the priority of that list so? Could someone give-me and idea (a pseudo-code or something like that) to show that concept? Thanks In Ad

Re: [rules-users] Drools + ETL Process

2010-05-04 Thread andre . fonseca
Hi Mauricio, team I mapped my javabean in the persistence.xml org.acme.drools.Account And after run my main test I can see the "account table" in DB, but it's still empty, probably I am missing something in the project configuration. Let me check and I'll reply back Tks! -Orig

Re: [rules-users] Drools + ETL Process

2010-05-04 Thread andre . fonseca
Hi Mauricio, It's below, thanks! http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"; xmlns:orm="http://java.sun.com/xml/

Re: [rules-users] Drools + ETL Process

2010-05-03 Thread andre . fonseca
Hi Mauricio, thanks for your reply I have commented the transaction , please check http://pastebin.com/NxQyft2t I put the hibernate log there too. There is no error, after the first time executed I have the tables created in mysql | processinstanceeventinfo | | processinstanceinfo

Re: [rules-users] Drools + ETL Process

2010-05-02 Thread andre . fonseca
Hi Mauricio, Sorry if I was not clear. I have already installed Guvnor, and I have also changed repository.xml to persist data in MySQL. But I dont want to use Guvnor, I would like to author the rules and facts in Eclipse using Drools plugin ( I have also installed it ) and persist data in My

Re: [rules-users] Drools + ETL Process

2010-04-30 Thread andre . fonseca
Hi Esteban, Sorry, I have only one week looking into Drools =) Yes, I am talking about Drools Expert Database Looking into this http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/apidocs/org/drools/persistence/jpa/JPAKnowledgeService.html I tried a sample snippet http://pastebin.com

[rules-users] Drools + ETL Process

2010-04-28 Thread andre . fonseca
Hi all, I am using Drools 5.0 with Tomcat 6 and MySQL. Now I need to insert data in the drools database but I DON'T want to use the Guvnor interface. This is because in the future we'll need to use a kind of ETL process to populate the drools database. Should I create a java class with JD

Re: [rules-users] Guvnor - Persist data in MySQL

2010-04-26 Thread andre . fonseca
Hi, I have changed the repository.xml to NOT use JNDI and its working now.

[rules-users] Guvnor - Persist data in MySQL

2010-04-26 Thread andre . fonseca
Hi all, I am trying to configure Guvnor to persist data in MySQL, I am running mysql 5.1-45 (windows 7) under Tomcat 6 The steps that I did: 1) Create empty database "drools" in Mysql 2) Configure Tomcat data source 3) Edit generated repository.xml

Re: [rules-users] Error deploy Guvnor - DEPLOYMENTS MISSING DEPENDENCIES

2010-04-26 Thread andre . fonseca
Jervis, - downloaded Drools Guvnor 5.0 - removed el-*jars - added support for JSF in the app (for deploy in Tomcat 6.0) - jsf-api, jsf-impl The deploy in Tomcat 6.0 has been successfully. Many Thanks! -Original Message- From: andre.fons...@mail.com To: rules-users@lists.jb

Re: [rules-users] Error deploy Guvnor - DEPLOYMENTS MISSING DEPENDENCIES

2010-04-26 Thread andre . fonseca
Thanks Jervis, I will check the link and post back. André -Original Message- From: Jervisliu To: Rules Users List Sent: Mon, Apr 26, 2010 2:33 am Subject: Re: [rules-users] Error deploy Guvnor - DEPLOYMENTS MISSING DEPENDENCIES Hi, please refer to this doc on how to depl

[rules-users] Error deploy Guvnor - DEPLOYMENTS MISSING DEPENDENCIES

2010-04-23 Thread andre . fonseca
Hi all, I am trying to deployed Guvnor (5.0 and 5.1) in Jboss 6.0 using Windows 7 I edited WEB-INF/components.xml to change the directory to uncoment the properties C:/my-path org.drools.repository.JackrabbitRepositoryConfigurator Then I created a folder in default/deploy in Jboss and co

[rules-users] Drools Expert (Rule Engine) - Performance Tips

2010-04-22 Thread andre . fonseca
Hi all, I need to perform a test in the Drools Rule Engine. This test is intended to discover the SLA for Rule Processing. The scenario that I have is: - My Knowledge Database will have almost 200 million records. - There will be a full monthly charge and a short diary charge in this KD. - T