Re: [rules-users] Rules compilation error with OSGi integration (6.1.0.Beta3)

2014-05-20 Thread Charles Moulliard
Can you provide us the compilation error reported (gist link) and a test case to allow us to reproduce your issue ? On Mon, May 19, 2014 at 4:00 PM, Ephemeris Lappis ephemeris.lap...@gmail.com wrote: Hello. We have a very simple rules file that works as expected when running as a JUnit

Re: [rules-users] Rules compilation error with OSGi integration (6.1.0.Beta3)

2014-05-20 Thread Ephemeris Lappis
Hello. Here is the first lines of the error message : 14:58:57,457 | ERROR | tp1946301910-151 | AbstractKieModule| 239 - org.drools.compiler - 6.1.0.20140429-1643 | Unable to build KieBaseModel:MyKBase Rule Compilation error : [Rule name='Main Rule']

Re: [rules-users] Upgrade to protobuf 2.5 - Prevents Upgrading to Drools 6.x

2014-05-20 Thread Mark Proctor
On 20 May 2014, at 02:37, mikerod mjr4...@gmail.com wrote: Upgrading Hadoop is not possible for sometime still. It requires a fairly large coordinated effort. I don't suppose there is any chance that there will be a workaround for this in Drools 6? Perhaps a configuration options or

Re: [rules-users] Rules compilation error with OSGi integration (6.1.0.Beta3)

2014-05-20 Thread Charles Moulliard
A test case will be required to reproduce your problem. Do you have a pax-exam test ? On Tue, May 20, 2014 at 1:03 PM, Ephemeris Lappis ephemeris.lap...@gmail.com wrote: Hello. Here is the first lines of the error message : 14:58:57,457 | ERROR | tp1946301910-151 | AbstractKieModule |

Re: [rules-users] drools 6.0 update site

2014-05-20 Thread ganeshneelekani
Hi Team, I solved this one, Actually its due to the older version of eclipse I was using, Download latest version of eclipse and you can use the drools 6.0 plug-in Thanks, Ganesh Neelekani -- View this message in context:

Re: [rules-users] Rules compilation error with OSGi integration (6.1.0.Beta3)

2014-05-20 Thread Ephemeris Lappis
Hello. I have no such kind test with Pax Exam. Should you send me a simple maven project example using a Karaf container ? Back to the problem, a very simple rule with something like that in the RHS always fails when deployed in a bundle whose class loader is the felix one : ListString l = new

Re: [rules-users] Rules compilation error with OSGi integration (6.1.0.Beta3)

2014-05-20 Thread Charles Moulliard
Is it a list that you would like to use as global param ? If this is the case, maybe change your rule code like that //GET A KSESSION StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession(); //now create some test data ksession.insert( new Cheese(

Re: [rules-users] Rules compilation error with OSGi integration (6.1.0.Beta3)

2014-05-20 Thread Ephemeris Lappis
In this case it's not a global, but a temporary variable in the rule consequence. Indeed, the problem is not only about generics, but impacts all the syntax elements that may have changed since Java 1.5, and make the rules Java compiler fails when running in ServiceMix. As I said before, the

Re: [rules-users] Rules compilation error with OSGi integration (6.1.0.Beta3)

2014-05-20 Thread Charles Moulliard
Have you tried this option for your bundle ? Bundle-RequiredExecutionEnvironment: J2SE-1.7 On Tue, May 20, 2014 at 5:10 PM, Ephemeris Lappis ephemeris.lap...@gmail.com wrote: In this case it's not a global, but a temporary variable in the rule consequence. Indeed, the problem is not only

Re: [rules-users] Rules compilation error with OSGi integration (6.1.0.Beta3)

2014-05-20 Thread Charles Moulliard
Which version of karaf / felix do you use ? I'm using this version of Felix/karaf Karaf version 2.3.0.redhat-610379 OSGi Framework org.apache.felix.framework - 4.0.3.redhat-610379 Java Virtual MachineJava HotSpot(TM) 64-Bit Server VM version 24.51-b03

[rules-users] Is @PropertySpecific supported in Drools 5.6.0

2014-05-20 Thread RavishankarHassain
I was looking fro some examples and document which explains on how to use the @Modifies annotations inside Facts(Java class) and it happened for me to see this doc http://docs.jboss.org/drools/release/5.4.0.Beta2/droolsjbpm-introduction-docs/html/releaseNotesBeta2.html I tired to implement

Re: [rules-users] drools 6.0 update site

2014-05-20 Thread ganeshneelekani
Hi Team, I solved this issue, Its due to old eclipse version I am using, Try with new version and you can update drools 6 in eclipse. Thanks Ganesh Neelekani -- View this message in context: http://drools.46999.n3.nabble.com/drools-6-0-update-site-tp4029600p4029634.html Sent from the