We assume, even when a helper function is used, that the list is static.
If you want to force server-side invocation of your helper function to
refresh the list you need to include a parameter in the definition. This
signals the list is dynamic and should be refreshed using the helper
function.
Hi
Iam processing dataset stream with storm. After receiving the first set of
records the rule is firing. For next set of records i getinet this exception
Illegal method call. This session was previously disposed
I after firing the rules the session is get disposed. I am not getting
where to
When the kie-wb starts up, the Maven's settings.xml don't applying. As a
result, such settings, like a proxies, mirrors, and so on are missed. In
closed network it's lead to improper work of application, and such
exceptions like:
--
View this message in context:
I forgot to point out that using the latest snapshot of Drools 6.
--
View this message in context:
http://drools.46999.n3.nabble.com/System-property-Maven-s-settings-xml-don-t-picked-up-during-kie-wb-startup-tp4028677p4028678.html
Sent from the Drools: User forum mailing list archive at
I'm found, that in class org.kie.scanner.Aether default central repository
initializing with hardcoded ulr, like:
In my point of view, this is incorrect, because it might be a mirrors in
settings.xml. I think, that more proper variant is:
But its throws in problem, described in this topik
Mistake again . I forgot point out, that use a Drools 6.
--
View this message in context:
http://drools.46999.n3.nabble.com/Possibly-improper-initialization-of-default-repository-in-Aether-tp4028679p4028680.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
In Drools 6 in class org.kie.scanner.KieModuleMetaDataImpl resources detected
as classes by .class suffix only.
In some cases it's doesn’t true. For example for package-info.class, that
doesn’t class by itself.
At my point of view, it needs some more complex validation. For example:
--
Hy all
We're having the following situation in our application:
ChangeSet:
change-set xmlns='http://drools.org/drools-5.0/change-set'
xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
xs:schemaLocation='http://drools.org/drools-5.0/change-set
As shown by my investigation, it's not needed any tricks to support mirrors.
Aether do almost all the work.
When WEB IDE is building the project, the session is initialized properly
and mirrors a working well. But default repository with direct url is still
in account and continue trying to
In Drools 6, when org.kie.scanner.KieModuleMetaDataImpl is
initialized, it scans all classes in all dependencies. At my point of view,
it's a too aggressive.
In many situations, scanner catches not only needed modules, but many
modules with testing and provided scopes.
In other side, in
Drools version 6.0.0.FINAL
I create rule package in Drools workbench and use default knowledgebase and
session:
KieServices kieServices = KieServices.Factory.get();
KieContainer kContainer =
kieServices.newKieContainer(kieServices.newReleaseId(com.test,
validationrules, 1.0-SNAPSHOT));
I want to compare the date structure -MM-DD in when part. Can I do this??
any help will be appreciated..
rule name
when
DateRange($endDate: endDate !=null) // $endDate == -MM-DD
structure
then
log.info(..)
end
Hello,
I am using Drools 6.1.0.Beta1 in a project with the following (shortened)
pom.xml:
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
I got solution Followed Toni Rikolla
http://stackoverflow.com/questions/13572661/drools-guvnor-how-do-dates-and-times-work
rule name
when
DateRange($endDate: endDate !=null,
isValidStructure($endDate.toString));
then
log.info(..)
end
function Boolean
I have the following that is working.
KieServices kieServices = KieServices.Factory.get();
ReleaseId releaseId = kieServices.newReleaseId(com.company,
drools, 0.0.1-SNAPSHOT);
KieFileSystem kfs = kieServices.newKieFileSystem();
Hi,
i recognized that DSL with multiple variables not working in current
6.1.0-SNAPSHOT master.
First i created a jira issue in the drools project:
https://issues.jboss.org/browse/DROOLS-428
I thought it was ui issue. I had closed the ticket and recreated it in
guvnor project.
Hi
Can someone help me with this.
Regards
Raj
On 13 March 2014 14:05, Raja Sekhar raja.amir...@gmail.com wrote:
Hi
Iam processing dataset stream with storm. After receiving the first set of
records the rule is firing. For next set of records i getinet this exception
Illegal method call.
I tried with the latest code (6.1.0.Beta1) and it works OK.
[when]When the credit rating is {rating:ENUM:Applicant.creditRating} and
applicant dates is after {dos:DATE:default} =
applicant:Applicant(creditRating=={rating}, applicationDate{dos})
1.|package org.mortgages;
2.|
3.|import
Hi Dominik,
what you're reporting is not 100% clear to me. Could you also show me the
pom.xml file of de.test.package:artifact:1.0.1?
This is indeed the actual KieProject and then the pom file that our embedded
maven/aether is trying to parse.
Apparently also that pom declares
Hello,
the pom.xml of de.test.package:artifact:1.0.1:
?xml version=1.0 encoding=UTF-8?
project xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd;
xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
Hi,
I am not sure I completely agree with what you wrote.
In general all the classes defined in all transitive dependencies could
potentially be used in your domain and then should be indexed by the
KieModuleMetaDataImpl. I'd say that something like: provided scoped modules
could be included,
Are you using stateful or stateless sessions?
Davide
On 03/13/2014 05:01 PM, Raja Sekhar wrote:
Hi
Can someone help me with this.
Regards
Raj
On 13 March 2014 14:05, Raja Sekhar raja.amir...@gmail.com
mailto:raja.amir...@gmail.com wrote:
Hi
Iam processing dataset stream
Ok Dominik,
now the problem is clearer and I can explain you why it is also trying to
parse the pom of the running project (I must admit I forgot this detail): it
is just trying to figure out if you declared some additional repository in
that pom so it could try to download the KieProject also
Iam using Stateful sessions .
On Mar 13, 2014 11:27 PM, Davide Sottara dso...@gmail.com wrote:
Are you using stateful or stateless sessions?
Davide
On 03/13/2014 05:01 PM, Raja Sekhar wrote:
Hi
Can someone help me with this.
Regards
Raj
On 13 March 2014 14:05, Raja Sekhar
Here is a better more complete stack trace:
Exception in thread pool-9-thread-8 java.lang.NoClassDefFoundError: javax/pers
istence/EntityManager
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at
That's something I'm working on right now.
Some where in the dependency chain for @Component is EntityManager that is
not included in your project's dependencies (I guess scope provided but
it can occur for other reasons).
The best we're going to be able to achieve is handle the exception better
Ok thanks. If there is anything I can do to help let me know.
Joe
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Michael Anstis
Sent: Thursday, March 13, 2014 1:51 PM
To: Rules Users List
Subject: Re: [rules-users] Pojo with spring dependency
For reference the uber jar approach also didn't work for this one. I created a
jar with dependencies and added that and it still doesn't find the entity
manager class. When adding spring-orm to the DWB manually (where the
EntityManager lives) I get the error below:
I'll keep after it to see
Nice ;-)
Do you get that error when uploading any JAR to the maven repository? What
application server is this?
Sent on the move
On 13 Mar 2014 20:27, Joe White joe.wh...@recondotech.com wrote:
For reference the uber jar approach also didn't work for this one. I
created a jar with
I get it for any jar where the WB doesn't seen the pom and I have to enter the
artifact information manually.
Running on tomcat.
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Michael Anstis
Sent: Thursday, March 13, 2014 2:36 PM
To: Rules
Ok that explains it.
Could you be kind enough to open a GUVNOR JIRA for this (stating what
you've said here) please?
Sent on the move
On 13 Mar 2014 20:57, Joe White joe.wh...@recondotech.com wrote:
I get it for any jar where the WB doesn't seen the pom and I have to
enter the artifact
1.Done. This is GUVNOR-2084https://issues.jboss.org/browse/GUVNOR-2084 If
you need help reproducing ping me on IRC (JoeW) and we can do a hangout or
screenshare. I didn't attach a test case but described by steps.
From: rules-users-boun...@lists.jboss.org
Look at the pom generated for your project in the workbench (you'll need to
use the administration perspective and select the pom.xml file).
I suspect it contains a repository definition for localhost:8080 try
changing this to the web context and port /maven2 is available on for your
Thanks for the JIRA.
(If you implement a fix before we do, a pull request is always welcome! )
Sent on the move
On 13 Mar 2014 21:02, Michael Anstis michael.ans...@gmail.com wrote:
Ok that explains it.
Could you be kind enough to open a GUVNOR JIRA for this (stating what
you've said here)
The ResourceChangeScanner will consider a resource modified if last
modification last read.
If your resource is a URL resource pointing to a file, the
implementation (version 5.6, at least)
will delegate to File.lastModified().
Make sure that whenever you (re)deploy your PKGs, the lastModified()
35 matches
Mail list logo