JBPM 5 Console
by Alberto R. Galdo
Hi,
Our set-up consists in a KnowledgeSession that lives in an OSGi
environment wich contains rules, processes, events, .... and it is
connected to an Guvnor installation in a JBoss aplication server ...
What we are trying to accomplish is to be able to use the JBPM Console
with our current Knowledge Session. Our plan is to install JBPM-Console in
our current JBoss connected to our session in the OSGi container ( Equinox
).
There seem to be a lack of documentation for this kind of installation
and in the manual the automated installation is recommended ( the one that
has Guvnor, JBPM Console, Drools, etc... all in one package ). We've
tested the automated installation and indeed there it is the console,
drools and so on, and it works, but when we peek at the code to find ways
of integrating our "remote" ( at least in another virtual machine )
session we saw that whenever jbpm-console doesn't find a current knowledge
session it starts one in the current virtual machine using processes,
rules that exist there on purpose. In other words jbpm-console seems to
work only for local ( as in the same virtual machine ) knowledge sessions.
Also there's an integration API wich solves this problem and abstracts
different knowledgesessions providers from the knowledge-api point of view
... but we couldn't find any definitive documentation that fills the gaps.
Can you give us any pointers to documentation on the subject. Will we be
able to get a JBPM-Console accessing ( and managin ) our processes living
in a session on another virtual machine?
Best regards,
Alberto R. Galdo
argaldo(a)gmail.com
14 years, 3 months
jbpm and rule flow
by sumatheja
Hi All,
I'm a bit confused regarding the differences between the two. I
understand that JBPM is a complete workflow with full workflow
capabilities. But will the rule-flows continue to work? I've created a
sample rule-flow, but it doesn't work until I put the jbpm jars in the
classpath. I can remember in older versions of drools I never used to
import these jars seperately.
Is it recommended to continue writing rule-flows with the latest
versions?? I'll be grateful if someone can provide me a link where I can
get my confusions cleared.
Thanks in advance
--
cheers
Sumatheja Dasararaju
14 years, 3 months
Deactivate rule automatically activated via KnowledgeAgent
by FlyingEagle
Hi,
I want to adminstrate and deploy my rules with Guvnor. The deployment is
done with a binary file (.pkg). On my target system, a KnowledgeAgent with
defned change-set is running and activates automatically the rules defined
in the pkg file. Up to this point everything is fine.
How can I now deactivate a rule (remove it from the KnowledgeBase)?
Is there a standard mechanism available to undeploy via Guvnor?
Or must I deploy a new pkg file, which does not contain the rule to be
deactivated?
Are rules automatically deactivated, when the pkg file is deleted on the
target system?
Is this an approach for solution?
What is the best way to solve the problem?
Thanks a lot for your help!
--
View this message in context: http://drools.46999.n3.nabble.com/Deactivate-rule-automatically-activated...
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years, 3 months
Please add me to rule users list
by Atif Tahir/TVM/TCS
Hi
Please add me to rule users list and mail me the updates.
--
Regards,
Mohd Tahir
Tata Consultancy Services Limited
Mail to : atif.tahir(a)tcs.com
Website : http://www.tcs.com
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
14 years, 3 months
cdi support
by Kelly Goedert
Hi,
I asked this same question on seam forum and they told me to ask
here... does drools support cdi?
Thanks
Kelly
14 years, 3 months
StatefulSession finalize() memory question
by sefarm
I'm just beginning at a project that is using Drools in a Desktop
application, currently V 5.2.0.
This is my first contact with Drools.
My first task was to analyze the application's memory usage. I noticed that
there were quite a number of
ReteooStatefulSession's hanging around on the Finalizer queue--they never do
get GC'd (at least not in
normal operation). My question is the motivation for implementing
StatefulSession's with a finalize()
method. My understanding is that it is best practice to call dispose() in
any case, when finished with the
session.
I built drools-core here locally and removed the finalize() method which had
the desired effect--no Sessions
on the Finalizer queue.
The application uses rules as the logic behind data entry masks. One rule
per mask type, one session per
mask instance. There may be several instances of a mask type active at any
time.
Thanks,
Steve
--
View this message in context: http://drools.46999.n3.nabble.com/StatefulSession-finalize-memory-questio...
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years, 3 months
Knowing which constraints are broken for final best solution in drools-planner
by Manuel Aráoz
Hi! I'm new to this forum so... my name is Manuel and I'm using drools
planner to solve an exam scheduling problem :)
I need to analyze which constraints are broken while the algorithm is
running and when the solver finishes also. Geoffrey pointed me to the
examples, where that is done.
I copied the getScoreDetailList() idea from that example, and it works
perfectly fine for when the algorithm is running (constraints are found and
I can inspect them). The basic idea is that this method obtains the working
memory and obtains from it the objects of type ConstraintOccurrence.
The thing is, when the solver finishes and I call this method, it returns
no constraints, even though I know by the score that some constraints are
still broken. Am I doing something wrong? Or is this the expected
behaviour? It seems as if working memory erases the ConstraintOccurrences
when the solver finishes, but I don't really know. In that case, how can I
obtain the constraints broken for the final solution?
Hope I made myself clear! Thanks!
Manuel
14 years, 3 months
Is it safe to 'build' a knowledgebase (compile rules) in a web app?
by groovenarula
Hello,
In our environment we need to develop a framework wherein we would have
about a dozen rule templates whose data will be provided by users using
spreadsheets. Basically users will upload excel workbooks containing 10-12
worksheets and we'll be using ExternalSpreadsheetCompiler to generate the
appropriate DRLs that will then be 'add'ed to a KnowledgeBuilder class to
create a KnowledgeBase. We need to provide this capability use a web
application deployed in Tomcat.
Question - Are KnowledgeBuilder/ExternalSpreadSheetCompiler thread safe ? Is
it safe to develop this KnowledegeBase build process in a web application ?
If these classes are not thread safe, can someone please advise me on how to
make this framework single threaded ? It's perfectly acceptable for the
framework to be single threaded (essentially if more than a single session
tries to upload a workbook, they will have to wait a few mins if there are
other workbooks being processed ahead of theirs). I know the last question
is not drools centric, but it would be great to hear from the gurus on how
best I can make the build/compile process single threaded.
Please let me know if this is a safe approach to take or if there are ways
to make this approach safe !
Thanks in advance,
-G
--
View this message in context: http://drools.46999.n3.nabble.com/Is-it-safe-to-build-a-knowledgebase-com...
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years, 3 months
global identifier
by Bobby Richards
Is there a way to create a 'global' that is completely specific to a drl
file rather than the working memory? I only wish to use this in rhs
notification/persistence operations, ie passing a user's unique id to a db
or sms operation.
I know this does not work but perhaps it will help to better illustrate my
question:
global int user_id = 123;
...
then
notification.sendSMS(user_id);
14 years, 3 months
Performance boost separating accumulates or removing typecasting
by ploaiza
I wanted to find out if anyone has a comment on what would increase the
performance of the rules more.
1. Removing the typecasting from strings to enumerations back to strings for
1/3 of all the rules
2. Splitting a rule that gets executed for every request multiple times with
4 accumulates with sum into 4 different rules with single accumulates with
sum
My guess is that the second one would increase the performance more because
keeping all the accumulates in one rule, every time the first accumulate
changes, the other accumulates would have to be recalculated. This could
exponentially affect the performance.
Any comments on this would be greatly appreciated.
--
View this message in context: http://drools.46999.n3.nabble.com/Performance-boost-separating-accumulate...
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years, 3 months