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

2010-04-29 Thread Jaroslaw Kijanowski
This doesn't tell me much. Maybe there's more in the log? -> "Truncated. see log file for complete stacktrace" This might help as well. http://www.ibm.com/developerworks/forums/thread.jspa?threadID=103468 One more thought - you have provided the Oracle driver to your app server, right? vadlam

[rules-users] ClassCastException: org.drools.reteoo.RuleTerminalNode$TerminalNodeMemory cannot be cast to org.drools.reteoo.EvalConditionNode$EvalMemory

2010-04-29 Thread Paul Ryan
Hi all, We're receiving some error messages that we don't understand from rules that had conditionals that worked and now don't (no upgrade or anything like that, they just stopped working), any clues as to what kinds of things to look for when we get an error like the following? (if not we can

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 > 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

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 > > Hi all, > > I am using Drools 5.0 with Tomcat 6 and MySQL. > > Now I need to insert

[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 t

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. http://drools-java-rules-engine.46999.n3.nabble.com/how-to-move-a-repository-from-derby-database-to-Oracle-Database-tp758128p766133.html Sent fr

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 inst

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 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 (ConnectionRecoveryManage

[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 per

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. to be replaced with -->

[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 expected

[rules-users] rules problem

2010-04-29 Thread Puneet duggal
hi all, I am new to drool business rules , i have a web application in which i have 100 rules so i want to know which rules are going to be executed based on the facts i suppilied . my drl files is loaded at run time from database. thanks ___ rules-u

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 t

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

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 document

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

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

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 > 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 loaded), feel free

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 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 infinite loop. > >

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 f