Re: [rules-users] permgen leak

2014-01-06 Thread Mark Proctor
Can you help with any self contained unit tests, to measure, test and prove this? Did you set CMSClassUnloadingEnabled http://stackoverflow.com/questions/3334911/what-does-jvm-flag-cmsclassunloadingenabled-actually-do Mark On 6 Jan 2014, at 14:31, brachi brach...@sapiens.com wrote: I have

Re: [rules-users] permgen leak

2014-01-06 Thread Mark Proctor
I’ve been told 5.6 will be released this week. This is because the JCR2GIT migration tool, in 5.6 is needed for our 6.0 product. Davide's current kbase.dispose() method, on the concrete class, should just be considered a work around for the problem. Unless this is fixed by someone in the

Re: [rules-users] permgen leak

2014-01-06 Thread Mark Proctor
issue - no way to unload kie modules once they are cached - which Mario has been working on. In either case, pmander's test works fine in both 5.6.x and 6.x after these fixes Davide On 01/06/2014 07:56 PM, Mark Proctor wrote: I’ve been told 5.6 will be released this week. This is because

Re: [rules-users] Drools 6.0.1 micro benchmark Miss Manners troubles

2014-01-03 Thread Mark Proctor
Those “benchmarks” were develop in the mid 80s, they don’t have any relevancy to judging the performance of something like Drools 6.0. For instance it would not benefit in anyway from the lazy algorithm provided in 6.0, as it uses a “context’ root object, which is no longer needed. If those

Re: [rules-users] java.lang.RuntimeException: Cannot find a default KieSession

2014-01-03 Thread Mark Proctor
We’ve only been developing this on EAP6. I expect EAP5 has a different mechanism for it’s virtual file system, and discovery will not work. It’s unlikely we’ll get time to investigate this right now, as EAP5 is a low priority for us. Although patches (with tests) are always welcome. Mark On

Re: [rules-users] Is there any API in drools 6.0, which creates drl file?

2014-01-02 Thread Mark Proctor
The simplest and best way is to create a model to hold all your data, then use a recursive MVEL template to generate the rule from it. http://mvel.codehaus.org/MVEL+2.0+Templating+Guide Mark On 2 Jan 2014, at 14:38, Swapnil Aute swapnila...@gmail.com wrote: I want to use drool engine to run

Re: [rules-users] Create kieBase programmatically: WARN No files found for KieBase defaultKieBase?

2013-12-31 Thread Mark Proctor
you’ll need to write a minimal self contained unit test: http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/Welcome.html#gettingstarted You’ll need to submit the test to this module: https://github.com/droolsjbpm/drools/tree/master/drools-decisiontables/src/test Lots of

Re: [rules-users] help with drools 6

2013-12-30 Thread Mark Proctor
the artefact name changed: https://repository.jboss.org/nexus/service/local/repositories/releases/content/org/kie/kie-spring/6.0.1.Final/kie-spring-6.0.1.Final.jar Mark On 30 Dec 2013, at 08:55, dwipin dwipi...@tcs.com wrote: Hi, I am trying to create a project using Drools 6 with Spring.

Re: [rules-users] Unable to have KBase recognize our DRL files

2013-12-30 Thread Mark Proctor
All jars must have a pom.properties in there, for versioning and lookup. Maven built jars will place that in there for you. We will generate a generic pom.properties for you, if you are generating a kjar in memory with the programmatic api - but this has very limited use cases, related to in

Re: [rules-users] Repositry deployment Issues

2013-12-28 Thread Mark Proctor
for 5.x, there are a number of Rest interfaces documented, for CRUD and build operations. In 6.x you have the GIT, which has client in every language. We have exposed the Maven operations via Rest, which also build, test, install and deploy - see 6.x documentation. Mark On 27 Dec 2013, at

Re: [rules-users] 6.0.1 Now Available

2013-12-26 Thread Mark Proctor
-2013, at 6:59 am, Mark Proctor mproc...@codehaus.org wrote: **READ ME** The WARs in the downloads Drools Workbench link are incorrect and point to a development test version; it has incorrect menu's and art work. The download can still be used for the JCR2GIT migration tool. The WARs

Re: [rules-users] Drools 6.0.0.Final - importing rules from multiple maven projects

2013-12-26 Thread Mark Proctor
look at the “includes” example. You can include the resources from any KieBase, that has an ID. IF those are in another Maven module, as it as a dependency. http://docs.jboss.org/drools/release/6.0.0.Final/drools-docs/html/KIEChapter.html#KIEExamplesSection Mark On 26 Dec 2013, at 14:10,

Re: [rules-users] Adding @PropertyReactive causes the other rules removed from the stack

2013-12-26 Thread Mark Proctor
We do not do maintenance “patch” releases of older community releases, only product releases. http://blog.athico.com/2011/04/drools-jbpm-community-versus-product.html Did you check if the unit test fails on 5.5? Mark On 27 Dec 2013, at 02:31, Sonata plz.write...@gmail.com wrote: Davide

Re: [rules-users] 6.0.1 Now Available

2013-12-23 Thread Mark Proctor
WARs at the JBoss Nexus repository: JBossAS 7.0 Tomcat 7.0 JBoss EAP 6.1 https://repository.jboss.org/nexus/content/repositories/public-jboss/org/kie/kie-drools-wb-distribution-wars/6.0.1.Final/ On 21 Dec 2013, at 15:21, Mark Proctor mproc...@codehaus.org wrote: We’ve uploaded 6.0.1. http

[rules-users] 6.0.1 Now Available

2013-12-21 Thread Mark Proctor
We’ve uploaded 6.0.1. http://www.jboss.org/drools/downloads http://www.jboss.org/drools/documentation We have added some extra docs explaining versioning, settings.xml and remote repositories: http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/KIEChapter.html#KIEDeployingSection

Re: [rules-users] Adding @PropertyReactive causes the other rules removed from the stack

2013-12-20 Thread Mark Proctor
I turned your code into a unit test and added it to the 6.0 codebase. see the method “testModifyAfterInsertWithPropertyReactive” in the commit: https://github.com/droolsjbpm/drools/commit/53ca46d3b It works for PHREAK and RETE mode. Everything works for 6.0, we’ll try it against 5.6.CR1 soon

Re: [rules-users] Adding @PropertyReactive causes the other rules removed from the stack

2013-12-20 Thread Mark Proctor
(); ksession.setGlobal(list, list); assertEquals(4, ksession.fireAllRules()); assertEquals(3, list.size()); assertEquals(3, list.get(0)); assertEquals(2, list.get(1)); assertEquals(1, list.get(2)); } On 20 Dec 2013, at 15:14, Mark Proctor mproc...@codehaus.org wrote: I

Re: [rules-users] kie-wb 6.0.0 tomcat7: Error uploading maven jar that is part of a multi-module maven project

2013-12-17 Thread Mark Proctor
it’s hard to see what the problem is. The parser is failing, but it’s now showing where a bouts - i.e. inside of the wrapped exception. Here is the MinimalPomParser:

Re: [rules-users] how to use dynamic drl file in drools 6

2013-12-15 Thread Mark Proctor
Each update must be rebuilt and repackaged in a JAR - the JAR is our unit of deployment, and unit of update. You can either rebuild that using the maven plugin, or you can rebuild it at runtime using the programmatic api. Either way make sure you remember to increase the version.

Re: [rules-users] Drools WB does not generate correct kmodule.xml

2013-12-14 Thread Mark Proctor
daily snapshot builds are here for you to test: http://downloads.jboss.org/drools/release/snapshot/6.0.x/ Mark On 14 Dec 2013, at 08:52, Michael Anstis michael.ans...@gmail.com wrote: It was a bug that has been fixed. It is available in github sources and will be in the forthcoming release.

Re: [rules-users] Drools 6 support for changeset

2013-12-13 Thread Mark Proctor
We do not have any file change listeners. You, or the workbench, needs to build the jar. What is automatic is the role of change sets before. You no longer need to compute them, build the jar, have the client consume the jar (with different ReleaseID) - that’s it. Drools diffs the current and

Re: [rules-users] How to push changes to cloned repo on Kie-Workbench

2013-12-13 Thread Mark Proctor
Neither the build jar files from projects, or uploaded jars, are placed in GIT. There is a separate maven folder location for those, on the file system. See docs for workbench configuration, that location is configurable. Mark On 13 Dec 2013, at 01:37, anjana.ackroyd anjana.ackr...@gmail.com

Re: [rules-users] Drools 6 support for changeset

2013-12-13 Thread Mark Proctor
update the releaseID in the meta model, build it (it’ll be added to KieRepository). Then on the KieContainer do updatetoVersion(String releaseId) giving it the release ID you wish to update to, and it will update at runtime. Mark On 13 Dec 2013, at 23:39, wtang wt...@kana.com wrote: Can I

Re: [rules-users] Using a DRL file on Guvnor/Workbench while using Drools Camel Server

2013-12-13 Thread Mark Proctor
see previous emails in the list: Begin forwarded message: From: Mark Proctor mproc...@codehaus.org Subject: 6.0 issue with remote jars and dynamic modules Date: 6 December 2013 14:39:50 GMT To: Rules Dev List rules-...@lists.jboss.org, Rules Users List rules-users@lists.jboss.org

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-12 Thread Mark Proctor
just a reminder —— There is problem, fixed in master, for remote jars. The KieRepository currently, when using kie-ci, doesn’t obey the settings.xml active profiles. This means it is not recognising the remote configured repositories. While this is fixed, and we’ll have binaries out in about 2

[rules-users] daily builds available

2013-12-12 Thread Mark Proctor
Daily builds can currently be found here, http://download.jboss.org/drools/release/snapshot/6.0.x/ Anyone wanting to try 6.0, but meeting some issues already discussed - such as remote repositories, and settings.xml not working - should try the snapshots builds there. Mark

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-12 Thread Mark Proctor
all fixed in the daily build, give it a try please. http://download.jboss.org/drools/release/snapshot/6.0.x/ Mark On 12 Dec 2013, at 19:08, vimalkansal vimalkan...@yahoo.com wrote: Thanks a lot Mark. -- View this message in context:

Re: [rules-users] Sending Java Objects Through Camel, received by Drools 6

2013-12-12 Thread Mark Proctor
At the moment it requires command wrapper objects, which map the object to the method. This allows batch interactions. There was some work for more RPC type interactions, i.e. maps camel route only to “insert” and doesn’t need a command wrapper. But I don’t think that made 6.0. If you know

Re: [rules-users] How to push changes to cloned repo on Kie-Workbench

2013-12-12 Thread Mark Proctor
You want to sync the changes you’ve done with a remote git repo? The WB has a git server. What you’ll need to do from command line is clone, so that you have a local copy you can play with. That local copy you can then push to your remote repo, you might need to reconfigure origin, in order to

Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-11 Thread Mark Proctor
On 11 Dec 2013, at 16:54, anjana.ackroyd anjana.ackr...@gmail.com wrote: Yay! I found the conflicting process using that port and now its all golden . I see all the menu options. great :) Although it would be nice to have it working on tomcat as well because thats the JVM we use enterprise

Re: [rules-users] Drools 6 support for changeset

2013-12-11 Thread Mark Proctor
we have unit tests that say otherwise: https://github.com/sotty/drools/blob/master/drools-compiler/src/test/java/org/drools/compiler/integrationtests/IncrementalCompilationTest.java You’ll need to provide more information, or better still copy one of those unit tests to try and create a failed

Re: [rules-users] Drools 6 support for changeset

2013-12-11 Thread Mark Proctor
it’s not quite that automatic. You can only do updates vis the dynamic modules system. you have to build jars and update to the latest jar. Go through the KIE examples docs, and the unit tests I showed you. Mark On 11 Dec 2013, at 22:31, wtang wt...@kana.com wrote: Oh, I don't doubt for a

Re: [rules-users] Prevent re-evaluation of events in stream mode

2013-12-10 Thread Mark Proctor
Logically insert the average, in a separate rule. This will ensure there is an “average” fact that is maintained n the TMS. As it’s logically inserted, you don’t need to delete it. After any Transaction has been evaluated, you need to set a flag on it, so it’s not processed again. Mark On 9

Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-10 Thread Mark Proctor
could you try with JBossAS 7.1.1? That’s the one we all use for our day to day testing? If you look at the set of videos in the playlist, the first one shows you how to do setup and installation. Each video shows a different part of the workbench. The video’s in the playlist can be played back

Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-10 Thread Mark Proctor
?? On Tue, Dec 10, 2013 at 4:13 PM, Mark Proctor mproc...@codehaus.org wrote: could you try with JBossAS 7.1.1? That’s the one we all use for our day to day testing? If you look at the set of videos in the playlist, the first one shows you how to do setup and installation. Each video shows

Re: [rules-users] Drools Camel Server 6X Changes ....

2013-12-09 Thread Mark Proctor
https://github.com/droolsjbpm/droolsjbpm-integration/tree/master/drools-camel-server-example kmoduel at work, inside of a springs beans file: https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-camel-server-example/src/main/resources/knowledge-services.xml typica camel rout

Re: [rules-users] 6.0 issue with remote jars and dynamic modules

2013-12-06 Thread Mark Proctor
the jira https://issues.jboss.org/browse/DROOLS-367 Mark On 6 Dec 2013, at 14:39, Mark Proctor mproc...@codehaus.org wrote: There is problem, fixed in master, for remote jars. The KieRepository currently, when using kie-ci, doesn’t obey the settings.xml active profiles. This means

Re: [rules-users] Drools 6 support for changeset

2013-12-06 Thread Mark Proctor
On 7 Dec 2013, at 00:41, wtang wt...@kana.com wrote: I have a requirement in which when a rule is changed, the change needs to be reflected immediately without retarting the system. In Drools 5.x we can use the changeset.xml with the knowlegde agent. Now in Drool 6.0 we have Kie API.

[rules-users] Limited Entry Guided Decision in Drools 6.0 (Full Screen 720HD)

2013-12-04 Thread Mark Proctor
Following on from the workbench videos (http://tinyurl.com/pnq6497), here is a rule based limited entry decision table http://tinyurl.com/o6umx2x Mark ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] KIE Internal M2 Repository Access Denied

2013-12-03 Thread Mark Proctor
You can work around this now by having a wrapper project. All to does is have a single maven dependency on the target project, and in that you specify your maven version ranges. Mark On 3 Dec 2013, at 14:30, Mario Fusco mario.fu...@gmail.com wrote: Hi, the problem with the last code you

Re: [rules-users] drools-camel-server source code? (Drools 6)

2013-12-03 Thread Mark Proctor
see kie-camel: https://github.com/droolsjbpm/droolsjbpm-integration/tree/master/kie-camel Take a look at the KIE docs, on how to build jars. everything is mavenized now. Lots of examples http://docs.jboss.org/drools/release/6.0.0.Final/drools-docs/html/KIEChapter.html Example war:

[rules-users] dzone cheat sheets

2013-12-02 Thread Mark Proctor
Anyone in the community want to help create and publish a new set of cheat sheets, for the 6.0 stuff? Mark ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Drools 6.0 Kie API vs Drools 5.x Knowledge API

2013-12-02 Thread Mark Proctor
There is no harm on staying with your existing code, if it continues to work. Start new projects with the new api and then migrate the old stuff over at your leisure. Mark On 2 Dec 2013, at 04:31, wtang wt...@kana.com wrote: Hello, I am upgrading from Drools 5.x in which I am using the

Re: [rules-users] permgen leak

2013-12-02 Thread Mark Proctor
Did you try enabling the JVM flag CMSClassUnloadingEnabled http://stackoverflow.com/questions/3334911/what-does-jvm-flag-cmsclassunloadingenabled-actually-do This typically seems the source of most people’s leaks. Mark On 2 Dec 2013, at 19:10, brachi brach...@sapiens.com wrote: how did you

Re: [rules-users] permgen leak

2013-12-02 Thread Mark Proctor
At this point we are probably stuck, without a unit test that reproduces the issue. Or better still a patch fixing it. Mark On 2 Dec 2013, at 19:41, brachi brach...@sapiens.com wrote: thanks, I used CMSClassUnloadingEnabled, but this can't help because the GC can't garbage this classes

Re: [rules-users] drools 6 equivalent of addKnowledgePackages

2013-12-02 Thread Mark Proctor
I’ve sent a few emails on this now. See docs: http://docs.jboss.org/drools/release/6.0.0.Final/drools-docs/html/KIEChapter.html 4.2.2.4. Defining a KieModule programmatically 4.2.5.9. Programaticaly build a Simple KieModule with Defaults 4.2.5.10. Programaticaly build a KieModule using Meta Models

Re: [rules-users] Is there open source project that uses Drools (or maybe other business rules engine)

2013-11-30 Thread Mark Proctor
http://www.jbilling.com/documentation/users/getting-started/brms Mark On 30 Nov 2013, at 18:31, jonatanl jonatan.laurit...@yahoo.dk wrote: Hi! I am trying to develop some tools that could be used for the validation of business rules and their integration into the automatic reasoning

Re: [rules-users] Drools 6 and dynamic update

2013-11-28 Thread Mark Proctor
As per previous email: 1) Create your original project with rules, build and deploy the jar. 2) Load the JAR to create a KieContainer. 3) add or change rules. Change the maven version, build and deploy the jar. 4) Ensure the JAR is in the KieRepository, or available to maven if using kie-ci, and

Re: [rules-users] Drools 6 and dynamic update

2013-11-28 Thread Mark Proctor
? Sorry Nicolas 2013/11/28 Mark Proctor [via Drools] [hidden email] As per previous email: 1) Create your original project with rules, build and deploy the jar. 2) Load the JAR to create a KieContainer. 3) add or change rules. Change the maven version, build and deploy the jar. 4

Re: [rules-users] Drools 5.5.0 - Execution Performance

2013-11-26 Thread Mark Proctor
Are creating a new ksession for each batch of insertions? Or using the same one? If the same one, are you deleting them after insertion? And as per wolfgang’s message, JIT might have a big impact for this. Mark On 25 Nov 2013, at 22:50, ch3xy igor.stri...@gmail.com wrote: Hello, first

Re: [rules-users] Drools 6 getting started

2013-11-25 Thread Mark Proctor
The links weren’t suppose to go up yet, sorry. We haven’t finished preparing the videos and there is a new website to come. In the mean time you need to read the Workbench Installation Guide: http://docs.jboss.org/drools/release/6.0.0.Final/drools-docs/html/wb.Workbench.html#wb.Installation And

Re: [rules-users] Drools 6 Unable to build index of kmodule.xml

2013-11-25 Thread Mark Proctor
Turn it into a maven recognised JAR, manually place a pom.properties in the JARs META-INF. You don’t need to convert it to a maven project, with a pom.xml in the source, or build it with maven. Then look at the build/deploy/utiize example 4.2.5.6. Default KieSession from File

Re: [rules-users] Drools 6 getting started

2013-11-25 Thread Mark Proctor
if they have worked out the Guvnor / EAP 6.0 Resty issue just yet? I had to resort to using Tomcat7 after installing and configuring EAP 6 because of that. :-( On Mon, Nov 25, 2013 at 7:46 AM, Mark Proctor mproc...@codehaus.org wrote: The links weren’t suppose to go up yet, sorry. We haven’t

Re: [rules-users] drools 5.5 property reactive issue

2013-11-25 Thread Mark Proctor
a lot has been fixed in 5.6 and 6.0. Please either try 5.6.CR1 or 6.0.FINAL. Mark On 25 Nov 2013, at 15:33, gboro54 gbor...@gmail.com wrote: This issue seems to be related to: http://drools.46999.n3.nabble.com/Property-reactive-broken-in-5-5-0-Final-td4021231.html

Re: [rules-users] What is URL for Guvnor REST API in 6.0.0-Final?

2013-11-25 Thread Mark Proctor
The rest api has changed. Depoyment has changed. We don’t have “packages” any more. We have projects. http://docs.jboss.org/drools/release/6.0.0.Final/drools-docs/html/wb.WorkbenchIntegration.html#drools.WorkbenchRemoteAPI /repositories/{repositoryName}/projects/{projectName}/maven/compile

Re: [rules-users] What is URL for Guvnor REST API in 6.0.0-Final?

2013-11-25 Thread Mark Proctor
Comments inline. But just a reminder, if you see how to improve the docs, please contribute. http://docs.jboss.org/drools/release/6.0.0.Final/drools-docs/html/Welcome.html#gettingstarted Mark On 25 Nov 2013, at 19:52, SrjTx clickt...@yahoo.com wrote: Thanks guys! Here's our use-case/flow.

[rules-users] no-loop and 6.0 : DROOLS-353

2013-11-25 Thread Mark Proctor
We’ve just found (and fixed) a no-loop bug. https://issues.jboss.org/browse/DROOLS-353 In general we recommend @PropertyReactive over no-loop (and lock-on-active), for best practice. If you hit this bug, which is caused by a modify, and you cannot migrate your stuff to @PropertyReactive you

Re: [rules-users] New Workbench Videos

2013-11-21 Thread Mark Proctor
6 videos now. Added another one. Any feedback? Hope people feel the wait was worth it, compared to the UI in 5.x We are just updating the website and preparing the communication, 6.0 will be landing shortly. Mark On 21 Nov 2013, at 01:57, Mark Proctor mproc...@codehaus.org wrote: 5 short

Re: [rules-users] New Workbench Videos

2013-11-21 Thread Mark Proctor
Updated tiny url. Seems adding the 6th video, changes the published url, and the old url is in correct order: http://tinyurl.com/pnq6497 On 21 Nov 2013, at 11:54, Mark Proctor mproc...@codehaus.org wrote: 6 videos now. Added another one. Any feedback? Hope people feel the wait was worth

Re: [rules-users] How to know which condition passed from list of conditions

2013-11-20 Thread Mark Proctor
create additional rules, with just the patterns you know you want to match and record the result in the consequence - so you can check/assert later. Mark On 20 Nov 2013, at 20:49, swaroop swaroop.o...@gmail.com wrote: Hi , Is there any way to determine which conditions matched/passed from

[rules-users] New Workbench Videos

2013-11-20 Thread Mark Proctor
5 short videos, to be played individually or continuously (play all) in the playlist, that demonstrates the new Workbench. http://tinyurl.com/nhqtdqu Mark ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] Drools Perm gen grows constantly

2013-11-18 Thread Mark Proctor
The documentation we have has now become very large, and is not easy to maintain and keep up to date with a small team our size. We rely on community contributions for this. Now that you have figured this out, my suggestion is to get involved and help us update the documentation. The

Re: [rules-users] Drools Perm gen grows constantly

2013-11-18 Thread Mark Proctor
Are you saying the permgen is leaking? That you update the rules, and no perigean space is reclaimed? There are some issues with the JVM, that I’ve seen before, which may be the problem. Such as the CMSClassUnloadingEnabled issue: http://java.dzone.com/articles/busting-permgen-myths I’d be

Re: [rules-users] Weird classloader problem

2013-11-18 Thread Mark Proctor
I think it depends on the system. When we have symbols it attempts to see if they are classes are not, on some systems the file system does not recognise type and can get confused. Mark On 18 Nov 2013, at 15:17, Alexander Herwix a...@herwix.com wrote: I actually got it to compile and work

Re: [rules-users] Weird classloader problem

2013-11-18 Thread Mark Proctor
I found that if you explicitly import the class, it can resolve the issue - instead of relying on package imports. Mark On 18 Nov 2013, at 18:31, Mark Proctor mproc...@codehaus.org wrote: I think it depends on the system. When we have symbols it attempts to see if they are classes

Re: [rules-users] RxJava and Reactor Integration

2013-11-16 Thread Mark Proctor
We don’t provide anything out of the box. But as RxJava supports pluggable Observers, you can just add your own that calls insert/update/delete. We are investigating deeper integration for RxJava in the future. Mark On 16 Nov 2013, at 08:11, sirinath sirinath19...@gmail.com wrote: Is it

Re: [rules-users] Drools 6 Unable to build index of kmodule.xml

2013-11-16 Thread Mark Proctor
It has to be a maven project, it needs to find pom.properties. Or atleast the project you are building must obey maven conventions of including a pom.properties in the correct location; even if it’s not built by maven. Versioning is now “built in” as standard, via the maven conventions.

Re: [rules-users] Usage of Drools Configuration Attributes

2013-11-16 Thread Mark Proctor
none of those are related to improving performance. Mark On 15 Nov 2013, at 22:33, Arul Prashanth arul.prasha...@gmail.com wrote: Anyone know what these options are for and does this configuration help in reducing the rule execution time and memory usage. I couldn't find much details on

Re: [rules-users] Scala, Groovy, Clojure, etc. Bindings

2013-11-11 Thread Mark Proctor
The engine itself is independent of any language. There are two components to building a new language - the parser and the compiler. However the api’s for this are not that clean at present .We use to maintain a Clips language,as an example, for a while - but no one used it, so it got left

[rules-users] Space Invaders in 8 minutes with Drools

2013-11-10 Thread Mark Proctor
http://blog.athico.com/2013/11/space-invaders-in-8-minutes-with-drools.html — Following in the same fashion of Pong and Wumpus World, I've written a simplified Space Invaders game. I've uploaded it to youtube, make sure you watch it in high quality and full screen, to avoid blur text:

Re: [rules-users] Drools 6 workbench and Polymita

2013-11-08 Thread Mark Proctor
We don’t do hybrid business models - i.e. holding back the best for the product. Everything will be available in the community. The product is just a hardened, sanitized and long live support branch of what you have in community.

Re: [rules-users] Drools 6 workbench and Polymita

2013-11-08 Thread Mark Proctor
being done for UberFire or if this was an other project. I guess I phrased the question completely wrong in that aspect. Mark Proctor wrote We don’t do hybrid business models - i.e. holding back the best for the product. Everything will be available in the community. The product

Re: [rules-users] Hi All,

2013-11-05 Thread Mark Proctor
not right now. But there is nothing to stop someone doing an adapter up at github, as a 3rd party project. MArk On 5 Nov 2013, at 11:11, Bernard Szlachta bernard.szlac...@nobleprog.co.uk wrote: Hi All, Does anyone know whether there is any chance that Drools API may comply with

Re: [rules-users] What is the difference/relationship between drools pipeline and drools server

2013-11-05 Thread Mark Proctor
-pipeline was a POC, that was never developed further. Camel replaces it in every way. Mark On 5 Nov 2013, at 11:28, scarlettxu xu_han...@163.com wrote: when I come to find a service which can expose web service API to execute the drools rules remotely. I firstly find the

Re: [rules-users] News from the community - 5.6.0.CR1 is out!

2013-11-01 Thread Mark Proctor
Davide, Thank you for al your hard work on this. It’s great when community people step up to help drive the project forward. The core team won’t have time for any final QAing of this, so it’s up to the community to test this and make sure it’s ok. Good luck :) Mark On 1 Nov 2013, at 21:04,

[rules-users] Configuration and Convention based Building and Utilization

2013-10-31 Thread Mark Proctor
http://blog.athico.com/2013/10/configuration-and-convention-based.html ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Drools Roadmap - Planned Release 6.0.0.Final release date

2013-10-29 Thread Mark Proctor
2013, at 07:27, Wolfgang Laun wolfgang.l...@gmail.com wrote: On 28/10/2013, Mark Proctor mproc...@codehaus.org wrote: We didn’t leave it broken, it got broke over time, via community pull requests. Please explain how a released x.y.z-Final can break over time. -W

Re: [rules-users] Drools Roadmap - Planned Release 6.0.0.Final release date

2013-10-28 Thread Mark Proctor
We are working on documentation,and trying to scan the code for mistakes or missed things. Mark On 28 Oct 2013, at 19:26, Juan Ignacio Barisich juan.baris...@gmail.com wrote: There is enough information for me. Thanks a lot Mauricio. 2013/10/28 Mauricio Salatino sala...@gmail.com We

Re: [rules-users] Drools Roadmap - Planned Release 6.0.0.Final release date

2013-10-28 Thread Mark Proctor
to resolve those things. If anyone wants to help, please contact him. Quicker those are fixed, quicker it can be released. Mark On 28 Oct 2013, at 19:44, Jonathan Knehr jonathan.kn...@gmail.com wrote: Can we get 5.6 out before 6.0? Feel like it's been awhile now On Oct 28, 2013, at 3:36 PM, Mark

Re: [rules-users] Drools Roadmap - Planned Release 6.0.0.Final release date

2013-10-28 Thread Mark Proctor
01:01 PM, Mark Proctor wrote: We went to publish it last week, there were a few failing tests. Once those are fixed, it can be released. Fixing that though relies on community involvement, as core engineers prioritise working on the most recent branches. Davide Sottara, from the community, has

Re: [rules-users] Unexpected behavior of accumulate() and insertLogical() when the result() goes from matching a constraint to not matching

2013-10-27 Thread Mark Proctor
By default the rule engine has no concept of latest, there is simply the data that is currently present. It evaluates that data to produce activations, and then fires those. If you need the notion of latest, and are unable to emulate this yourself, you can switch the engine to steam mode and

Re: [rules-users] Unexpected behavior of accumulate() and insertLogical() when the result() goes from matching a constraint to not matching

2013-10-27 Thread Mark Proctor
insertLogical does retract the inserted fact, if it’s supported becomes false. Mark On 27 Oct 2013, at 18:52, mikerod mjr4...@gmail.com wrote: I understand that there is no concept within the engine of latest. I the surprising behavior to me here was that the rule seems to become invalidated

Re: [rules-users] What is the side-effect of using the CE from?

2013-10-17 Thread Mark Proctor
I don't think any of us have said that 'from' is not good to use. Only that you should understand how it works; with regards to not being reactive, and that it's a linear iteration. Mark On 15 Oct 2013, at 04:22, Sonata plz.write...@gmail.com wrote: Hi, I remember seeing some best practice

Re: [rules-users] Why disable properyreactive if amount of properties larger than or equals to 64

2013-10-16 Thread Mark Proctor
A lot has changed since April. You'll need to build master and try it against that. If the issue not related to more than 64 fields, you'll need to write a unit test against master. http://docs.jboss.org/drools/release/5.5.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html Mark On

Re: [rules-users] NPE exception when retracting fact in Drools 5.5.0.Final and 5.3.0.Final

2013-10-15 Thread Mark Proctor
5.6 is pretty much ready to go, someone just has to build it and upload binaries. I'd recommend you build 5.6 and try those binaries. Mark On 15 Oct 2013, at 18:53, Bransford-Koons, Geoff geoff.bransford-ko...@teradata.com wrote: I’m trying to update our application from Drools 4.0.7 to

Re: [rules-users] Are rule templates part of supported API?

2013-10-13 Thread Mark Proctor
The rule template stuff has not been migrated to the new api - it's mostly just there so it doesn't break legacy systems. We recommend people to use the web based rule decision tables and rule templates, which we do put our efforts into maintaining and keeping current. Mark On 12 Oct 2013,

Re: [rules-users] Kie API questions

2013-10-11 Thread Mark Proctor
We go over kie api and conf here, starting at slide 96. Slide 109 shows kie-scanner in use. http://www.slideshare.net/MarkProctor/ireland-augam2013 Mark On 11 Oct 2013, at 11:05, Martin Minka martin.mi...@gmail.com wrote: are there somewhere examples how to: 1. use KieScanner 2. how to

Re: [rules-users] Kie API questions

2013-10-11 Thread Mark Proctor
yes, would be great it someone could make an online tutorial :) Mark On 11 Oct 2013, at 18:57, Wolfgang Laun wolfgang.l...@gmail.com wrote: On 11/10/2013, Mark Proctor mproc...@codehaus.org wrote: We go over kie api and conf here, starting at slide 96. Slide 109 shows kie-scanner in use

Re: [rules-users] kie-spring and drools-wb integration

2013-10-10 Thread Mark Proctor
example rest/camel in new xml https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/kie-camel/src/test/resources/org/kie/camel/component/CxfRsSpring.xml Mark On 10 Oct 2013, at 12:56, clayton.tabone clayton.tab...@go.com.mt wrote: Hi, In Drools 5 it was possible to configure a

Re: [rules-users] Any limitation on the count of properties when declare new class in drl file?

2013-10-08 Thread Mark Proctor
Are you using property reactive? That places a 64 property limit. Mark On 8 Oct 2013, at 17:05, haoruiq...@gmail.com wrote: Hi, I encountered a strange problem these days, I declared a new class a.b in drl file using keyword declare, it has too many properties, larger than 64, then

Re: [rules-users] Journaling and Commit Points

2013-10-07 Thread Mark Proctor
You can use the marshaller to copy the entire state of the rule engine. It works with JPA integration, by recording the JPA reference handle when it serialises. Mark On 7 Oct 2013, at 10:56, sirinath sirinath19...@gmail.com wrote: Hi, Is it possible to have the ability to journal fact /

Re: [rules-users] Drools Chance

2013-10-06 Thread Mark Proctor
Only unit tats, the stuff is very alpha and raw. The more recent stuff on pluggable belief systems, is a little easier to start with. But again nothing more than unit tests, or this blog entry: http://www.dzone.com/links/pluggable_belief_systems_in_drools_60.html Mark On 6 Oct 2013, at 02:01,

Re: [rules-users] Drools 6.0 and Drools chance?

2013-10-02 Thread Mark Proctor
It wil continue to be improved during 6.0. It will get increasingly more attention. We have developed a new pluggable belief system to support chance research. http://www.dzone.com/links/pluggable_belief_systems_in_drools_60.html Mark On 2 Oct 2013, at 13:12, kurrent93 kurren...@gmail.com

Re: [rules-users] Suggestion/Feedback for DSL

2013-10-02 Thread Mark Proctor
Right now the DSL stuff has been under developed for years. I actually wanted to remove it completely, as we don't have the resources to develop it fufther, and unfortunately it's not an item that has been picked up by community developers. I was persuaded to keep it, by those using it, but it

Re: [rules-users] Manners Benchmark broken!?

2013-09-25 Thread Mark Proctor
a few of the examples are broken in 6.0, we'll try and fix those soon. Mark On 25 Sep 2013, at 16:56, ru soro...@oogis.ru wrote: Hello drools-community, I tried to run Manners Benchmark test and got this error message: assign first seat : [Seating id=1 , pid=1 , pathDone=true ,

Re: [rules-users] NullPointer while deleting a rule since 6.0.0 upgrade

2013-09-24 Thread Mark Proctor
Did you read the getting involved page? If you have a bug, please open a JIRA and submit a unit test as a pull request: http://docs.jboss.org/drools/release/5.4.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html Mark On 24 Sep 2013, at 14:48, Nicocb ndreui...@gmail.com wrote: I'm a

Re: [rules-users] Decision tree availability

2013-09-19 Thread Mark Proctor
no :( Mark On 12 Jun 2013, at 06:18, mars137 atif.ta...@tcs.com wrote: Would decision tree be available in new version of drools i.e. Version 6? -- View this message in context: http://drools.46999.n3.nabble.com/Decision-tree-availability-tp4024261.html Sent from the Drools: User

Re: [rules-users] Exception in thread main java.lang.ClassCastException: org.drools.io.impl.FileSystemResource cannot be cast to org.drools.io.InternalResource

2013-09-19 Thread Mark Proctor
This can happen, if you mix and match wrong versions of jars on your class path. Mark On 18 Sep 2013, at 18:10, Davide Sottara dso...@gmail.com wrote: Seems strange, since FileSystemResource implements InternalResource. Which version are you using? Davide On 09/18/2013 07:25 AM,

Re: [rules-users] Exception in thread main org.drools.ProviderInitializationException

2013-09-16 Thread Mark Proctor
you are mixing jar versions. Specifically project 5.1.1 and product 5.0.1. If you are customer with a Red Hat BRMS subscription, can you please ask this question on the customer support portal. Where it will be handled under SLA for guaranteed response times. Either way, you can't mix and

Re: [rules-users] Drools Fusion 6.0.0.CR3

2013-09-11 Thread Mark Proctor
Unless you are using fireUntilHalt there is now no longer any async reactivity. As discussed before, we have a stronger separation now between passive and reactive mode. If you want to see what's happening, there is now a new trace debug information. You'll need a logback file similar to

<    1   2   3   4   5   6   7   8   9   10   >