Re: [rules-users] Challenge! Using javassist and drools presents an issue with drl

2010-04-29 Thread Swindells, Thomas
Isn't the simplest solution just to add the imports at the start of the imported drl file? That is the users don't need to worry about writing the imports but before you feed the files into your code simply prepends the required imports. You can do this easily in memory with something like the

Re: [rules-users] Drooles Expert - Chapt 2- Quick Start

2010-04-29 Thread Wolfgang Laun
See http://docs.codehaus.org/display/DROOLS/Using+JIRA -W On Wed, Apr 28, 2010 at 9:37 PM, Kurt Guenther kurtg8...@gmail.com wrote: As a learning exercise, I've been putting the examples described into Drooles, and I've found numerous mistakes. The Account example appears to go into an

Re: [rules-users] Drools Solver - Multiple Entries ScoreDrl

2010-04-29 Thread Antonio Neto
I think that there was a error in a package. It works now. Thank you and congratulations by the framework 2010/4/28 Geoffrey De Smet ge0ffrey.s...@gmail.com That should work. Check your getFacts() method. If you can reproduce on trunk (and prove it by putting an error in the DRL which isn't

Re: [rules-users] Drools Solver - Multiple Entries ScoreDrl

2010-04-29 Thread shekharputtur puttur
Hi All, I am using drools API, and developed a webservice out of it. I created rule binary package using BRMS Guvnor. I used RuleAgent to acces the properties file. ie RuleAgent agent = RuleAgent.newRuleAgent(/application.properties); application.properties file was stored in current working

Re: [rules-users] Drools Solver - Multiple Entries ScoreDrl

2010-04-29 Thread Premkumar Stephen
Hello Shekhar, 1) You need to read http://www.jboss.org/drools/lists.html (the list of todos) if you expect folks to help you. You have replied to a totally different thread!! 2) You don't need to create a webservice out of the Drools API. There is already one, called drools-server. Read

Re: [rules-users] how to move a repository from derby database to Oracle Database

2010-04-29 Thread Jaroslaw Kijanowski
Before you switch to Oracle, go to the Administration tab and export your repository. Then configure your repository.xml file to point to Oracle, remove the repository directory (most probably in jboss-as/bin) and start your server. Then go to the admin tab and import your repo (first you need

[rules-users] Missing space when using DSL and Guvnor

2010-04-29 Thread Doyel,Jeff
I am setting up a very simple example using a DSL and Guvnor. My DSL is as follows: [when]Age is less than {age} years old=AgeFact(ageInYears {age}) When I attempt to create a new Business Rule using the Guvnor I can select the above expression just fine and the sentence displays as

Re: [rules-users] how to move a repository from derby database to Oracle Database

2010-04-29 Thread vadlam
In the repository.xml, there are 2 sections where the default database derby can be replaced with Oracle. PersistenceManager class=org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager /PersistenceManager to be

[rules-users] Using Drools Flow To Build A Web Application

2010-04-29 Thread Stephen L
Can Drools Flow be used to build the structure of a web application similar to how Spring page flow or Seam jBPM works? I'm looking to build a Spring MVC web application that does estimation based on a list of questions and business rules. The web application will have one (or more) questions

Re: [rules-users] how to move a repository from derby database to Oracle Database

2010-04-29 Thread vadlam
after exporting the repository, changing the persistence settings to Oracle, deleting the respository directory and restarting server again, I get these errors. Do I need to delete the version directory as well besides the repository directory ? ERROR 29-04 10:59:11,004

Re: [rules-users] how to move a repository from derby database to Oracle Database

2010-04-29 Thread Jaroslaw Kijanowski
What you have provided is just the driver class, but yeah, this is the right one. Moreover I would also consider to change the FileSystem to use org.apache.jackrabbit.core.fs.db.OracleFileSystem instead of the local file system. But this is strictly Jackrabbit related stuff and you would need

Re: [rules-users] how to move a repository from derby database to Oracle Database

2010-04-29 Thread Jaroslaw Kijanowski
After the repo export, you need to delete the whole repository directory which includes: repository version workspaces and you have to clear the schema in Oracle you want to use - Guvnor will prepare the DB during deployment when accessing a fresh DB. When you login, you should be asked to

Re: [rules-users] how to move a repository from derby database to Oracle Database

2010-04-29 Thread vadlam
after I delete repository,,version ,workspaces directories and delete all tables in the database and startweblogic again, I get the following error. Apr 29, 2010 11:35:10 AM MST Warning HTTP BEA-101162 User defined listener org.jboss.seam.servlet.SeamListener failed :

[rules-users] Drools Flow WorkflowProcess object - how do you set metaData?

2010-04-29 Thread dmiller44
I noticed on the WorkflowProcess object that there is a getMetaData(String name) function available. How do you set meta data on a ruleflow? I don't see any tags that allow me to set up metaData properties. I'd like to do something similar to the Rule metaAttribute items. Thanks! -- View

Re: [rules-users] Drools + ETL Process

2010-04-29 Thread Esteban Aliverti
Which drools database are you talking about? If you just want to use drools expert, you don't need any db. If you want to persist your kbase or rules, feel free to use whatever mechanism you want. 2010/4/28 andre.fons...@mail.com Hi all, I am using Drools 5.0 with Tomcat 6 and MySQL. Now

Re: [rules-users] Missing space when using DSL and Guvnor

2010-04-29 Thread Esteban Aliverti
It sounds like a bug. Can you double check it and create a jira issue please? best, 2010/4/29 Doyel,Jeff jdo...@cerner.com I am setting up a very simple example using a DSL and Guvnor. My DSL is as follows: [when]Age is less than {age} years old=AgeFact(ageInYears {age}) When I attempt