Serializing a compiled package seems a rational thing to do - after all, there is: &lt;resource source=&quot;...&quot; type=&quot;PKG&quot; /&gt; and it is recognized by the monitor.<br><br>However, you can&#39;t simply serialize an org.drools.definition.KnowledgePackage as it is usually done by writing it to an ObjectOutputStream: deserialization in the KnowledgeAgent throws a CCE exception.  To make it work, you must use a DroolsObjectOutputStream, which is nothing but a rename of ObjectOutputStream. So I have use DroolsObjectOutputStream, but it is not part of the public API.<br>
<br>-W<br><br>