[rules-users] working memory error

Zhao Yi zhaoyi0113 at gmail.com
Fri May 4 06:13:22 EDT 2012


I only use drools 5.3.0. This error happens on osgi envirnonment, so I think
drools-5.3.0 doesn't work with osgi. Has anyone tried osgi environment?


laune wrote
> 
> Check the javadoc for java.lang.LinkageError. Most likely, you are
> using different Drools versions for compiling the package and using
> it.
> 
> -W
> 
> On 04/05/2012, Zhao Yi <zhaoyi0113@> wrote:
>>
>> I have two knowledge bases,one is drl file the other is pkg file. My
>> application creates knowledge base from drl files first then create
>> knowledge base from pkg file. There is nothing wrong when I create drl
>> file
>> knowledge base and fire rules, but I got below error when I create pkg
>> file
>> knowledge and fire the rules. Does anyone know what this issue mean?
>>
>> Caused by: java.lang.LinkageError: loader constraint violation: loader
>> (instance of org/drools/rule/JavaDialectRuntimeData$PackageClassLoader)
>> previously initiated loading for a different type with name
>> "org/drools/WorkingMemory"
>>
>> --
>> View this message in context:
>> http://drools.46999.n3.nabble.com/working-memory-error-tp3961517.html
>> Sent from the Drools: User forum mailing list archive at Nabble.com.
>> _______________________________________________
>> rules-users mailing list
>> rules-users at .jboss
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
> _______________________________________________
> rules-users mailing list
> rules-users at .jboss
> https://lists.jboss.org/mailman/listinfo/rules-users
> 


--
View this message in context: http://drools.46999.n3.nabble.com/working-memory-error-tp3961517p3961769.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list