karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Roedl (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (KARAF-2480) cellar-event throws a HazelcastSerializationException caused by a ClassNotFoundException when an event has an instance of a class stored in the event properties
Date Mon, 23 Sep 2013 13:26:07 GMT

    [ https://issues.apache.org/jira/browse/KARAF-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13774534#comment-13774534
] 

Lukas Roedl edited comment on KARAF-2480 at 9/23/13 1:26 PM:
-------------------------------------------------------------

I managed to solve the problem:
The "DynamicImport-Package" is set "javax.*,org.w3c.*,org.xml.*" and so the additional classes
which should be serialized can't be found.
If a "*" is added then the problem is solved.

See the attached patch...
                
      was (Author: roedll):
    I managed to solve the problem:
The "DynamicImport-Package" is set "javax.*,org.w3c.*,org.xml.*" and so the additional classes
which should be serialized can't be found.
If a "*" is added then the problem is solved.

See the atteched patch...
                  
> cellar-event throws a HazelcastSerializationException caused by a ClassNotFoundException
when an event has an instance of a class stored in the event properties
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-2480
>                 URL: https://issues.apache.org/jira/browse/KARAF-2480
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-core, cellar-dosgi
>    Affects Versions: cellar-2.3.2
>            Reporter: Lukas Roedl
>         Attachments: KARAF-2480-20130923.patch
>
>
> When an event contains an instance of a POJO in its event properties and is sent via
cellar-event and Hazelcast a HazelcastSerializationException is thrown.
> In the stacktrace a ClassNotFoudException is posted as cause of the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message