You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "cxw (JIRA)" <ji...@apache.org> on 2015/08/03 18:50:04 UTC

[jira] [Commented] (IGNITE-1190) org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same versions of all classes are available on all nodes or enable peer-class-loading)

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

cxw commented on IGNITE-1190:
-----------------------------

I have 3 nodes with the below same configuration

--------------------------------
<property name="peerClassLoadingEnabled" value="true"/>

        <property name="marshaller">
            <bean class="org.apache.ignite.marshaller.optimized.OptimizedMarshaller">

                <property name="requireSerializable" value="false"/>
            </bean>
        </property>
-------------------------------------

my client node has the same configuration and with below additional configuration


<property name="clientMode" value="true"/>


and I am using below code to write some data to the cache

-----------------------------
 CacheConfiguration<Long, Person> cfg = new CacheConfiguration<Long, Person>("PERSON");
        cfg.setIndexedTypes(Long.class, Person.class);


        final IgniteCache<Long, Person> cache = ignite.getOrCreateCache(cfg);
--------------------------

then I got above exception

> org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same versions of all classes are available on all nodes or enable peer-class-loading)
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-1190
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1190
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: cxw
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)