[jboss-jira] [JBoss JIRA] (JBRULES-3085) Serializing a package for KnowledgeAgent monitoring requires use of "unstable" API

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Wed Feb 1 05:26:01 EST 2012


     [ https://issues.jboss.org/browse/JBRULES-3085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoffrey De Smet updated JBRULES-3085:
--------------------------------------

    Fix Version/s: 5.4.0.Beta3
                       (was: 5.4.0.Beta2)

    
> Serializing a package for KnowledgeAgent monitoring requires use of "unstable" API 
> -----------------------------------------------------------------------------------
>
>                 Key: JBRULES-3085
>                 URL: https://issues.jboss.org/browse/JBRULES-3085
>             Project: Drools
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: drools-core  (expert)
>    Affects Versions: 5.2.0.CR1
>            Reporter: Wolfgang Laun
>            Assignee: Edson Tirelli
>             Fix For: 5.4.0.Beta3
>
>
> Serializing a compiled package seems a rational thing to do - after all, there is: <resource source="..." type="PKG" /> and it is recognized by the monitor.
> However, you can'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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list