My best guess is that it must be something very trivial, like a typo in
a file name or the selector name in the properties file or GUI... have
you tried the latest and greatest 5.1 M2 release? There is built-in
support for selectors based on category and status.
Moreover once you provid your
Hi,
the file should be called
selectors.properties and not
selector.properties - I've just fixed that in the tutorial.
Thanks,
Jarek
John Peterson wrote:
I’m working off of Jarosław Kijanowski’s blog post from 7/8/2009 on
using Selectors:
The first FileSystem path param should be the same as in the default
repository.xml file. This is
param name=path value=${rep.home}/repository/
and not
param name=path value=${rep.home}/
vadlam wrote:
for some reason, the xml info within the OraclePersistenceManager tag came
out as blank in
Oh, ok, so you've provided a homeDirectory property in components.xml
Then, as you already mentioned, create this directory and put the
repository.xml file there.
To sum it up:
1. export your repo, stop the app server
2. delete everything inside the directory specified as homeDirectory in
Looks like you're missing a couple of things in he repository.xml file.
In all FileSystem sections, leave the default 'path' parameter, taken
from the original repository.xml
Jackrabbit will replace rep.home with /config/drools - no need to carry
for this.
Your SearchIndex at the bottom is
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
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
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
Try this one:
application-policy name=guvnor
authentication
login-module code=org.jboss.security.auth.spi.LdapExtLoginModule
flag=required
module-option
name=java.naming.provider.urlldaps://localhost:16636/module-option
module-option name=java.naming.security.protocolssl/module-option
Hey John,
have you created a Drools Project in Eclipse? Then put the file in
src/main/java
It will be copied over to the bin directory automatically and then
picked up when running your app.
Cheers,
Jarek
John Peterson wrote:
I’m using the example code from the Red Hat Magazine -
Hi,
you might want to give this book a try:
Drools JBoss Rules 5.0 Developer's Guide
You'll find a *LOT* of examples using BigDecimal.
Cheers,
Jarek
Nikhil S. Kulkarni wrote:
Hi,
I have a doubt that how to use java.math.BigDecimal within facts of Drools.
Waiting for reply.
Hi,
what's the version of Guvnor in your 'existing project'? Can you make
sure it is the same as your agent's version?
Cheers,
Jarek
Jian Feng Ng wrote:
I am facing this error of knowledgeagent trying to deserialize
knowledgedefinitionspackage. Actually I am not too sure what caused this
Hi,
HonorGod wrote:
I am getting the following error while accessing decision tables that were
uploaded in Guvnor -
java.lang.RuntimeException: KnowledgeAgent exception while trying to
deserialize KnowledgeDefinitionsPackage
at
Looks like it is related to this open jira:
https://jira.jboss.org/jira/browse/GUVNOR-379
Cheers,
Jarek
richarda wrote:
Yeah, its in the classpath.. and to be doubly sure just before the code I do
a
Signature s=new Signature();
and that works.. so jvm can find the Signature object.
I
Hi Daniel,
you can create a new DSLR rule when you choose 'DSL Business Rule' in
the 'New Rule' dialog.
Cheers,
Jarek
dbrownell83 wrote:
Hi all,
is there a way to upload a DSL and DSLR in Guvnor?
I see you can enter a new DSL, so copy-pasting is an option... but then what
about
Hi Ambika,
your rules in the first rule flow group MasterHud set a new value on
a fact's field.
Then you expect that your rules in the second rule flow group fire.
The rule engine has no idea that some facts' fields changed until you
let the engine know via update();
Open your MasterHud
Hi,
Wesley Akio Imamura wrote:
Hi,
I'm using this drools 5.0 scenario: agent using changeset file pointing
to a LATEST package guvnor URL.
The guvnor docs says how to start the agent resource scanning to make
the engine change aware:
-
Hi,
this might be a driver version issue.
BTW, what Oracle version are you using?
Cheers,
Jarek
Ambika Goel wrote:
Hi All,
I am using Oracle database to store rules repository via apache
jackrabbit in Guvnor. I have made relevant changes in repository.xml.
When I use
Hi,
your change-set xml file looks good - can you please make sure you
have a sheet called 'Tables' in your abc.xls spreadsheet?
Cheers,
Jarek
Nikhil S. Kulkarni wrote:
Hi,
I am using Drools 5
I am facing following issue :-
While trying to access change-set.xml with
Hi,
can you attach your spreadsheet? I had no issue to use a function that
takes 8 args (same type and order as in your example) in a decision table.
Could be some typo.
Cheers,
Jarek
Robert Morse wrote:
Hello,
I have a Seam (2.2.0.GA) application running under JBoss 5.1.0.GA.
This
Hi,
Johan Kumps wrote:
Hi all,
I want to use a value list voor e certain fact field in a web based
decision table in Guvnor. I created an enumeration in the same package
as follows : 'RegistriesInvocationContext.endUser' : ['TRUE=YES',
'FALSE=NO', '=Not to be checked']
The
Leonardo Gomes wrote:
Hi All -
Is Guvnor meant to work only with Drools 5?
Yes.
Thanks,
Leo.
___
rules-users mailing list
rules-users@lists.jboss.org
Hi,
have a look at the dsl:
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/tags/JBESB_4_6/product/services/jbrules/src/main/resources/XPathLanguage.dsl
This rule expects an object of type org.jboss.soa.esb.message.Message
which contains the XML in its body.
Also note that a lot of stuff
Hi,
before you insert any facts, make sure you set all globals used in
your rules.
Cheers,
Jarek
Abarna Ramachandran wrote:
I am getting the following error when trying to insert my object into
ksession. I have attached my rules and java object. Please help me in
debugging why this is
Hi,
when this doesn't help
then post your repository.xml file.
Cheers,
Jarek
Bhamidi, Krishna wrote:
Delete the repository directory on the server domainroot. Delete all
tables in the database created by guvnor , and try to bring up guvnor
again, it shouls come up.
Hi,
what version? 5.0.1.GA?
Have you changed Jackrabbit's backend or are you using the default settings?
Cheers,
Jarek
Steve Ronderos wrote:
Hello All,
I'm experiencing an issue importing an existing DRL into Guvnor, we
made a sample DRL file containing 1000 very simple rules that
Hi,
please provide some more details. Maybe a screen shot of your test
scenario would do.
It might be also useful to see your rules.
Cheers,
Jarek
VÅM§Ï ® wrote:
Hi ,
While writing the test scenarios,after pressing run scenario button i m
getting the below error in the server and
?
Thanks,
Steve Ronderos
rules-users-boun...@lists.jboss.org wrote on 07/29/2009 01:33:31 AM:
[image removed]
Re: [rules-users] Import Existing DRL in Guvnor never finishes
Jaroslaw Kijanowski
to:
Rules Users List
07/29/2009 01:39 AM
Sent
Hi,
Sumant Kumar wrote:
Thanks Vijay.
I think I have few more questions.
1) Does Guvnor include the runtime or Rule engine it self ? I could
create rule and execute it in Guvnor so does this mean it has Expert
included in it.
Yes (you can have a look at the WEB-INF/lib dir to see
Jackrabbit's built in Derby DB.
Steve Ronderos
rules-users-boun...@lists.jboss.org wrote on 07/29/2009 10:53:41 AM:
[image removed]
Re: [rules-users] Import Existing DRL in Guvnor never finishes
Jaroslaw Kijanowski
to:
Rules Users List
07/29/2009 10:57 AM
/
I am not sure why Jboss is not wraping them as component and call it Expert.
thanks
Sumant
*From:* Jaroslaw Kijanowski kijanow...@gmail.com
*To:* Rules Users List rules-users@lists.jboss.org
*Sent:* Wednesday
Hi,
just write this in the 'Field' box: address.street - sure, it's not
perfect (the GUI doesn't let you go deeper and provide the proper fields
to choose), but it's possible.
Cheers,
Jarek
Wishing Carebear wrote:
Hello:
I have a facts objects with nested objects : example:
pardeep.ru...@lntinfotech.com wrote:
Hi,
Thanks Jarek for your reply.
Still I have one doubt in my mind, how can I see the data for a newly
registered user (i.e name permission )
created through Drools Guvnor administrator functionality. Where
should I find the new user data(i.e. name
On Linux, when I created my own accumulate functions, I had to put this
file in my home directory to have it picked up by Eclipse.
Cheers,
Jarek
Edson Tirelli wrote:
root of your project classpath, not root of your project.
[]s
Edson
2009/7/15 Asif Iqbal
Hi
pardeep.ru...@lntinfotech.com wrote:
Hi,
I am using apache OFBiz which uses Entity engine as a persistence layer.
To know more about Entity engine refer this link
http://ofbiz.apache.org/docs/entity.html
Drools Guvnor uses Jackrabbit as a persistence layaer.
So my question is there a
Hi,
pardeep.ru...@lntinfotech.com wrote:
Hi,
I am using Apache OFBiz and had successfully integrated Drools Guvnor
war file with OFBiz.
By default Drools Guvnor supports Embedded derby, but in OFBiz i am
using MYSql , so i changed
the default embedded derby to MySql using repository.xml
http://blog.athico.com/2008/08/tuning-guvnor.html
http://jackrabbit.apache.org/jackrabbit-configuration.html
Cheers,
Jarek
pardeep.ru...@lntinfotech.com wrote:
Hi,
I want to integrate the Drools Govnor with extenal Database (MySql).
Can anyone help me how can i do the settings to connect to
Hi,
so far you have just created a name for your jaas configuration,
called brms. If you would use JBoss AS, you would need to create a
jaas config in server/default/conf/login-config.xml. Details are here:
http://blog.athico.com/2008/08/tuning-guvnor.html
Keep in mind that you use JAAS only
Hi,
rviswanathan wrote:
Hi,
I would like to understand the deployment pattern supported by Guvnor.
Everytime when I add the rules or model objects on Guvnor those files are
checked in on SVN repository.
1.) Where exactly those files are stored?
Out of the box it's stored in Jackrabbit's
I think it's because AGENDA-GROUP isn't considered at all, filed
JBRULES-2208.
k...@chryslerfinancial.com wrote:
I thought so but when I upload the .xls to Guvnor and view the source I
do not see it. I have it like this in my spreadsheet:
Any ideas would be appreciated.
Thanks
Johan Kumps wrote:
Hi,
Johan Kumps wrote:
Hi all,
I've a number of Excel based decision tables running in my
applications. Now I want to use Guvner to manage these rules.
Only importing the xsl files is not enough. So I have to
manually convert the
It should work without creating a dummy constraint, try this:
CONDITION
leave this row blank
$serviceContract:CreditServiceContract()
Cheers,
Jarek
Hehl, Thomas wrote:
Nope, that’s how it works. I wrote it up as a defect and it got closed
because no one seemed to think it was an issue. So,
Hi,
Johan Kumps wrote:
Hi all,
I've a number of Excel based decision tables running in my applications.
Now I want to use Guvner to manage these rules. Only importing the xsl
files is not enough. So I have to manually convert the xsl's to a web
based decision table.
Why do you need to
On Wed, Jul 1, 2009 at 1:03 PM, Jaroslaw Kijanowski
kijanow...@gmail.com mailto:kijanow...@gmail.com wrote:
Hi,
you may vote for this one ;)
https://jira.jboss.org/jira/browse/GUVNOR-109
So far I have successfully used 'stateDescription' and 'creator',
for sample rules look
or the model jar?
VÅM§Ï ® wrote:
/Hi Jaroslaw Kijanowski /,
Thanks for your reply.here is some my jar content.
com/aklero/db/entity/InstClient.class
com/aklero/db/entity/RiderType.class
com/aklero/db/entity/AbstractDmsDocumentDataMapping.class
com/aklero/dms/DMSIntegrator.class
com/aklero/dms
Hi,
http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-introduction/html_single/index.html#d0e1371
3.1.3.3. Installing Drools plug-in from zip file
and
3.1.3.4. Drools Runtimes
You could also use the update site: Drools 5.0 Eclipse Workbench for 3.4
Hi,
I've configured my knowledge base to use the EQUALITY assertion behaviour.
When I insert two equal facts into the session, only one gets processed
(objects and their fact handles are equal).
However when I insert two equal facts via streams, my rule fires twice
(objects are equal, but
Can you please post the content of your jar file ($ jar tf myFile.jar)?
Can you also check the server's console and post any error messages?
VÅM§Ï ® wrote:
Hi,
After uploading the jar file,and clicking on *save and validate
configuration* returning an error called technical error occurred.In
https://jira.jboss.org/jira/browse/JBRULES-2154
Thanks.
Edson Tirelli wrote:
Jarowslaw,
Could you please open a JIRA for this. I need to investigate.
Thanks,
Edson
2009/7/1 Jaroslaw Kijanowski kijanow...@gmail.com
mailto:kijanow...@gmail.com
Hi,
I've
Hi,
you may vote for this one ;)
https://jira.jboss.org/jira/browse/GUVNOR-109
So far I have successfully used 'stateDescription' and 'creator', for
sample rules look at this:
https://jira.jboss.org/jira/browse/GUVNOR-108
Haven't tried to select by category - how about 'categorySummary'?
Hi,
I'm using sliding windows (hence stream mode).
Here's my rule:
declare Sensor
@role (event)
end
rule 'r'
when
Number( dv:doubleValue 1 ) from accumulate(
Sensor( $v : value ) over window:length( 2 ),
average( $v ) )
then
System.out.println(dv);
end
Here's
https://jira.jboss.org/jira/browse/JBRULES-2150
Thanks.
Edson Tirelli wrote:
Jaroslaw,
This looks like a bug. Would you please open a JIRA and attach the
info bellow as well as drools and mvel version used?
Thanks,
Edson
2009/6/30 Jaroslaw Kijanowski kijanow...@gmail.com
What error? Can you paste the server log?
Maybe it's the white space before 'brms' in your connection url? Maybe
you didn't provide the driver jar?
Cheers,
Jarek
ami...@hsenidmobile.com wrote:
hi everyone,
I had problem in setting up a Database (mysql) with Drools Guvnor. wht i
did
Can you try *the same versions* of the plugin+runtime and Guvnor. GA
should work.
SHIMI Abdelouahad ( Prestataire ) wrote:
I was deploy Guvnor(drools-5.0.0.CR1-guvnor) as an exploded archive on
the JBoss Application Server(version jboss-4.2.3.GA).
And I was
* Create categories, ok
*
Hi,
maybe this helps:
http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-expert/html_single/index.html#d0e1123
Resource scanning is not on by default, it's a service and must be
started, and the same is true for notification. Both can be done via the
ResourceFactory.
Have a
Hi,
here's my understanding:
Roles are only then taken from JAAS, if you *disable* fine grained
authorization (set enable-role-based-authorization to false).
There are two roles that are available if you use JAAS: admin and non-admin.
So you can use JAAS for *authentication*, no problem. You can
Hi,
same happens if you update your rule in Guvnor. The rule agent won't pick
up the changes; you have to rebuild the whole package. Same for EGT. So it
looks fine to me what you're seeing.
Cheers,
Jarek
On Wed, May 6, 2009 at 8:05 PM, Ingold, Jonathan
jonathan.ing...@jackson.com wrote:
Try with lower case field names.
J Michael Dean wrote:
Started new model in Guvnor and declared two fact types. Nothing else
involved. Source code that is provided from Guvnor is shown below. But
when I try to build the package, or create a scenario, I get error
[package configuration
Did you set the global on your session?
http://downloads.jboss.com/drools/docs/4.0.7.19894.GA/html_single/index.html#d0e948
Cheers
Przemysław Różycki wrote:
Sorry for responsing myself, but I'm still working on it and found that
when factSource is a fact, not global, the rule works very well.
It tries to create the file in $JBOSS_HOME/bin and this can be changed
in components.xml
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-guvnor/html_single/index.html#d0e127
Raphael Duarte Paiva wrote:
Hi!
I'm using JBoss 4.2.3.GA
And did the stack trace change? Can you post more details (drl, java src)?
Przemysław Różycki wrote:
Yes, I did. This was the first thing I've checked.
Best regards,
Przemek
Jaroslaw Kijanowski pisze:
Did you set the global on your session?
http://downloads.jboss.com/drools/docs/4.0.7.19894
Hey Dave,
attaching a screen shot, works fine on my side on FF 2.0.18 and 3.0.3.
Please create a jira with a screen shot, if it still fails for you.
Thanks,
Jarek
David Sinclair wrote:
This is still not working in M3
On Fri, Nov 7, 2008 at 12:39 PM, David Sinclair
[EMAIL PROTECTED]
This may be helpful:
http://www.ee.pw.edu.pl/~kijanowj/index.php?site=articlesarticle=2_drools_hibernatelang=en
Cheers,
Jarek
Senlin Liang wrote:
Thanks. Where could I find the related manual or instructions? I
searched through the doc for drools, and the email archive, there is
really no
Mapping is the job of Hibernate, not Drools ;)
To be able to manage data in/from a database (persist, read,...) you
need to configure Hibernate and one of these config steps is to provide
the mapping.
Cheers,
Jarek
Senlin Liang wrote:
Hi,
Thanks a lot! The information is really helpful.
May be you could store the names of every fired rule in a global by
putting drools.getRule().getName() into a list on the RHS.
Then you could get all rules in your package ( pkg.getRules() ) into
another list and diff both collections (another_list.removeAll(list) ).
Thalupula Ravi wrote:
Hi,
Ron Kneusel wrote:
Greetings!
I am attempting to run the HelloWorld example for Drools 4. I have Eclipse 3.3 setup on Windows with the Drools plugin. I have created a project with the Drools examples and added all the Drools .jar files to the project. Everything compiles. When I initially
Hi,
it may also help to have a look at the PetStore example.
Alexander Claus wrote:
I want to use rules which shall generate as a consequence a new java
object.
The GUI of my application shall display the new generated objekt.
but how can the GUI of my application get informed by the rule
Hi,
you have to escape characters with regexp meaning (see docs for details).
Try this:
email matches @\[A-Za-z0-9\]*
phone not matches d{3}-d{3}-d{4}
Moreover I guess your rule is anyway broken, you will get a cross
product of Orders, so I would remove There is an Order
, memberOf, etc must be a
field. catId is a field, advertisment is a global.
To have it fixed try
is of type Advertisment=catId memberOF advertisment
Cheers,
Jarek
Cheers
Markus
On Thu, May 29, 2008 at 2:48 PM, Jaroslaw Kijanowski
[EMAIL PROTECTED] wrote:
Hi,
there are two issues
Hi,
I'm running the StateExampleUsingSalience example. It uses a fact with
PropertyChangeSupport.
AFAIUI I don't have to call update() every time I modify this fact in
the RHS, when I want to have my rules to be reconsidered.
I've modified the drl to look like this:
rule a
no-loop true
). Whilst not ideal it works.
cheers
Steve
On Tue, May 20, 2008 at 10:36 PM, Jaroslaw Kijanowski
[EMAIL PROTECTED] wrote:
Hi,
when I create my own accumulate function, I add it to
src/main/java/META-INF/drools.packagebuilder.conf and it works fine.
However, eclipse is showing one error
Hi,
as mentioned in the docs, you could use an ant task. So if you look at
the sources
drools-ant/src/main/java/org/drools/contrib/DroolsCompilerAntTask.java
you will notice, that it adds the package file explicitly.
In your case, try this:
String rulePackageContent =
Hi,
when I create my own accumulate function, I add it to
src/main/java/META-INF/drools.packagebuilder.conf and it works fine.
However, eclipse is showing one error:
No accumulator function found for identifier: ...
I've found this
74 matches
Mail list logo