Are you using the same JVM version in both machines? Greetings 2010/12/27 John Peterson <[email protected]>
> Hi, > > I’m experiencing an interesting issue with Drools/Guvnor. I am running > Drools 5.1.1 on my workstation and the Guvnor 5.1.1 standalone locally. > When I run it locally, it works fine. The server installation of JBoss AS > was downloaded and installed at the same time as Drools 5.1.1. > > When I try to run it connecting to the remote server (on Linux), I get the > following error: > > [2010:12:361 09:12:910:debug] KnowledgeAgent rebuilding KnowledgeBase using > ChangeSet > > [2010:12:361 09:12:972:exception] > > ***java.lang.RuntimeException*: KnowledgeAgent exception while trying to > deserialize KnowledgeDefinitionsPackage > > at > org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(*** > KnowledgeAgentImpl.java:664*) > > at > org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(*** > KnowledgeAgentImpl.java:889*) > > at org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(*** > KnowledgeAgentImpl.java:704*) > > at org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(*** > KnowledgeAgentImpl.java:584*) > > at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(*** > KnowledgeAgentImpl.java:185*) > > at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(*** > KnowledgeAgentImpl.java:168*) > > at com.agencyawards2.RuleSessionProviderFactory.getSessionFactory( > ***RuleSessionProviderFactory.java:95*) > > at com.agencyawards2.RuleSessionProviderFactory.getProvider(*** > RuleSessionProviderFactory.java:35*) > > at com.agencyawards2.RunRules.runRules(***RunRules.java:27*) > > at com.agencyawards2.DroolsTest.main(***DroolsTest.java:40*) > > Caused by:*** java.io.StreamCorruptedException*: invalid stream header: > 7061636B > > at java.io.ObjectInputStream.readStreamHeader(Unknown Source) > > at java.io.ObjectInputStream.<init>(Unknown Source) > > at org.drools.common.DroolsObjectInputStream.<init>(*** > DroolsObjectInputStream.java:71*) > > at org.drools.core.util.DroolsStreamUtils.streamIn(*** > DroolsStreamUtils.java:205*) > > at org.drools.core.util.DroolsStreamUtils.streamIn(*** > DroolsStreamUtils.java:174*) > > at > org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(*** > KnowledgeAgentImpl.java:653*) > > ... 9 more > > [2010:12:361 09:12:03:debug] KnowledgeAgent obtaining pkg > resource=[UrlResource path='file:src/main/rules/ruleflow.rf'] > > The only thing I can think of that is different is that I recently upgraded > my Guvnor 5.0.1 to 5.1.1 on the Server. I did this by replacing the > drools-guvnor.war with the newer version. Did that create some sort of > compatibility between my local 5.1.1 installation and the server > installation of 5.1.1 on top of the old 5.0.1? > > Thanks, > > John > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > > -- - CTO @ http://www.plugtree.com - MyJourney @ http://salaboy.wordpress.com - Co-Founder @ http://www.jbug.com.ar - Salatino "Salaboy" Mauricio -
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
