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
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
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
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
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
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
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
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
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
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
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
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
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
:
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
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
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
16 matches
Mail list logo