Re: [rules-users] Loading external KieModule fails with NullPointerException

2014-03-31 Thread Mark Proctor
you’ll need kie-ci on the class path, and don’t forget to create your settings.xml http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/KIEChapter.html#KIEDeployingSection Mark On 31 Mar 2014, at 23:28, Jean-Philippe Steinmetz wrote: > Hello, > > I am trying to set up a simple Dro

[rules-users] Loading external KieModule fails with NullPointerException

2014-03-31 Thread Jean-Philippe Steinmetz
Hello, I am trying to set up a simple Drools (6.0.1.Final) application that pulls a kmodule from an external jar that is installed in the local Maven repository. Unfortunately when my code executes the newKieContainer method it crashes with a NullPointerException. Here is my code... KieServi

Re: [rules-users] Resource scanning happens mpre than configured interval

2014-03-31 Thread san_hegde
Thank you laune, Yes, there are multiple scanners running. Actually problem is out spring context xml file is being loaded multiple times and that's why multiple scanners are getting instantiated. -- View this message in context: http://drools.46999.n3.nabble.com/Resource-scanning-happens-mpr

Re: [rules-users] Resource scanning happens mpre than configured interval

2014-03-31 Thread san_hegde
Thank you laune, Yes, there are multiple scanners running. Actually problem is out spring context xml file is being loaded multiple times and that's why multiple scanners are getting instantiated. -- View this message in context: http://drools.46999.n3.nabble.com/Resource-scanning-happens-mpr

Re: [rules-users] Resource scanning happens mpre than configured interval

2014-03-31 Thread Wolfgang Laun
The time stamps have an interesting property: alternate groups of 4 lines are exactly one hour apart. Is it quite inconceivable that you have two scanners running concurrently? -W On 31 March 2014 17:19, san_hegde wrote: > Hi, > > > > I have configured Resource Scanner to scan at the interva

Re: [rules-users] Drools 6 and OSGi

2014-03-31 Thread Mark Proctor
There was a lot of OSGi fixes in 6.0.1, aimed at the karat container. However not all modules are migrated, as it’s a work in progress. I don’t know which currently are or are not, I’m cc’ing in the developer behind this to answer. Mark On 31 Mar 2014, at 16:49, Florian Pirchner wrote: > Hi, >

[rules-users] Drools 6 and OSGi

2014-03-31 Thread Florian Pirchner
Hi, today i started to setup Drools 6 in my OSGi container. But it seems there are some issues that do not allow to run drools 6 (and jbpm) under OSGi properly. For instance: JPAKnowledgeService .newStatefulKnowledgeSession(kieBase, null, env); will never find "org.drools.pers

Re: [rules-users] Creating Categories Programmatically

2014-03-31 Thread rjr201
Thanks for that. I'll give it a go in 5.3. Cheers, Rich. -- View this message in context: http://drools.46999.n3.nabble.com/Creating-Categories-Programmatically-tp4029034p4029039.html Sent from the Drools: User forum mailing list archive at Nabble.com. _

[rules-users] Resource scanning happens mpre than configured interval

2014-03-31 Thread san_hegde
Hi, I have configured Resource Scanner to scan at the interval of 3600 seconds(1 hr). But it actually scans 3 times in the duration of one hour. My configuration is as below. When I checked the log file it actually scans 4 times in a hour. Log is as below. [2014-03-23 17:30:09,338:debug]

Re: [rules-users] Creating Categories Programmatically

2014-03-31 Thread Petr Široký
Hello, I think this should be doable using the Guvnor REST API. Excerpt from the documentation: /categories/{categoryPath} http://localhost:8080/guvnor-5.5.0.Final/rest/categories/{categoryPath} ... The PUT method creates a new category with the supplied category path {categoryPath}. The DELET

Re: [rules-users] duplicate class in drools

2014-03-31 Thread Mark Proctor
You should only use stuff in the -api jar, everything else is internal. Mostly old classes are there for legacy support, or it’s just technical debt we don’t have time to clean up. That’s why we have a -api separation, so we can clean up over time. For 6.1 Mario has done a big clean up on techn

[rules-users] Creating Categories Programmatically

2014-03-31 Thread rjr201
Hi, I'm using Guvnor 5.3 and need to create a category programmatically. I can't seem to find any documentation to do this. Does anyone know if it's possible? Any help would be greatly appreciated.. Cheers, Rich. -- View this message in context: http://drools.46999.n3.nabble.com/Creating-

Re: [rules-users] Drools Fusion inconsistencies at increasing event throughputs

2014-03-31 Thread Mark Proctor
We are still working on this, we’ve found a number of related points, as we are doing a full audit of the code. We’ll post as soon as we have the fixes available in a nightly build, so that people can test. Mark On 29 Mar 2014, at 12:50, Mark Proctor wrote: > Mario has found an issue at a sync

Re: [rules-users] uploading jar into drools-repo : ERROR

2014-03-31 Thread rjr201
Hi, Can you also outline how you created the jar file? -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-uploading-jar-into-drools-repo-ERROR-tp4029006p4029030.html Sent from the Drools: User forum mailing list archive at Nabble.com. __