We did not perform the migration largely due to scheduling and the volume of
changes that would be needed (against our working system). We use Guvnor,
the Drools Integration Server as well as a Camel application which
incorporates Drools - a lot of moving parts to update. The big hurdle I
ran in
I added a KnowledgeAgentEventListener (Drools 5.6) to a knowledgeagent. My
vision is to use one of the listener methods (beforeChangeSetApplied
perhaps) to examine the change set and determine if I want to cancel its
processing. I see that the documentation states that the event getters
return im
I'm using Drools 5.5 with Hibernate 4 and Spring 3.1.
I am trying to implement the shared persisted session referenced
(http://www.plugtree.com/making-a-non-persistent-ha-knowledge-session/) but
I can not get it to work. I have two knowledge sessions (two instances of
the drools integration serve
What is the difference between the 5.6.x and 5.6_dynamic branches in github?
Thanks,
-J
--
View this message in context:
http://drools.46999.n3.nabble.com/What-is-the-5-6-dynamic-branch-tp4028353.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
manstis wrote
> A more complete stack trace would be useful; or your repository.xml..
> either way there's not much to go on at the moment.
Sorry, here's the stack trace:
org.drools.RuntimeDroolsException: Unable to load dialect
'org.drools.compiler.rule.builder.dialect.mvel.MVELDialectConfigurat
Getting there. Not sure what is up with my Guvnor repository, but if I
export the repo from guvnor, then unzip the xml file and create a new jcr
repository from it, the migration tool seems to (start to) work on that one
(after I copy the repository.xml into the repository directory).
The module
Hello, sorry, I do not remember if/how I resolved the issue. I currently use
a persisted stateful session (Drools 5.5) retracting the facts I insert with
a rule with high salience and everything works fine.
I did bump into an issue recently where a rule with a bad mvel expression (a
variable in a
manstis wrote
> We'd be interested in hearing how your use goes too. We've endeavoured to
> cover everything in the migration tool; but there may be some dark corners
> in older repositories.
An update. I am running the migration tool, but it only seems to be
including the default package. When
Ah, in the "migration" directory...go figure :) Thank you (will report back
on process/progress if anyone else is interested)
--
View this message in context:
http://drools.46999.n3.nabble.com/Migration-to-Drools-6-and-Workbench-from-Guvnor-5-5-tp4028040p4028042.html
Sent from the Drools: Use
We are currently using Drools 5.5 with Guvnor and investigating ways to
migrate to Drools 6 and workbench. Thus far, the only option I have found
is to re-add each rule (i.e. no "Import Repository" option). Has anyone
made this migration and what was your method?
Is there any sort of migration g
Did as you suggested: unzipped the repositories directory and set the system
property *org.kie.example.repositories* to the resulting main directory.
Worked like a shot :) Thank you! -J
--
View this message in context:
http://drools.46999.n3.nabble.com/Uberfire-jars-missing-for-workbench-tp
manstis wrote
> All JARs that are used exclusively by GWT to compile client-side Java
> Script are excluded in the distributions as they are not needed at
> runtime.
Ok, so I hear you saying, "don't worry about them"i wont :)
Thanks. Sorry also imagine this is a noob question. When I try to
I'm trying to run the new workbench (6.0) in Tomcat 7. I loaded the
distributed war for tomcat into eclipse but can not find several classes in
the org.uberfire.client package. It seems like I need the
uberfire-client-api jar, but it isn't included in the distribution? Where
is the best place to
I'm using the Drools Integration server (5.5) (with a persisted stateful
ksession) and a java client that is sending events via httpclient.
Most of the time, things work fine. Sometimes, when I restart the
integration server, when it comes back up I I start getting messages (all
following msgs to
I am using drools 5.5 with Guvnor and the Integration Server. My integration
server uses a knowledgeagent that pulls the package from guvnor and I have
set the drools.resource.urlcache for a local cache in case Guvnor is
unavailable.
If Guvnor is available at startup, the KAgent sees any deploy
I have some confusion about running rules in the Integration Server (v5.5).
I am sending POJOs to the server from a camel (v2.10) Spring client app.
The client inserts a POJO (via batchexecutioncommand) and the rules change
an attribute on the POJO to return the value to the client.
I know, I kn
Hmm, whelp, no, nothing empirical. I think in my head I am combining a few
things I've read.
In the Developers Cookbook (pg130) there is a comment that entry points can
help reduce cross products and can be used to partition memory. I remember
reading that the entry points are built during com
I am sending events to drools integration server (5.5). I have a good number
of rules so I am looking at using entry points to speed things up. My
client app will send to an entry point based on the value of one of the
event attributes. While I will typically know all possible attributes, I
may
Not 100% sure I understand your question, but I think in eclipse I just
created the correct package and then added the class - then it will be
included when you run. You could of course manually compile the class and
put it in your ./WEB-INF/classes folder too. hth
profversaggi wrote
> I was ab
manstis wrote
> Are you using a XLS decision table or a web one?
I'm using the Guvnor web-guided editor to build the decision table.
Thanks,
-J
--
View this message in context:
http://drools.46999.n3.nabble.com/Entry-Point-from-parameter-in-Guvnor-Decision-Table-tp4027132p4027179.html
Sent fr
Hi, I'm using Guvnor 5.5. I have a decision table and I would like the entry
point in each rule created to be based on the value in one of the table
elements. I've tried $param in the "From Entry Point" field, but it always
just substitutes the string (literal string "$param") in the rule rather
Thanks W. I understand your point about overusing salience -- I have read
not to rely on it, but find that I pretty often "need" to order my rules. I
seem to have two causes for this: a hierarchy of rules (a la, if then else);
and, a number of actions I want to execute before any business rules (
I am testing with fusion (5.5) and running into an /intermittent /issue. I
am trying to track transitions between two big events (BEvent) using a
smaller event (SEvents) with the properties I care about. The idea is that
I will maintain many SEvents in memory for the different kinds of BEvents.
Thanks David. Short answer is yes, I have it set to false.
I am actually combining Spring and Java Configuration (I am doing this all
in the drools-server). I create my KnowledgeAgent in Spring and then pass
it (with the EntityManagerFactory, TransactionManager, and node) to an
"Initializer" b
I'm using Drools 5.5 (and guvnor)
Can anyone point me to example where a knowledge agent is used with
persistence. I am trying to understand how the knowledgeagent is used with
a persisted session. Fundamentally when my app starts, I am trying to do
one of two things:
If a persisted session doe
I have an Drools 5.5. application that persists a stateful session to a
database. While it was running, I made some changes to my rules (via
Guvnor). When I restarted my application it was no longer able to reload
the persisted session:
*Caused by: java.lang.RuntimeException: Unable to load ses
Hello, I am using jBPM 5.4 with persistence and have long running processes
and make make changes to the knowledge base periodically (via drools guvnor
5.5). I use JPAKnowlegeService.loadStatefulKnowledgeSession(...) to retrieve
my existing knowledge session. When I make a change to the rule base
I have a Drools 5.5 guided decision table (via guvnor).
I am trying to populate both the timer value AND a value on the RHS with a
value from a single column. For example, I'm trying to produce code that
looks like:
I want to have source like:
rule "rule1"
timer(*1d*)
when
$car : Car (name
Aha! Thanks very much (not quite as "user friendly...looking" as I had
hoped, but it works).
--
View this message in context:
http://drools.46999.n3.nabble.com/Duplicating-template-capability-in-decision-table-tp4025528p4025564.html
Sent from the Drools: User forum mailing list archive at Nabb
My long lived templates have stopped working (I click the Load Template Data
button and nothing happens) -- I have seen this issue in Jira spanning
several versions (with associated "fixes"). Oh well.
Anyway, I've decided to re-implement using a decision table, which I heard
can duplicate the s
How about inserting an object when the rule files, then checking for the
existence of that object before re-firing. (Or retracting the object to
"enable" it)?
--
View this message in context:
http://drools.46999.n3.nabble.com/how-to-enable-and-disable-a-rule-tp4024550p4024574.html
Sent from th
I am using Drools 5.4 and trying to create an xls spreadsheet and upload it
to Guvnor. I see in the documentation that I should be able to add a row
for attributes:
(http://docs.jboss.org/drools/release/5.4.0.Final/drools-expert-docs/html/ch02.html#d0e1298)
However when I upload the spreadsheet
I am trying to deploy Guvnor 5.5 in tomcat 7. Version 5.4. installs and runs
fine. However, when I run version 5.5 Final I get a 404 error: "HTTP
Status 404 - /guvnor/org.drools.guvnor.Guvnor/moduleService"
So, a few questions. First, what is the moduleService? I see the class
(http://grepcod
It turns out if a use a threaded file logger, it works (no idea why):
KnowledgeRuntimeLoggerFactory.newThreadedFileLogger(ksession,"krun",500)
--
View this message in context:
http://drools.46999.n3.nabble.com/Does-KnowledgeRuntimeLogger-work-with-persistence-tp4023372p4023374.html
Sent f
I am using Drools 5.5 with persistence. If I create a session like:
ksession = kbase.newStatefulKnowledgeSession(null,env);
My logger works as expected:
KnowledgeRuntimeLogger klogger =
KnowledgeRuntimeLogger.newFileLogger(ksession,"run")
HOWEVER, if I create the ksession like:
Hi, I'm using Drools Server 5.4.
I have a bean that I am sending to the drools execution server. The server
is processing the object and modifying it as expected - I see the expected
changes to the object in the XML (execution results) returned from the
server.
I would LOVE for my rules to be ab
I'm sure you have this by now, but I just ran into it again, so here it is
for the next persion.
Yes, you'll have a Declare column then the next column looks like:
declare PmbDataType
field1:String
field2:String
date: Date
cost: float
end
(note, you need the *decl
I've been using Guvnor for a while (on v5.4) now. However, I've always had
everything in one "package." As my project grows however I am looking to
improve the organization of my assets - it is getting harder and harder for
me to find in Guvnor the rule I am looking for. As I looked into this it
Salaboy, the issue I have is that I want users to be able to see the process
graphically, so I think that means I need one overall process (I may use a
few sub-processes). Using rules however as you suggest is there a way to
"pause" a process until a message (/signal) with certain criteria is
inse
Thank you for the information / update.
I notice that almost all of the examples that I find are user task based (or
more specifically, NOT event-based, which is my use case). I am planning to
inform a process largely (but not entirely) with events. Short of having a
signal and gateway for eve
Hi,
I am considering using drools with Flow/jBPM as an integral part of a
corporate solution. However, it seems to me like the project is dying on
the vine. I understand the code is still being worked but overall interest
seems to be waning; evidenced by things like, a (...the) jBPM 5 book due t
Hi,
I am struggling with using a process with *rule-based* flow. I have seen
looked at the canned ("evaluation") example but it is not rule-based. The
other examples I have found are really simple (like a print "HELLO" example)
where they just set up the "process," issue a fireallrules, then th
Isn't Example 2.3 (below) incorrect in the 5.4 Drools Spring integration doc?
It looks like there are two problems. First, a typo "configurations" should
be "configuration" (without the 's'). Secondly, according to the .xsd it
looks to me like batch and configuration elements must be mutually ex
I am using the drools 5.4 Integration Server (with Guvnor).
I have two instances of the Integration Server and (ideally) one instance of
the rules in Guvnor. I would like to create some rules that depend on the
instance of the Integration Server on which they are running. The vision is
that I
I am using the drools integration server (v5.4) (thus Spring v3) and trying
to configure a session that persists to a (mysql) database and reloads on
startup.
It seems like JPAKnowledgeService should fit the bill, except I'm at a loss
as to how/if it can be used in a Spring environment.
http://do
Yes, correct; that was my question. Thanks for your response (and for adding
to Jira). -J
--
View this message in context:
http://drools.46999.n3.nabble.com/Can-two-rules-use-the-same-template-data-Guvnor-5-4-tp4019207p4019252.html
Sent from the Drools: User forum mailing list archive at Nabb
I have template data that has several attributes per row. I would like to
have several rules that use the same template data. When I do a "Create New
-> New Rule Template" I only see the ability to use a single rule against
that data. Can I add a rule? (Obviously, I want to avoid having many
du
I'm using Guvnor 5.4
I find myself sometimes wanting to use templates to map a string to a
metadata value or timer. For example, based upon a name, set a value for
the timeout. As far as I can tell however, the only way to create a
template column in guvnor is to include the column identifier in
Hi,
I am receiving events from a group of about 15 different event producers -
each with different names (located in the message). I want to make sure
that I get at least one event from each of those 15 producers within a
pre-determined period of time; the period can be different for each
produce
I am using the Drools 5.4 integration server in a stateless session. I have
it running fine with the example. Now, I want to use custom Quartz
calendars in my rules. The only way I could come up with to do this in
Spring (a la integration server) was to create a bean that takes a ksession
constr
Also, for anyone needing it, I got it working with the CamelServerApp class
here:
http://grepcode.com/file/repo1.maven.org/maven2/org.drools/drools-camel-server/5.4.0.CR1/org/drools/server/CamelServerApp.java
Then I added the direct endpoint in camel-server.xml:
http://loca
I turns out this is a known issue.
https://issues.jboss.org/browse/JBRULES-3520
--
View this message in context:
http://drools.46999.n3.nabble.com/Where-is-org-drools-server-package-for-camel-server-tp4018668p4018719.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_
I downloaded and deployed the Drools 5.4 drools integration server
("drools-camel-server-5.4.0.Final.war") trying to run the test. However,
there is a class referenced in test.jsp "org.drools.server.CamelServerApp"
which I cannot find (actually, I found the source code for CR1 for that
class in g
Hi,
I am using drools 5.4 via the web-based server (running in tomcat). My
rulebase is stored (and created/maintained) in guvnor.
I have a template rule (in guvnor) that I use to define alert conditions.
The template has a few columns that allow users to specify several
properties of an event o
answered:
http://drools.46999.n3.nabble.com/Can-you-remove-logging-information-from-BatchExecutionCommand-td3377109.html
--
View this message in context:
http://drools.46999.n3.nabble.com/Bug-with-BatchExecutionHelper-when-using-Log4j-rootlogger-tp3293188p3767382.html
Sent from the Drools: User f
OK, so I found the file here:
http://grepcode.com/file/repository.jboss.org/nexus/content/repositories/releases/org.drools/drools-spring/5.1.0.M2/org/drools/container/spring/drools-service-spring.xsd
So, I guess my first question above can be change to, "Is this the most
recent version?" Questi
Hi, I am configuring a drools server via spring and I need to execute a
startup-command (as shown here
http://lucazamador.wordpress.com/2010/05/27/drools-server-spring-configuration/).
Seems straight forward until I started looking for .xsd files (specifically
for http://drools.org/schema/drools
I'm a noob - sorry if this is an oversimplification of your question - but
the way I debug most often is to just put a System.out.println(...) in the
rule (easy for me since I only currently have about a dozen rules and use a
template). I've also started to take to JMX monitoring (which i found out
Using Drools 5.3, I'm trying to set up a statefull knowledgesession that
persists out to a database. With all of the examples on nabble and the
documentation (Example 2.10. JPA configuration for StatefulKnowledgeSessions
http://docs.jboss.org/drools/release/5.3.0.Final/droolsjbpm-introduction-docs
Sorry, I'm using Drools 5.3
--
View this message in context:
http://drools.46999.n3.nabble.com/null-POJO-attribute-causing-template-issues-is-there-a-better-way-tp3701360p3701367.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
Hi,
I'm using a template to validate information in my POJO. I've got a row for
the different valid possibilities.
My template rule (in guvnor) looks like:
WHEN
There is a MyBean[$mb] with:
itemname matches templateItemName
cost greater than templateCost
caveat matches templateCave
Ok, still working on this, but I have more information from
http://drools.46999.n3.nabble.com/fireAllRules-multiply-times-td1019111.html#a1019469
and
http://drools.46999.n3.nabble.com/How-to-avoid-multiple-calls-to-fireAllRules-if-possible-td50345.html#a50349
apparently fireallrules() doesn't
First, my intent:
1) insert a pojo into a stateful session
2) based upon that pojo's attributes, create and insert a new fact
(different type)
3) retract the initial pojo, but keep the newly created fact in memory for
some period of time
After some helpful insight from the forum, I thought
Sorry for my terminology; I'm a noob, but I think I understand your
suggestion. By "initial" facts, I just mean the facts that I insert within
my batchexecution command. In reality, I am adding a pojo to that
batchexecutioncommand and then my rules check the pojo's attributes. I
don't want that
Hi. I've got a stateful session running in drools-server. A separate client
is inserting facts using a batchexecutioncommand and reading/using the
result returned from the service call. I need a stateful session because
when I insert the facts from the client, some of the rules that trigger
inser
Also, the biggest reason I'm trying this is that the _stateless_ session
doesn't seem to be calling dispose (at least the number of classes grows
with each fact until I run out of memory).
--
View this message in context:
http://drools.46999.n3.nabble.com/Enable-Sequential-Mode-in-Spring-tp35923
Mark, Thanks for your reply. I am using the drools server and have a
stateless session configured but I need to run it in sequential mode (dont
need inference and it is currently too slow and memory intensive). How do
you should I turn on sequential mode in the server?
--
View this message in c
I am using the drools server and want to use the knowledge base in sequential
mode, but I can not figure out how/where to do this. I've looked at the
Expert documentation, but no luck. Has anyone done this before?
Thanks
-J
--
View this message in context:
http://drools.46999.n3.nabble.com/Enab
I see in the drools server
knowledge-services.xml and throughout the documentation. But, my app can't
compile because that is undefined. I looked in drools-spring.xsd and
spring-beans.xsd (the two namespaces defined in that file), but no joy. Am
I just blind?? Anyone know where it is defined?
You are using that in your drools application? I am basically trying to do
the same thing but using the drools server. I'd really like the ksession as
the server needs to have as good a turn around as possible.
Anyone know how to configure sequential mode via Spring?
Thanks
--
View this messag
Hi, I'm using drolls 5.3 server with one rule in a _stateless_ session. I am
sending a POJO to the server, having it check a few attributes, modify the
attributes of the bean as needed then return the result. I have this
working and get back an execution results object like I need.
The problem
Figured it out. In case anyone else sees this, the issue was that the bean
that I was sending to the Drools server had a "logger" property, which
XStream was trying to serialize. I didn't want to do a
myBean.setLogger(null) because I wanted to actually do some logging in the
bean. So, the soluti
I am sending a batchexecution command to a drools server:
8<...
MyBean mb = new MyBean();
List cmds = new ArrayList();
InsertObjectCommand insertCmd = (InsertObjectCommand)
CommandFactory.newInsert(mb);
insertCmd.setOutIdentifier("inserter");
insertCmd.setEntryPoint("Default");
cmds.ad
Hi,
I have a small drools client that sends a pojo to a Drools Server using
xstream:
MyBean mb = new MyBean();
List cmds = new ArrayList();
InsertObjectCommand insertCmd = (InsertObjectCommand)
CommandFactory.newInsert(mb);
insertCmd.setOutIdentifier("inserter");
insertCmd.setEntryPoint("Default")
74 matches
Mail list logo