Hi,

Can it be that you use JDKs from different vendors for different nodes?

Best Regards,
Igor

On Wed, Nov 9, 2016 at 2:27 PM, smile <honglipi...@qq.com> wrote:

> Hi, all
>      when I start one c++ server node, and then start java server node,
> which successfully joins in the cluster, and finally when I start  one c++
> client node, then I have find that the c++ client can't join the cluster,
> in the java server node throw exception as follow:
>
> *log4j:WARN No appenders could be found for logger
> (org.springframework.core.env.StandardEnvironment).*
> *log4j:WARN Please initialize the log4j system properly.*
> *log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig
> <http://logging.apache.org/log4j/1.2/faq.html#noconfig> for more info.*
> *[19:12:18]    __________  ________________ *
> *[19:12:18]   /  _/ ___/ |/ /  _/_  __/ __/ *
> *[19:12:18]  _/ // (7 7    // /  / / / _/   *
> *[19:12:18] /___/\___/_/|_/___/ /_/ /___/  *
> *[19:12:18] *
> *[19:12:18] ver. 1.7.0#19700101-sha1:DEV*
> *[19:12:18] 2016 Copyright(C) Apache Software Foundation*
> *[19:12:18] *
> *[19:12:18] Ignite documentation: http://ignite.apache.org
> <http://ignite.apache.org>*
> *[19:12:18] *
> *[19:12:18] Quiet mode.*
> *[19:12:18]   ^-- Logging to file
> 'E:\ignite1.7.0\apache-ignite-1.7.0-src\work\log\ignite-ae00a82f.log'*
> *[19:12:18]   ^-- To see **FULL** console log here add
> -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat}*
> *[19:12:18] *
> *[19:12:18] OS: Windows 7 6.1 amd64*
> *[19:12:18] VM information: Java(TM) SE Runtime Environment 1.7.0_79-b15
> Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 24.79-b02*
> *[19:12:18] Initial heap size is 254MB (should be no less than 512MB, use
> -Xms512m -Xmx512m).*
> *[19:12:20] Configured plugins:*
> *[19:12:20]   ^-- None*
> *[19:12:20] *
> *[19:12:21] Security status [authentication=off, tls/ssl=off]*
> *[19:12:28] Performance suggestions for grid  (fix if possible)*
> *[19:12:28] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true*
> *[19:12:28]   ^-- Disable grid events (remove 'includeEventTypes' from
> configuration)*
> *[19:12:28] *
> *[19:12:28] To start Console Management & Monitoring run
> ignitevisorcmd.{sh|bat}*
> *[19:12:28] *
> *[19:12:28] Ignite node started OK (id=ae00a82f)*
> *[19:12:28] Topology snapshot [ver=2, servers=2, clients=0, CPUs=8,
> heap=4.4GB]*
> *[19:12:35,578][ERROR][tcp-disco-sock-reader-#5%null%][TcpDiscoverySpi]
> Failed to read message [sock=Socket[addr=/127.0.0.1
> <http://127.0.0.1>,port=9120,localport=47501],
> locNodeId=ae00a82f-6e0d-4316-98a3-a1db78ba80bd,
> rmtNodeId=e7d0ba75-e47c-4dc0-8d2a-ed6c128c2e7d]*
> *class org.apache.ignite.IgniteCheckedException: Failed to deserialize
> object with given class loader: sun.misc.Launcher$AppClassLoader@6fd7bd04*
> * at
> org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal(JdkMarshaller.java:105)*
> * at
> org.apache.ignite.spi.discovery.tcp.ServerImpl$SocketReader.body(ServerImpl.java:5457)*
> * at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62)*
> *Caused by: java.io.InvalidClassException:
> org.apache.ignite.internal.util.lang.GridFunc$49$1; local class
> incompatible: stream classdesc serialVersionUID = 1953108849692953835,
> local class serialVersionUID = -4878603819884545190*
> * at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:617)*
> * at
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1622)*
> * at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)*
> * at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)*
> * at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)*
> * at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)*
> * at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)*
> * at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)*
> * at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)*
> * at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)*
> * at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)*
> * at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)*
> * at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)*
> * at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)*
> * at
> org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal(JdkMarshaller.java:102)*
> * ... 2 more*
> *[19:12:58] Topology snapshot [ver=3, servers=1, clients=0, CPUs=8,
> heap=3.5GB]*
> *[19:12:58] Ignite node stopped OK [uptime=00:00:30:097]*
>
>     but if I start C++ server nodes, then start one C++ client nodeļ¼Œ the
> client can join the cluster and can access data successfully;
>
>     How can I solve it ?
>
>     Thank you very much!
>

Reply via email to