Thanks a lot, that was it
Seb
On Tue, Mar 15, 2011 at 10:08 PM, Ross H wrote:
> Try using a changeset with file:path-to-your-changeset.xml rather than
> classpath:changeset.xml
>
>
> SebRR wrote:
> >
> > Yes I am using 5.1.1 and if I go to the latest xsd
> > (drools-spring-1.2.0.xsd), there
The desired effect might be easier to achieve with a fact EffectiveDate {
Date date; } and a pattern specifying the limits.
The rule attributes (not metadata) are based on the system data, and you
wouldn't want to mess with it just to use data-effective and date-expires.
-W
On 17 March 2011 00:3
I am seeing this behavior in 5.1.1 - it is as if the context sensitivity is
far to "greedy" for replacement.
Since this may not have been clearly understood from the original posting,
if I have
There is an {Instance} with field of "{value}"
and my cursor is at the end of the line and I select
In experimenting with my own "Guided editor" files I am trying both the
"Fact" and "Condition sentences" to use the Guided editor in Eclipse without
typing any DRL or Java by prospective business users. I have a Java project
with classes that are imported by a rule project with drools.package (and
Cool.. let me see...
I don't have eclipse.. but I will take a look at the class..
Greetings.
On Wed, Mar 16, 2011 at 11:00 PM, Seaver, Daniel (GE Healthcare) <
dan.sea...@ge.com> wrote:
> I’ve attached an eclipse project that demonstrates the problem if you’d
> like to see it with your own eyes.
You could also use drools (maybe a decision table) to select the different
drl files.
Best regards,
El mar 16, 2011 8:24 p.m., "marunam" escribió:
Hi,
We are developing an insurance application and we have decided to use drool
rules for our business rules
Now, we could have global business rul
Hi,
Can I use any arbitrary date for the drools execution so that correct rules are
fired based on not current date but any arbitrary date? This is in the context
of @date-effective and @date-expires metadata that can be specified as part of
a rule. Drools expert documentation seems to imply th
That's weird,
I'm looking at the master repository and that's exactly what the
newStartProcess do:
public Command newStartProcess(String processId,
Map parameters) {
StartProcessCommand startProcess = new StartProcessCommand();
startProcess.setProcessId(processId);
startProcess.setParameters((Hash
Hi,
We are developing an insurance application and we have decided to use drool
rules for our business rules
Now, we could have global business rules(applies to all states), specific to
state, specific to factor X, specific to factor Y etc. This way we are
expecting many drl files.
Now, when the
There appears to be a problem with CommandFactory.newStartProcess in
Drools 5.2 M1. If I do this:
String someString = "Some String";
Map variables = new HashMap();
variables.put("someString", someString);
List> cmds = new ArrayList>();
I'm working in Eclipse only right now, but not using DSL for this particular
situation (yet). I've manage to make the error go away by removing the package
name from drools.package, however, when I attempt to run the code that builds
the application to run the rule, it fails to resolve the Obje
By default, Drools does not start any internal thread, so that you can
embed it in non-multithread applications or in JEE containers. That means
that the actual release of events in such cases depends on triggers. In your
example, after 1h has passed, whenever something happens to the session (a
This is JCI code that we inline. We should probably check if there is a
new JCI version that fixes the problem if it is indeed a problem.
Can I ask you please to open a JIRA with the info you reported here?
Thanks,
Edson
2011/3/16 Greg Barton
> Yes, but it's not a full blown lea
Yes, but it's not a full blown leak. Wrapping stream use in a try/finally
block is best. Feel free and open a JIRA to fix it. There may be other
instances.
--- On Wed, 3/16/11, Chris Selwyn wrote:
> From: Chris Selwyn
> Subject: Re: [rules-users] Open file leak in Drools Compiler
> To: "Ru
I was pretty sure to have seen something about sample BRL from Guvnor
appears in error in eclipse.
I can find some on JIRA, but never the same problem I have ... May be on
another forum, but not JIRA ...
Anyway, my problem is using DSL in BRL opened with eclipse plugin Guided
Editor. Seems that
Isn't it regarded as bad practice to rely on the finalize() method
called by the garbage collector to release such resources?
Chris
On 16/03/2011 17:04, Greg Barton wrote:
> Only if garbage collection never runs. Then you'd already be in trouble. :)
>
> --- On Wed, 3/16/11, Chris Selwyn wrote:
Only if garbage collection never runs. Then you'd already be in trouble. :)
--- On Wed, 3/16/11, Chris Selwyn wrote:
> From: Chris Selwyn
> Subject: [rules-users] Open file leak in Drools Compiler
> To: "Drools users"
> Date: Wednesday, March 16, 2011, 11:49 AM
> I am running Drools (actually
Hi there,
Can you share the stack trace that you are getting when you start the
server?
I didn't create th soap.wsdl file.
Greetings.
On Wed, Mar 16, 2011 at 1:55 PM, bdoucet wrote:
> Hi Mauricio,
>
> I tried to make the server working with a soap endpoint,
>
> I followed you documentation from
Hi Mauricio,
I tried to make the server working with a soap endpoint,
I followed you documentation from your article
http://planet.jboss.org/post/drools_server_drools_grid_for_remote_distributed_executions,
modified the camel-server.xml etc ...
When the server start it complains that he can not
I am running Drools (actually JBoss Rules 5.1.0 ) in Glassfish.
My deployable is an EJB that uses a StatelessKnowledgeSession to run
some rules that I get from a KnowledgeAgent that has a Changeset with a
.drl in it.
Therefore, I have placed the drools compiler into the deployable and it
all ap
Hi all!
I’ve got a really basic doubt… I’ve read several documentation regarding it but
I think I need some advice here…
Imagine that I have an event:
declare A
@role( event )
@expires( 1h )
end
On my Java code, I call “fireAllRules()” method every time that I put an event
into the
Thanks for the response, Vincent. Do you happen to have a link to the URL for
the JIRA? I was looking for it, but haven't found it yet.
It would seem to me that this is basic functionality. It sounds, from your
response, that BRL is just not the focus.
jp
> Date: Wed, 16 Mar 2011 12:17:02 +
On 3/15/11 12:27 PM, Wen Yao wrote:
Thanks Tihomir.
Attached is my bpmn file which I haven't edited. I don't think I am
using jBPM. I just new a ruleflow file which is supported by Drools
5.1. It's a bpmn file.
For question 3, I created a bpmn file in eclipse and didn't edit it.
Then try to
Guvnor uses GWT extensively and our login mechanism uses a GWT RPC call to
the server to authenticate with Seam.
Our authentication mechanism is exposed through
org.drools.guvnor.server.security.SecurityServiceImpl
There is no HTML form with INPUT fields that you can easily substitute for
your ow
can you paste here the full stack trace of your problem? along with the
version of jbpm and drools that you are using.
Greetings.
On Wed, Mar 16, 2011 at 7:38 AM, Odelya Holiday wrote:
> Hi!
>
> I posted my previous message from the web client and it was corrupted. So
> here is the full one:
>
>
Hi,
Thanks all for your replies.
I forgot I had already uncommented the RHS of a rule, whic onviously did not
return a warning. When I comment it, this warning is displayed.
Sorry to bother you with this trivial problem.
Redundancy, however, isn't detected yet. Neither are the "gaps" [temperatu
Can you make few rules for us to test this with.
I have to say that the verifier is not perfect when it searches for redundancy,
so your rules might be too complex for it at the moment.
Toni
On Mar 16, 2011, at 1:29 PM, FrankVhh wrote:
> Hi Wolfgang,
>
> Yes, you are absolutely right about th
And no Severity.ERROR or Severity.NOTE either?
What kind of verifier finding(s) do you expect? A rule sample might help.
-W
PS: I'm just investigating this corner of Drools, and you do provide some
inspiration ;-)
On 16 March 2011 12:29, FrankVhh wrote:
> Hi Wolfgang,
>
> Yes, you are absolut
Le 15/03/2011 22:53, jwest a écrit :
> However, I don't know how to make this first line more complex using
> the guided editor.
> For example, you can hover on the second line of the rule and click on
> it and the shown dialog pop ups, allowing me to make this line more
> complex through adding
Hi Wolfgang,
Yes, you are absolutely right about the path mistake. Can't believe I missed
that. Fixing it removes the errors from the verifier.
However, it still does not return the expected outputs...
System.out.println(result.getVerifierData().getAll().isEmpty()); => returns
false, which is as
Title: CARTE DE VISITE
I have the same problem with BRL editor under eclipse. Also the
action part dialog box does not show DSL phrases ...
The plugin is incomplete/buggy and shows errors but rules are
correct (you can compile and run them).
This problem is the same sinc
You may have to use
newFileResource( path )
or change the path.
Sorry
-W
On 16 March 2011 12:06, Wolfgang Laun wrote:
> String path = "C:...";
> Resource resource = ResourceFactory.newClassPathResource( path, getClass()
> );
> if( resource != null ){
> verifier.addResourcesToVerify( reso
String path = "C:...";
Resource resource = ResourceFactory.newClassPathResource( path, getClass()
);
if( resource != null ){
verifier.addResourcesToVerify( resource, ResourceType.DRL );
} else {
//...
}
On 16 March 2011 12:03, Wolfgang Laun wrote:
> You are feeding it the pathname, no
You are feeding it the pathname, not the text from the file.
-W
On 16 March 2011 11:52, FrankVhh wrote:
> Hi Wolfgang,
>
> I was about to report the fact that using drools-verifier 5.2.0 M1 didn't
> help, when I saw your comment about checking the error.
>
> Apparently there is something wrong:
Custom login page will be normal HTML form and will be place it in drools's
war file So Need the action name and login fields name that will be used to
populate the login detail.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Impement-My-own-login-page-tp2686
Hi Wolfgang,
I was about to report the fact that using drools-verifier 5.2.0 M1 didn't
help, when I saw your comment about checking the error.
Apparently there is something wrong:
### Verifier errors ###
[ERR 101] Line 1:1 no viable alternative at input ':'
Verifier could not form a PackageDescr
Hi!
I posted my previous message from the web client and it was corrupted. So here
is the full one:
get InvocationTargetException after the following:
return constructor.newInstance( kbase, conf, env );
in KnowledgeStoreServiceImpl.
I see that in return (T) constructorAccessor.newInstan
I've just realized that the code you posted does not include checking for
errors during the verifier builds.
List errors = verifier.getErrors();
if( errors.size() > 0 ){
printStream.println( "### Verifier errors ###" );
for( VerifierError error: errors ){
printStream.pr
We don't use Struts (if that's what your Action URL relates to?)
IIRC we use Seam to authenticate. Not sure of the class names though :(
On 16 March 2011 10:12, Satyendra Sharma wrote:
> I want to use my own login page in BRMS and for the same don't know the
> Action url and login fields name t
Hi!
I get InvocationTargetException after the following:
return constructor.newInstance( kbase, conf, env );
in KnowledgeStoreServiceImpl.
I see that in return (T) constructorAccessor.newInstance(initargs) of
Constructor class it throws the InvocationTargetException.
The exception is null s
I want to use my own login page in BRMS and for the same don't know the
Action url and login fields name that I have to use in my custome login
page.
Please let me know the url and all the fileds name used in login page.
--
View this message in context:
http://drools-java-rules-engine.46999.n3
I want to use my own login page in BRMS and for the same don't know the
Action url and login fields name that I have to use in my custome login
page.
Please let me know the url and all the fileds name used in login page.
--
View this message in context:
http://drools-java-rules-engine.46999.n3
You could look into using
org.drools.ide.common.client.modeldriven.brl.RuleModel (in
droolsjbpm-ide-common).
This is the basic model used by all of the guided editors before translating
it into DRL with org.drools.ide.common.server.util.BRDRLPersistence (in
droolsjbpm-ide-common too).
There are a
It's really worthwhile to add a DRL compile run before you let the verifier
do its work.
-W
On 16 March 2011 10:02, FrankVhh wrote:
> Hi Toni and Wolfgang,
>
> Thanks for your replies.
>
> First, to clarify my self, with "duplicate rules", I actually meant "rules
> that are exactlly the same, b
Hi kedar,
Of course, I do not know what you are trying to achieve in the end, but from
the limited information that I have, I think I can agree with manstis that
there are 2 options.
1) Download and install Guvnor, which is a UI to edit rules and may be
exaclty what you want.
2) Write an applicat
Hi Toni and Wolfgang,
Thanks for your replies.
First, to clarify my self, with "duplicate rules", I actually meant "rules
that are exactlly the same, but with other names". Moreover, I inserted the
verification just before rule execution, and execution runs fine. So, there
shouldn't be a compile
Thanks for reply.
yaa i want exactly the same my U.I should generate the DRL file .But I dont
know how to generate a DRL file through U.I.
Please help me to generate the DRL through U.I.
Thanks in Advance.
Kedar
___
rules-users mailing list
rules-users@li
47 matches
Mail list logo