Hi,
I'm using jBoss Rules.But I run in to memory issues after using JBoss
rules. Using a profiling tool I collected heap dump
and I got the result as :
/One instance of org.drools.reteoo.ReteooStatefulSession loaded by
sun.misc.Launcher$AppClassLoader @
Hi,
I'm using jBoss Rules.But I run in to memory issues after using JBoss
rules. Using a profiling tool I collected heap dump
and I got the result as :
/One instance of org.drools.reteoo.ReteooStatefulSession loaded by
sun.misc.Launcher$AppClassLoader @
Thanks for your response Marc.
I've also test this functionnality with the 5.5 version and I've got the
same error.
Do you know if this will be resolved in the next release ?
Thanks,
Didier
--
View this message in context:
Please provide detailed information about
- the number of your rules
- a statistic of the complexity of your rules (r rules with p
patterns, p = 1,...)
- a statistic of the facts (f facts of class C, with one C object's
size being s)
-W
On 25/06/2013, anniejoseph chithraan...@gmail.com
We try try to initialize a KieBase like this:
but no rule files where found.
Spending some time for debugging, we realized that in KieBuilderImpl (and
other places) file names are compared with linux path delimiter
but - as usally known - Windows file system uses '\' .
We made the
Instead of a NPE we would expect a error message in the KieBuilder results:
--
View this message in context:
http://drools.46999.n3.nabble.com/NPE-in-org-drools-compiler-compiler-PackageBuilder-tp4024516.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
Hi,
I have two rule files(rule1.drl and rule2.drl) first file contains 5
rules and the second one contains 9 rules.
Each rule contain 2 or 3 patterns .Also objects used by every rules are
same. Objects contain two lists
and size of these list can vary according to the situation.
--
file.separator
Daniel Straub wrote
Spending some time for debugging, we realized that in KieBuilderImpl (and
other places) file names are compared with linux path delimiter
We made the followin hack
Hack, indeed. RESOURCES_ROOT should be set correctly, using
System.getProperty(
Are all of your facts of the same class? How many fact objects do you
have? How many objects are in the two lists of these facts? Please be
more precise.
-W
On 25/06/2013, anniejoseph chithraan...@gmail.com wrote:
Hi,
I have two rule files(rule1.drl and rule2.drl) first file contains 5
Probably something like the one below...?
A java.lang.NullPointerException was caused for unknown reason by
undisclosed code, guess what.
--
View this message in context:
http://drools.46999.n3.nabble.com/NPE-in-org-drools-compiler-compiler-PackageBuilder-tp4024516p4024521.html
Sent from
The first attempt was to modify the RESOURCES_ROOT ... but there are more
places where '/' is used instead of the correct file.separator
e.g. org.drools.compiler.kie.builder.impl.KieBuilderImpl :
--
View this message in context:
Yeah, something like this ...
Or an indication which rule / package fails to build.
--
View this message in context:
http://drools.46999.n3.nabble.com/NPE-in-org-drools-compiler-compiler-PackageBuilder-tp4024516p4024524.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
It will have to be fixed in most places.
And here is another one:
KieBuilderImpl.generatePomProperties uses \n for line delimiters.
That's not a problem with XML, where it only affects the readability.
See generatePomXml.
-W
On 25/06/2013, Daniel Straub d...@ctrlaltdel.de wrote:
The first
Could you please open a JIRA ticket, and/or submit the DRL fragment that
causes the exception?
Sometimes NPEs are symptoms of problems that happen elsewhere and do not
manifest until much later.
Thanks
Davide
--
View this message in context:
Hi,
All of my facts are of the same class. One of these list contain only one
object and in the other list contain sometimes 0 objects and sometimes it
can be 5 or 6.
--
View this message in context:
Then it is very likely that rules with 3 patterns referring to the
same, single class cause the excessive memory consumption.
You'll have to show us such a rule and explain why you think you need
to write the patterns the way you did - then, we should be able to
propose a solution.
-W
On
Hi,
I have a requirement that needs to convert a level (eg. an Information)
to
a higher level (eg. an exception)
The conversion happens on the basis of the number of times Information
occurs ie based on a count. Process to identify Information,to track the
occurrence i.e is count
I get it to work. Four steps where needed:
1. Adding
private KnowledgeBase *kBase*;//injected with Spring
// Build the Solver
SolverFactory solverFactory = new
XmlSolverFactory(/planner/solverConfig.xml);
RuleBase ruleBase = ((InternalKnowledgeBase)
You have (at least) two different fact classes: Alert and Information (not
just one, as you write).
The rule you have shown has only two patterns - I was asking for one with
three patterns (as I was thinking they had all to be of the same class).
If you retract an Alert as soon as it is
Hi Daniel,
thanks for having reported this ... as you can imagine we don't have many
Windows machines here :)
Anyway I just fixed this issue and the fix will be available starting from
the 6.0-Beta4 version that will be released during this week.
Thanks again and regards,
Mario
--
View this
If we create a KieBase from a Jar, all rules has to be placed in
src/main/resources (why ?).
That means, it is not possible to build a jar with maven, beacuse maven
puts all resouces in the root folder of fhe jar.
Ok, we build a zip, using the maven assembly plugin.
But there is an error in
Hi,
Thanks for your reply.
Sorry for my mistake. Actually I don't know the number of facts that I
have
in the session when memory consumption was high.
The rules are firing continuously (the application that use these rules
were running continuusly for 1 month, this the
Below given is the Leak Suspects image that I got from the Machine where I
made the application up
http://drools.46999.n3.nabble.com/file/n4024539/Suspect.png
--
View this message in context:
What is the type of Alert.informationId? What is the set of values you
might expect over one month?
-W
On 25/06/2013, anniejoseph chithraan...@gmail.com wrote:
Hi,
Thanks for your reply.
Sorry for my mistake. Actually I don't know the number of facts that I
have
in the session
Hey,
I am using Drools 5.5.0final and came acroos a problem when using Querries
with JPA StatefulKnowledgeSession (persistent).
I looked at the implementation and found following:
Link
that has not changed, I think it's probably hard to do via the JPA command
approach.
Shouldn't be too hard for someone to do. Send your pull requests in :) don't
forget the unit tests, we won't accept a pull request that is without tests.
Mark
On 25 Jun 2013, at 15:23, Andynator
...it's probably hard to do... vs. Shouldn't be too hard ... to do
Make up your mind?
-W
On 25/06/2013, Mark Proctor mproc...@codehaus.org wrote:
that has not changed, I think it's probably hard to do via the JPA command
approach.
Shouldn't be too hard for someone to do. Send your pull
it's certainly easy for someone to attempt :)
I'm not sure if the JPA persistence and transactions will be a problem here or
not. If i'ts not, it's easy, if it is, it's hard.
I have a lot of on my plate, answer user forums is something i do in-between
tasks - so it's rushed,. Some patience
Thanks for the clear recipe!
I've documented step 2 and 3 in the optaplanner manual (step 1 is
already partially documented and the other part is documented in
guvnor's docs).
Step 4 sounds like a bug, so please raise an issue
if uploading the
Hi, I may have missed it in the 5.5.0.Final Drools Expert User Guide, please
point it out if its actually in the document.
What is the use of - on the LHS?
Thank you
--
View this message in context:
http://drools.46999.n3.nabble.com/What-is-tp4024549.html
Sent from the Drools: User forum
i need to disable a rule when it is triggered using the function below
drools.getRule().setEnabled(EnabledBoolean.ENABLED_FALSE);
while
*the rule need to be enabled in another rule.*
how can i make it?
--
View this message in context:
Hi,
We are in the process of building a deployment script where-in we have to
migrate individual assets from drools guvnor to a centralized repository.
Eventually we will be using the centralized repository to generate packages
for runtime deployment.
Is it possible to download a POJO model
Use http://hostname:port/jboss-brms/rest/packages/{packageName}/source to
get the DRL file source.
I guess GDST is like an excel sheet on top of which rules are written. So if
you are migrating it from one repo to another, you have to migrate this
asset as gdst but if you just need DRL, get it
33 matches
Mail list logo