Guvnor 5.5 & SwitchYard 0.7 Final incompatibility error
anikulin Jan 13, 2013 5:07 PMI used to work with SwithYard 0.6 Final and Guvnor 5.5 Final and everything worked ok, then I decided to move to 0.7 Final version. I saw in documentation, you wrote that RuleService is compatible both with 6 and 5.5 version of Drools. But when I try to configurate RulesService in 0.7 Final version I have such error:
23:30:23,426 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed to start service jboss.deployment.unit."rhythm.jar".SwitchYardService: org.jboss.msc.service.StartException in
service jboss.deployment.unit."rhythm.jar".SwitchYardService: java.lang.RuntimeException: java.io.InvalidClassException: org.drools.rule.MVELDialectRuntimeData; local class incompatible: stream class
desc serialVersionUID = -4238880767631114244, local class serialVersionUID = 6653731109221702612
at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:85)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0_10]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_10]
at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_10]
Caused by: java.lang.RuntimeException: java.io.InvalidClassException: org.drools.rule.MVELDialectRuntimeData; local class incompatible: stream classdesc serialVersionUID = -4238880767631114244, local
class serialVersionUID = 6653731109221702612
In my Guvnor I have 5,5.Final version of Drools
My Rules configuration looks like this:
<rules:implementation.rules xmlns:rules="urn:switchyard-component-rules:config:1.0">
<rules:actions>
<rules:action operation="sendData" type="EXECUTE">
<rules:globals>
<rules:mapping expression="message.content.modifiedOrderList" variable="modifiedOrderList"/>
</rules:globals>
<rules:inputs>
<rules:mapping expression="message.content.data"/>
</rules:inputs>
</rules:action>
</rules:actions>
<rules:resources>
<rules:resource location="META-INF/ChangeSet.xml" type="CHANGE_SET"/>
</rules:resources>
<rules:manifest>
</rules:manifest>
</rules:implementation.rules>
Can you help me please with this error?
Thanks, Anton