I just fixed this issue on master with this commit:
https://github.com/droolsjbpm/drools/commit/fb7c8858f
Thank you for having reported it,
Mario
--
View this message in context:
Thank you.
few questions:
1. does exist an option to dismiss this error, even if it says to disable
this mvel constraints optimizations?
2. when and where will it be released? can it be fixed on 5.5 or 5.6?
--
View this message in context:
Let me see what I can do.
Esteban Aliverti
- Blog @ http://ilesteban.wordpress.com
On Thu, Jan 23, 2014 at 12:18 AM, Davide Sottara dso...@gmail.com wrote:
Esteban, I have created a ticket for this with
an explanation of the weird behavior.
If I declare a type in a drl and reference the attributes in a rule then all
is fine for either dialect. But, if one of the attributes is a java class
that has been compiled and inserted then under the java dialect only I get a
compilation error: rule compilation error the field ... is not visible
Declared types have public accessors as usual.
This seems a minor bug in the expression analysis.
Can you try
getRaw().complicated()
and / or
raw.complicated
and report what happens?
Thanks
Davide
On 01/23/2014 06:40 AM, pmander wrote:
If I declare a type in a drl and reference the
will do, although complicated() has parameters and so I think I'll only able
to try getRaw.complicated()
--
View this message in context:
http://drools.46999.n3.nabble.com/java-dialect-and-declared-types-tp4027822p4027825.html
Sent from the Drools: User forum mailing list archive at
In that case I'm almost sure that the whole constraint has to be treated
as a java expression.
So yes, you will probably need getRaw().complicated( ... )
On 01/23/2014 08:06 AM, pmander wrote:
will do, although complicated() has parameters and so I think I'll only able
to try
Yes, if you use the java dialect, the whole RHS is parsed as a java block
with some minor syntactic sugar (e.g. insert).
On 01/23/2014 08:46 AM, pmander wrote:
Davide Sottara wrote
Declared types have public accessors as usual.
This seems a minor bug in the expression analysis.
Can you try
please do pop onto irc and provides us with more details on the performance
testing you are doing. We need to add more tests to our test suite, to track
any regressions.
http://www.jboss.org/drools/irc
Mark
On 23 Jan 2014, at 15:11, pmander paul.s.man...@gmail.com wrote:
Thanks,
This was
Hi,
I'd like to reproduce and verify your performance claims.
If you found a performance regression it would be very interesting for me to
investigate it.
Could you please send a small self-contained project with the benchmarks you
tried?
Personally I believe that The tests also show that
I wasn't subscribed to the mailing list so I don't think my message below
went through. Apologies if it did.
jhusby wrote
I'm trying to run Drools in an OSGi container (Apache Karaf 2.3.3 to be
precise). When I try to call newKieSession() on a KieContainer, I get an
exception as follows:
Looking at the test case from Edson, quoted below, it appears that there's no
way to reuse a current session when upgrading the kbase rules? I need to
add and remove rules on the fly, and so if I have a stateful session, does
this mean I need to dispose of the current session, upgrade the
I should qualify this with the way that we are using drools. In general
perhaps 6 is quicker that 5.5. It will be extremely difficult to create a
self contained test to demonstrate this as the tests are performed with tens
of millions of transactions against ten of thousands of rules.
I will
There may be some misunderstanding here..
you can indeed rebuild the jar, but there is also a programmatic
way to add (DRL) resources to an in-memory FS and update
the KBs/KSs on the fly. See the examples in IncrementalCompilationTests
Davide
On 01/23/2014 10:11 AM, Mark Proctor wrote:
On 23 Jan
On 23 Jan 2014, at 16:02, jhusby husby...@umn.edu wrote:
Looking at the test case from Edson, quoted below, it appears that there's no
way to reuse a current session when upgrading the kbase rules? I need to
add and remove rules on the fly, and so if I have a stateful session, does
this
Hi Joseph,
I propose that you have a look to this example which is currently working
on Karaf - https://github.com/cmoulliard/droolsjbpm-osgi-examples (simple =
OSGI BundleActivator + KieSession + Drools Rules)
Regards,
Charles
On Thu, Jan 23, 2014 at 4:58 PM, jhusby husby...@umn.edu wrote:
I actually looked through your example project yesterday; very helpful!!!
However, there are a few things I'm not sure are compatible with what I'm
trying to do.
1. I need to rebuild the rules on the fly, so I was using examples from
the IncrementalCompilationTest.java
Hi! I am trying to install the Kie-workbench war to a jboss 7 environment and
get the exception below. I would imagine this is because of firewall and my
company will not open a connection to this repo. My question: is there a way
to have the deployment go through without loading the example
http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/wb.Workbench.html#wb.Installation
15.1.3. System properties
org.kie.demo: Enables external clone of a demo application from GitHub. This
System Property takes precedence over org.kie.example. Default: true
org.kie.example: Enables
I found that 5 minutes after posting...guess it proves you should read
documentation before posting... Thanks!
Mark Proctor wrote
http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/wb.Workbench.html#wb.Installation
15.1.3. System properties
org.kie.demo: Enables external
There's also org.kie.example.repositories that can point to a local folder
containing the example repositories.
The workbench distribution on the drools download page contains a zip
holding the example repositories that are at github (for those unable to
access github).
Sent on the move
On 23
Hi Joseph,
My example uses this META-INF/kmodules.xml to create the KieBase
On Thu, Jan 23, 2014 at 6:01 PM, jhusby husby...@umn.edu wrote:
I actually looked through your example project yesterday; very helpful!!!
However, there are a few things I'm not sure are compatible with what I'm
Hi Joseph,
1. I need to rebuild the rules on the fly, so I was using examples from
the IncrementalCompilationTest.java
https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/test/java/org/drools/compiler/integrationtests/IncrementalCompilationTest.java
to accomplish that task.
brachi wrote
1. does exist an option to dismiss this error, even if it says to disable
this mvel constraints optimizations?
It is just an harmless log statement and if you want to silent it you just
have to configure your logback.xml file accordingly (i.e. raising the log
level of
Joseph,
Concerning the KieSession, here is the response :
What is the difference if I create a session on KieContainer vs KieBase
(Global, Local List ...) ?
there shouldn't be any difference. the possibility of creating a session
from a KieContainer is just a shortcut. under the hood it
25 matches
Mail list logo