Thanks everyone for the help :)....Its working fine with jbpm 5.3 development snapshot and drools 5.4 cr1... cheers!!!!!!<br><br><div class="gmail_quote">On Mon, Apr 16, 2012 at 3:08 PM, sumatheja <span dir="ltr">&lt;<a href="mailto:sumatheja@gmail.com">sumatheja@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Edson... I expected this could be a ersion issue... can you send me the link for the latest snapshot for jBPM... The latest that I could find is 5.2 final.....<div>

<div></div><div class="h5"><br><br><div class="gmail_quote">2012/4/16 Edson Tirelli <span dir="ltr">&lt;<a href="mailto:ed.tirelli@gmail.com" target="_blank">ed.tirelli@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div>   The error means a version incompatibility due to changes we made to the marshalling framework. Until both projects have their releases out, you will have to use snapshots. jBPM 5.3 requires Drools 5.4 and vice-versa. You can&#39;t use Drools 5.4 with jBPM 5.2.<div>



<br></div><div>   I think jBPM 5.3 has not released any binaries after Drools 5.4.CR1, so you need to use the snapshot until it is.</div><div><br></div><div>   Please note that this is temporary as we are talking about development (i.e., non-final) versions.</div>



<div><br></div><div>    Edson</div><div><div><div></div><div><br><div class="gmail_quote">2012/4/16 sumatheja <span dir="ltr">&lt;<a href="mailto:sumatheja@gmail.com" target="_blank">sumatheja@gmail.com</a>&gt;</span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Michael... Thanks for the response.... I&#39;m getting this exception even without a guvnor i.e. when I use a local project which has jbpm process and a drl file.... but without the jbpm process everything works fine. I&#39;m using jbpm 5.2 final.<div>



<div><br>

<br><div class="gmail_quote">2012/4/16 Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<p>There was a dramatic change to the marshalling of binary packages for 5.4.CR1. AFAIK this would mean any existing binary package in Guvnor would need to be rebuilt. </p>
<p>Downgrading JARs to older versions would effectively remove the marshalling change and hence restore compatibility of older binary assets.</p>
<p>Edson, I think I am right? We need to call this loud and clear in the release notes.</p>
<p>sent on the move</p><div><div></div><div>
<p>On 16 Apr 2012 12:33, &quot;sumatheja&quot; &lt;<a href="mailto:sumatheja@gmail.com" target="_blank">sumatheja@gmail.com</a>&gt; wrote:<br type="attribution"></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






I&#39;m getting the same issue when I try to unmarshall a sample application which has the jbpm process (which moves out guvnor as possible cause)..... can someone guide if this is some bug? or should I change the jbpm jar version?<br>








<br><div class="gmail_quote">On Mon, Apr 16, 2012 at 11:37 AM, sumatheja <span dir="ltr">&lt;<a href="mailto:sumatheja@gmail.com" target="_blank">sumatheja@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">








Hi,<br>    I&#39;m using drools and guvnor 5.4 cr1. I&#39;ve few drools ruleflows which were not executing so I imported the jars from jbpm 5.2 final.....   The marshalling and unmarshalling works fine if I have knowledge base without rule-flows. I hope this gives some hint..<div>








<div></div><div><br>
<br><div class="gmail_quote">On Mon, Apr 16, 2012 at 11:29 AM, Wolfgang Laun <span dir="ltr">&lt;<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">









This kind of error indicates some confusion between compilation and<br>
execution of the code where this is thrown.<br>
<br>
Also, which versions of Drools do you used for marshalling and<br>
unmarshalling? There&#39;s no line 287 in the versions of<br>
org.drools.marshalling.impl.PersisterHelper.java available to me.<br>
<br>
-W<br>
<div><div></div><div><br>
<br>
On 16/04/2012, sumatheja &lt;<a href="mailto:sumatheja@gmail.com" target="_blank">sumatheja@gmail.com</a>&gt; wrote:<br>
&gt; Hi All,<br>
&gt;         I ran across an issue while unmarshalling StatefulKnowledgeSession.<br>
&gt; First I&#39;m marshalling the session using the following code which works fine<br>
&gt;<br>
&gt; Marshaller marshaller = MarshallerFactory<br>
&gt;<br>
&gt; .newMarshaller(workingMemory.getKnowledgeBase());<br>
&gt;                     File file = new File(<br>
&gt;                             &quot;C:\\Users\\Sumatheja\\<a href="http://workingmemory.info" target="_blank">workingmemory.info</a>&quot;);<br>
&gt;                     FileOutputStream fos = new FileOutputStream(file);<br>
&gt;                     ByteArrayOutputStream baos = new<br>
&gt; ByteArrayOutputStream();<br>
&gt;                     marshaller.marshall(baos, workingMemory);<br>
&gt;                     baos.writeTo(fos);<br>
&gt;                     baos.close();<br>
&gt;<br>
&gt; When I try to unmarshall the session using<br>
&gt;<br>
&gt;  Marshaller marshaller = MarshallerFactory<br>
&gt;                         .newMarshaller(workingMemory.getKnowledgeBase());<br>
&gt;                       FileInputStream fis = new<br>
&gt; FileInputStream(&quot;C:\\Users\\Sumatheja\\<a href="http://workingmemory.info" target="_blank">workingmemory.info</a>&quot;);<br>
&gt;                       workingMemory = marshaller.unmarshall(fis);<br>
&gt;<br>
&gt; I&#39;m getting the Error:<br>
&gt;<br>
&gt;<br>
&gt; java.lang.AbstractMethodError:<br>
&gt; org.jbpm.marshalling.impl.ProcessMarshallerImpl.init(Lorg/drools/marshalling/impl/MarshallerReaderContext;)V<br>
&gt;     at<br>
&gt; org.drools.marshalling.impl.PersisterHelper.buildRegistry(PersisterHelper.java:287)<br>
&gt;     at<br>
&gt; org.drools.marshalling.impl.ProtobufInputMarshaller.loadAndParseSession(ProtobufInputMarshaller.java:219)<br>
&gt;     at<br>
&gt; org.drools.marshalling.impl.ProtobufInputMarshaller.readSession(ProtobufInputMarshaller.java:152)<br>
&gt;     at<br>
&gt; org.drools.marshalling.impl.ProtobufMarshaller.unmarshall(ProtobufMarshaller.java:117)<br>
&gt;     at<br>
&gt; org.drools.marshalling.impl.ProtobufMarshaller.unmarshall(ProtobufMarshaller.java:86)<br>
&gt;     at<br>
&gt; mattelli.re.ComplianceEngine.ComplianceRunService(ComplianceEngine.java:271)<br>
&gt;     at mattelli.re.ComplianceEngine.main(ComplianceEngine.java:84)<br>
&gt;<br>
&gt; No Idea what I&#39;m missing out... any help will be appreciated... Thanks in<br>
&gt; advance<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; cheers<br>
&gt; Sumatheja Dasararaju<br>
&gt;<br>
</div></div>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>cheers<br>Sumatheja Dasararaju<br><br><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>cheers<br>Sumatheja Dasararaju<br><br><br>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote><p></p>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>cheers<br>Sumatheja Dasararaju<br><br><br>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><font color="#888888">  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com" target="_blank">www.jboss.com</a><br>



</font></div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>cheers<br>Sumatheja Dasararaju<br><br><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>cheers<br>Sumatheja Dasararaju<br><br><br>