<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user">
    <title>gmane.comp.java.drools.user</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32272"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32271"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32270"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32269"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32268"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32267"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32266"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32265"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32264"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32263"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32262"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32261"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32260"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32259"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32258"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32257"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32256"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32255"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32254"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.drools.user/32253"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32272">
    <title>[Designer] Problem installing service from repository</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32272</link>
    <description>&lt;pre&gt;Hi,

I'm using Designer 2.2 with Guvnor 3.4 in a Jboss AS 7.1.

I could connect to this service repository url: 
http://people.redhat.com/kverlaen/repository in the Designer editor.

I've selected the Twitter service but I got this error:

19:58:58,896 ERROR 
[org.jbpm.designer.web.server.JbpmServiceRepositoryServlet] 
(http--127.0.0.1-8080-5) Could not find the package for uuid: 
c3142f2a-084b-423f-8afa-640c84140075

Am I missing something ?

regards,

Cristiano


_______________________________________________
rules-users mailing list
rules-users&amp;lt; at &amp;gt;lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

&lt;/pre&gt;</description>
    <dc:creator>Cristiano Gavião</dc:creator>
    <dc:date>2012-05-16T23:09:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32271">
    <title>Re: [designer] problem with color theme selection</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32271</link>
    <description>&lt;pre&gt;Well, I've reinstalled JbossAS 7.1, Guvnor 5.4 and Designer 2.2 again..

This time I've deployed guvnor using "drools-guvnor.war" instead of 
"guvnor.war" and it seems to be working properly.

Is this true, that I must use "drools-guvnor.war"? or it was just a 
coincidence ?

regards,

Cristiano




On 16/05/12 10:53, Tihomir Surdilovic wrote:

_______________________________________________
rules-users mailing list
rules-users&amp;lt; at &amp;gt;lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

&lt;/pre&gt;</description>
    <dc:creator>Cristiano Gavião</dc:creator>
    <dc:date>2012-05-16T22:35:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32270">
    <title>multiple rule package files in change-set.xml</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32270</link>
    <description>&lt;pre&gt;Hi there, 

Please assist.

I have added2 package to my change-set.xml, they are "resources
uk.co.example.mapping.policy.pkg" and "uk.co.example.policy.validation.pkg",
the rules in "uk.co.example.mapping.policy.pkg"  infer facts required by
"uk.co.example.policy.validation.pkg".

When all the rules are in one package, then the rule fires as expected.
However when splitting the rules into 2 packages in 1 change-set.xml the
rule does not fire. 

&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;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
drools-change-set-5.0.xsd" &amp;gt;

    &amp;lt;add&amp;gt;
      &amp;lt;resource
source="file:///usr/local/applications/example/BRMSFiles/uk.co.example.mapping.policy.pkg"
type="PKG"/&amp;gt;
  &amp;lt;resource
source="file:///usr/local/applications/example/BRMSFiles/uk.co.example.policy.validation.pkg"
type="PKG"/&amp;gt;
    &amp;lt;/add&amp;gt; 


&amp;lt;/change-set&amp;gt;

--
View this message in context: http://drools&lt;/pre&gt;</description>
    <dc:creator>devan.vanreenen&lt; at &gt;gmail.com</dc:creator>
    <dc:date>2012-05-16T15:45:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32269">
    <title>Re: use of enum with "in" on LHS</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32269</link>
    <description>&lt;pre&gt;Another potentiel trick :

In State enum, add a method to build a State list from a list of string
enum State {
    ...
    static List&amp;lt;State&amp;gt; buildList(String listAsStr) {
        // well, don't need to detail that ...
        // ... but think to keep a cache somewhere to avoid unecessary iterations at each rule's evaluation ...
    }
}

and in your DSL :
[*][when]- state is {stateList}=state in (State.buildList({stateList}))


Don't know if it really works, just an idea that could be better than replacing all NEW/OLD strings ...
If ot works, it can even be better to handle weird items list in a big string ...
_______________________________________________
rules-users mailing list
rules-users&amp;lt; at &amp;gt;lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

&lt;/pre&gt;</description>
    <dc:creator>Vincent LEGENDRE</dc:creator>
    <dc:date>2012-05-16T15:07:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32268">
    <title>Necessary dependencies when using ruleflow</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32268</link>
    <description>&lt;pre&gt;I did some search here and found using jbpm-bpmn2 dependency will get rid
of the following error.

  &amp;lt;dependency&amp;gt;
            &amp;lt;groupId&amp;gt;org.jbpm&amp;lt;/groupId&amp;gt;
            &amp;lt;artifactId&amp;gt;jbpm-bpmn2&amp;lt;/artifactId&amp;gt;
            &amp;lt;version&amp;gt;5.3.0.CR1&amp;lt;/version&amp;gt;
        &amp;lt;/dependency&amp;gt;


Is this the correct soluation? If there is such an dependency, should not
the drools-core be taking care of this in the pom file? Now I tried to add
the dependency myself but ended up with some method not found exception,
which I believe is caused by the version mismatching (since I do not know
which version would match drools 5.3.0.final).

I would assume using ruleflow is common practice in this forum. does anyone
else have this issue when working with 5.3.0.Final?

Thanks

Sean



"java.lang.RuntimeException: Unable to instantiate a process builder"
....
Caused by: java.lang.ClassNotFoundException:
org.jbpm.process.builder.ProcessBuilderFactoryServiceImpl
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.Access&lt;/pre&gt;</description>
    <dc:creator>Sean Su</dc:creator>
    <dc:date>2012-05-16T14:52:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32267">
    <title>Re: use of enum with "in" on LHS</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32267</link>
    <description>&lt;pre&gt;Hey Frank,

It's not perfect but it should serve the purpose and is far preferable to
the alternatives I was considering.  Thanks very much!

Cheers,
Derek

--
View this message in context: http://drools.46999.n3.nabble.com/use-of-enum-with-in-on-LHS-tp3997081p3997238.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users&amp;lt; at &amp;gt;lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

&lt;/pre&gt;</description>
    <dc:creator>dsykes</dc:creator>
    <dc:date>2012-05-16T14:36:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32266">
    <title>Re: use of enum with "in" on LHS</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32266</link>
    <description>&lt;pre&gt;But take care, this replaces *all* occurrences of the words NEW and OLD.
-W

On 16/05/2012, FrankVhh &amp;lt;frank.vanhoenshoven&amp;lt; at &amp;gt;agserv.eu&amp;gt; wrote:
_______________________________________________
rules-users mailing list
rules-users&amp;lt; at &amp;gt;lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

&lt;/pre&gt;</description>
    <dc:creator>Wolfgang Laun</dc:creator>
    <dc:date>2012-05-16T14:28:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32265">
    <title>Re: use of enum with "in" on LHS</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32265</link>
    <description>&lt;pre&gt;Regrettably, this is just a string substitution, not caring what it
is, or what comes before or after.
-W

On 16/05/2012, dsykes &amp;lt;derek.sykes&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:
_______________________________________________
rules-users mailing list
rules-users&amp;lt; at &amp;gt;lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

&lt;/pre&gt;</description>
    <dc:creator>Wolfgang Laun</dc:creator>
    <dc:date>2012-05-16T14:26:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32264">
    <title>Re: use of enum with "in" on LHS</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32264</link>
    <description>&lt;pre&gt;Hi,

Unless there is another workaround, I think you would have to do it
something like this:

[*][when]the received object=result : RulesResult();$stm : Report()
[*][keyword]NEW=State.NEW
[*][keyword]OLD=State.OLD
[*][when]- state is {stateList}=state in ({stateList})

Regards,
Frank

--
View this message in context: http://drools.46999.n3.nabble.com/use-of-enum-with-in-on-LHS-tp3997081p3997136.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users&amp;lt; at &amp;gt;lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

&lt;/pre&gt;</description>
    <dc:creator>FrankVhh</dc:creator>
    <dc:date>2012-05-16T13:57:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32263">
    <title>Re: [designer] problem with color theme selection</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32263</link>
    <description>&lt;pre&gt;The theme data is stored in Guvnor itself (in the GlobalArea). Do you by 
chance remove GlobalArea or the user you have defined in Designer's 
jbpm.xml cannot access it for some reason?
Take a look at 
http://surdilovic.wordpress.com/2012/05/10/color-themes-support-in-jbpm-designer/, 
there the images describe the format of the color themes json file and 
how to add a custom color scheme as well.

Hope this helps.
Tihomir
On 5/16/12 9:09 AM, Cristiano Gavião wrote:

_______________________________________________
rules-users mailing list
rules-users&amp;lt; at &amp;gt;lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

&lt;/pre&gt;</description>
    <dc:creator>Tihomir Surdilovic</dc:creator>
    <dc:date>2012-05-16T13:53:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32262">
    <title>use of enum with "in" on LHS</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32262</link>
    <description>&lt;pre&gt;Hi there,

I have a rule where I would like human-readable rule to have a comma
separated list of enum constants in it, however I can't find a way to get
this working.

DSLR file:

import com.test.Report;
import com.test.RulesResult;
import com.test.State;

rule "Test rule"
    when
        the received object
        - state is NEW, MODIFY
    then
        #unimportant
end

DSL file:

[*][when]the received object=result : RulesResult();$stm : Report()
[*][when]- state is {stateList}=state in (State.{stateList})

Class Report has a property called state which is an enum of type State
which has a number of constants including NEW and MODIFY.

When I run this I get:

org.drools.RuntimeDroolsException: Exception executing predicate ( state ==
State.NEW || state == MODIFY)

As you can see only the first constant is being qualified with the enum
class.  Can anyone help me with how to do this properly?

Thanks,
Derek

--
View this message in context: http://drools.46999.n3.nabble.com/use-of-enum-with-in-on-LHS-tp3&lt;/pre&gt;</description>
    <dc:creator>dsykes</dc:creator>
    <dc:date>2012-05-16T13:34:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32261">
    <title>[designer] problem with color theme selection</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32261</link>
    <description>&lt;pre&gt;I'm using Guvnor 4.3.Final with Designer 2.2.Final.

I have to say that Designer is getting amazing each version. 
Congratulations and thanks the team for that !!!

But I didn't like the default color because I can't read well the black 
text in a dark gray background color.

So when I try to test the color theme and select the jBPM theme button I 
got this message: " invalid color theme data".

what this mean ?

How can I create my own color theme ?

regards,

Cristiano
_______________________________________________
rules-users mailing list
rules-users&amp;lt; at &amp;gt;lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

&lt;/pre&gt;</description>
    <dc:creator>Cristiano Gavião</dc:creator>
    <dc:date>2012-05-16T13:09:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32260">
    <title>Re: Drools function not working with Javassist facts</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32260</link>
    <description>&lt;pre&gt;I removed all this servlet stuff and then I added
   msgCtClass.writeFile();
after building the class in FactGenerator and it works.

-W



On 16/05/2012, Ayush &amp;lt;ayush.vatsyayan&amp;lt; at &amp;gt;alcatel-lucent.com&amp;gt; wrote:
_______________________________________________
rules-users mailing list
rules-users&amp;lt; at &amp;gt;lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

&lt;/pre&gt;</description>
    <dc:creator>Wolfgang Laun</dc:creator>
    <dc:date>2012-05-16T13:03:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32259">
    <title>Re: Evaluation of the of rules with 'window:length'event windows</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32259</link>
    <description>&lt;pre&gt;ok, got it.
not a strange construction, but a beautiful one !!
thx

----- Mail original -----

If you want to have a list, you can have it in addition to count:
   accumulate( $w: Whatever(...) from window:length( 10 ),
                        $count: count(1), $list: collectList( $w ),... )

although that would be redundant. But if you'd just need the (for
instance) sum, it would be useful.
  accumulate( Whatever( $x:x, ... ) from window:length( 10 ),
                        $count: count(1), $sum: sum( $x ) )

Note that this is a *complete* CE, beginning with "accumulate".

-W

_______________________________________________
rules-users mailing list
rules-users&amp;lt; at &amp;gt;lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users&amp;lt; at &amp;gt;lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

&lt;/pre&gt;</description>
    <dc:creator>Vincent LEGENDRE</dc:creator>
    <dc:date>2012-05-16T12:32:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32258">
    <title>Re: Drools function not working with Javassist facts</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32258</link>
    <description>&lt;pre&gt;Laune,
Thank you a lot for your reply. Here I go explaining the code.

*I'm generating dynamic java objects. In this the class file is made once
and on each request we make a new instance and insert it in drools session*

    public Object getFact () 
throws CannotCompileException, InstantiationException,
IllegalAccessException {

        if (msgClass != null) {
            return msgClass.newInstance ();
        } else {
            final ClassPool pool = ClassPool.getDefault ();
            CtClass msgCtClass = null;
            System.out.println ("creating new class...");
            msgCtClass = pool.makeClass ("drools.dynamic.Message");
            final CtField field = new CtField (CtClass.intType, "Count",
msgCtClass);
            field.setModifiers (Modifier.PRIVATE);
            msgCtClass.addField (field);

            final CtMethod getter = CtNewMethod.getter ("getCount", field);
            msgCtClass.addMethod (getter);

            final CtMethod setter = CtNewMethod.getter ("setCount", fie&lt;/pre&gt;</description>
    <dc:creator>Ayush</dc:creator>
    <dc:date>2012-05-16T12:31:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32257">
    <title>Re: Drools 5.0 relative date sporadic misfunction</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32257</link>
    <description>&lt;pre&gt;
That's not a native Drools (DRL) pattern or constraint. Could be an
extension added by the vendor of your tool.

-W


_______________________________________________
rules-users mailing list
rules-users&amp;lt; at &amp;gt;lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

&lt;/pre&gt;</description>
    <dc:creator>Wolfgang Laun</dc:creator>
    <dc:date>2012-05-16T12:16:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32256">
    <title>Re: Evaluation of the of rules with 'window:length' event windows</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32256</link>
    <description>&lt;pre&gt;
If you want to have a list, you can have it in addition to count:
   accumulate( $w: Whatever(...) from window:length( 10 ),
                        $count: count(1), $list: collectList( $w ),... )
although that would be redundant. But if you'd just need the (for
instance) sum, it would be useful.
  accumulate( Whatever( $x:x, ... ) from window:length( 10 ),
                        $count: count(1), $sum: sum( $x ) )

Note that this is a *complete* CE, beginning with "accumulate".

-W

_______________________________________________
rules-users mailing list
rules-users&amp;lt; at &amp;gt;lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

&lt;/pre&gt;</description>
    <dc:creator>Wolfgang Laun</dc:creator>
    <dc:date>2012-05-16T12:08:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32255">
    <title>Re: Evaluation of the of rules with 'window:length'event windows</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32255</link>
    <description>&lt;pre&gt;
oups ... Should have checked before ... sorry.
So window:length(X) take only a max of X previous events (so including from 0 to X, which the problem here) 


strange construction ...
"$count: count(1)" is part of the pattern ? then automatically incremented in $count variable ?
Does the accumulate still return a List or something else ?
_______________________________________________
rules-users mailing list
rules-users&amp;lt; at &amp;gt;lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

&lt;/pre&gt;</description>
    <dc:creator>Vincent LEGENDRE</dc:creator>
    <dc:date>2012-05-16T11:56:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32254">
    <title>Drools 5.0 relative date sporadic misfunction</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32254</link>
    <description>&lt;pre&gt;We purchased an app that uses Drools 5.0, have set up many rules that use the
relative date logic (ie tagname: 60 would look for this tag if =&amp;gt; 60 days on
account), but it appears to misfunction sporadically, is there a none bug
and work around, or perhaps the app using Drools has a bug.  Really
appreciate your ideas

--
View this message in context: http://drools.46999.n3.nabble.com/Drools-5-0-relative-date-sporadic-misfunction-tp3996903.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users&amp;lt; at &amp;gt;lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

&lt;/pre&gt;</description>
    <dc:creator>thatz</dc:creator>
    <dc:date>2012-05-16T11:45:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32253">
    <title>Re: Drools 5.0 how to create reports &amp; analytics onrulesusage</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32253</link>
    <description>&lt;pre&gt;heavilly discussed subjects ... This list should contain a lot of answers already ...
To summarize :
   - user date/time when rule last changed : Can be got from Guvnor, if you are using it. If not, you have to plug something between your editor and your storage
   - date/time rule last executed : Nothing out-of-the-box. You have to plug a AgendaListener in the sessions and store the usage somewhere.

----- Mail original -----
De: "thatz" &amp;lt;thomashatz&amp;lt; at &amp;gt;yahoo.com&amp;gt;
À: rules-users&amp;lt; at &amp;gt;lists.jboss.org
Envoyé: Mercredi 16 Mai 2012 13:40:25
Objet: [rules-users] Drools 5.0 how to create reports &amp;amp; analytics on rulesusage

An app we purchased uses Drools 5.0.  We have built 600+ rules within 50+
rule sets.  Since Drools not a relational db, how can we create reports and
analytics on rules usage, such as user date/time when rule last changed,
also date/time rule last executed.  We are usin SQL Server Report Services
for app reports, but doesn't seem like we can get to the rules with that
method.  Really appreciate your i&lt;/pre&gt;</description>
    <dc:creator>Vincent LEGENDRE</dc:creator>
    <dc:date>2012-05-16T11:44:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.drools.user/32252">
    <title>Re: Drools function not working with Javassist facts</title>
    <link>http://permalink.gmane.org/gmane.comp.java.drools.user/32252</link>
    <description>&lt;pre&gt;Please find the attached code as zip. It contains following files
1) index.jsp: contains just a link to servlet which will initiate the
process.
2) servlets.DroolsInvokerServlet.java
3) test.FactGenerator.java
4) testRule.drl

Please deploy the project as .war project in jboss6 and add the following in
web.xml
/&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;web-app id="WebApp_ID" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"&amp;gt;
&amp;lt;display-name&amp;gt;BIRT_Chart_JS_API_Samples&amp;lt;/display-name&amp;gt;

&amp;lt;servlet&amp;gt;
&amp;lt;servlet-name&amp;gt;DroolsInvokerServlet&amp;lt;/servlet-name&amp;gt;
&amp;lt;servlet-class&amp;gt;servlets.DroolsInvokerServlet&amp;lt;/servlet-class&amp;gt;
&amp;lt;/servlet&amp;gt;

&amp;lt;servlet-mapping&amp;gt;
&amp;lt;servlet-name&amp;gt;DroolsInvokerServlet&amp;lt;/servlet-name&amp;gt;
&amp;lt;url-pattern&amp;gt;/DroolsInvokerServlet&amp;lt;/url-pattern&amp;gt;
&amp;lt;/servlet-mapping&amp;gt;
&amp;lt;/web-app&amp;gt;/


Here is my code using which I'm able to reproduce the issue.

Following is the erro&lt;/pre&gt;</description>
    <dc:creator>Ayush</dc:creator>
    <dc:date>2012-05-16T11:44:36</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.java.drools.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.java.drools.user</link>
  </textinput>
</rdf:RDF>

