Re: Iginte - Exception - Failed to unmarshal discovery data for component: 1 - on starting server from console and an application in eclipse IDE
Hi, It looks like the application has Geronimo JCache spec [1] on the classpath. It's fully compatible with the original JCache spec on API level, but there are different serial versions on some of serializable classes. Please make sure that the same version is used on everywhere in the cluster. In case you're using Maven, replacing Geronimo dependency with the the following should help: javax.cache cache-api 1.0.0 [1] http://search.maven.org/#artifactdetails%7Corg.apache.geronimo.specs%7Cgeronimo-jcache_1.0_spec%7C1.0-alpha-1%7Cbundle -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Iginte-Exception-Failed-to-unmarshal-discovery-data-for-component-1-on-starting-server-from-console-E-tp8160p8239.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Iginte - Exception - Failed to unmarshal discovery data for component: 1 - on starting server from console and an application in eclipse IDE
As I know JdkMarshaller used for serialization of internal ignite objects, such as continuous query, distributed services etc., not for cache entries. In your case the exception occured during deserialization of object javax.cache.configuration.MutableConfiguration. This class is from cache-api library. Ignite use version 1.0.0 of this library. In this version the class MutableConfiguration has serialVersionUID = 201306200821L. Your sample app in eclipse used some other version of cache-api (MutableConfiguration has serialVersionUID = 201405). This cause of exception. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Iginte-Exception-Failed-to-unmarshal-discovery-data-for-component-1-on-starting-server-from-console-E-tp8160p8238.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Iginte - Exception - Failed to unmarshal discovery data for component: 1 - on starting server from console and an application in eclipse IDE
I will definitely let you know if I can reproduce it, but just for my own understanding, as you saw in the sample, I was just storing strings, so what could have caused the serialization exception? Just want to avoid misusing the API. On Tuesday, October 11, 2016 8:14 AM, Sergej Sidorovwrote: Hi, For internal activities ignite use only work directory. Let me know if the issue is reproduced again. -Sergej -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Iginte-Exception-Failed-to-unmarshal-discovery-data-for-component-1-on-starting-server-from-console-E-tp8160p8215.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Iginte - Exception - Failed to unmarshal discovery data for component: 1 - on starting server from console and an application in eclipse IDE
Hi, For internal activities ignite use only work directory. Let me know if the issue is reproduced again. -Sergej -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Iginte-Exception-Failed-to-unmarshal-discovery-data-for-component-1-on-starting-server-from-console-E-tp8160p8215.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Iginte - Exception - Failed to unmarshal discovery data for component: 1 - on starting server from console and an application in eclipse IDE
Hi M Singh! I can't reproduce this. Could you provide your eclipse project? -Sergej -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Iginte-Exception-Failed-to-unmarshal-discovery-data-for-component-1-on-starting-server-from-console-E-tp8160p8173.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.