[ https://issues.apache.org/jira/browse/IGNITE-16428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhishek Chaturvedi updated IGNITE-16428: ----------------------------------------- Summary: Thick client :: Getting failed to start manager and spi. Local node's grid security processor class is not equal to remote node's grid security processor. (was: Getting failed to start manager and spi. Local node's grid security processor class is not equal to remote node's grid security processor.) > Thick client :: Getting failed to start manager and spi. Local node's grid > security processor class is not equal to remote node's grid security > processor. > ---------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: IGNITE-16428 > URL: https://issues.apache.org/jira/browse/IGNITE-16428 > Project: Ignite > Issue Type: Bug > Components: clients > Affects Versions: 2.12 > Reporter: Abhishek Chaturvedi > Priority: Major > > Thick client is not connecting with server node and fails with ignite 2.12.0 > but same was working fine with 2.9.1 V. Server side authentication and > persistance are enabled in ignite-config.xml. > Application side Thick Client's ignite-config.xml configuration is mentioned > below:: > <beans xmlns="http://www.springframework.org/schema/beans" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans.xsd"> > <bean class="org.apache.ignite.configuration.IgniteConfiguration"> > <property name="clientMode" value="true"/> > <property name="workDirectory" value="/tmp" /> > <property name="discoverySpi"> > <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> > <property name="ipFinder"> > <bean > class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder"> > <property name="addresses"> > <list> > <value>127.0.0.1:47500</value> > </list> > </property> > </bean> > </property> > </bean> > </property> > </bean> > </beans> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > Once execute code :: > Ignition.start(igniteConfigResource.getFile().getAbsolutePath()); > Getting below exception:: > Caused by: org.springframework.beans.BeanInstantiationException: Failed to > instantiate [org.apache.ignite.Ignite]: Factory method 'igniteInstance' threw > exception; nested exception is class org.apache.ignite.IgniteException: > Failed to start manager: GridManagerAdapter [enabled=true, > name=org.apache.ignite.internal.managers.discovery.GridDiscoveryManager] > at > org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) > at > org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) > ... 41 more > Caused by: class org.apache.ignite.IgniteException: Failed to start manager: > GridManagerAdapter [enabled=true, > name=org.apache.ignite.internal.managers.discovery.GridDiscoveryManager] > at > org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:1113) > at org.apache.ignite.Ignition.start(Ignition.java:356) > at > com.avis.biverve.config.IgniteConfig.igniteInstance(IgniteConfig.java:22) > at > com.avis.biverve.config.IgniteConfig$$EnhancerBySpringCGLIB$$92287998.CGLIB$igniteInstance$0(<generated>) > at > com.avis.biverve.config.IgniteConfig$$EnhancerBySpringCGLIB$$92287998$$FastClassBySpringCGLIB$$457f046.invoke(<generated>) > at > org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) > at > org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) > at > com.avis.biverve.config.IgniteConfig$$EnhancerBySpringCGLIB$$92287998.igniteInstance(<generated>) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at > org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) > ... 42 more > Caused by: class org.apache.ignite.IgniteCheckedException: Failed to start > manager: GridManagerAdapter [enabled=true, > name=org.apache.ignite.internal.managers.discovery.GridDiscoveryManager] > at > org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1958) > at > org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1300) > at > org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1798) > at > org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1720) > at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1159) > at > org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:1053) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:939) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:838) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:708) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:677) > at org.apache.ignite.Ignition.start(Ignition.java:353) > ... 53 more > Caused by: class org.apache.ignite.IgniteCheckedException: Failed to start > SPI: TcpDiscoverySpi [addrRslvr=null, addressFilter=null, sockTimeout=5000, > ackTimeout=5000, marsh=JdkMarshaller > [clsFilter=org.apache.ignite.marshaller.MarshallerUtils$1@73ad7e90], > reconCnt=10, reconDelay=2000, maxAckTimeout=600000, soLinger=0, > forceSrvMode=false, clientReconnectDisabled=false, internalLsnr=null, > skipAddrsRandomization=false] > at > org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:281) > at > org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.start(GridDiscoveryManager.java:1091) > at > org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1953) > ... 63 more > Caused by: class org.apache.ignite.spi.IgniteSpiException: Local node's grid > security processor class is not equal to remote node's grid security > processor class [locNodeId=81bbd4dc-4f80-474c-8dbf-6fe5e0e59c0a, > rmtNodeId=a37bfba3-1748-4628-980f-9187d9052097, locCls=null, > rmtCls=org.apache.ignite.internal.processors.authentication.IgniteAuthenticationProcessor] > at > org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.checkFailedError(TcpDiscoverySpi.java:2108) > at > org.apache.ignite.spi.discovery.tcp.ClientImpl$MessageWorker.body(ClientImpl.java:1996) > at > org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:125) > at > org.apache.ignite.spi.discovery.tcp.ClientImpl$1.body(ClientImpl.java:317) > at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:58) -- This message was sent by Atlassian Jira (v8.20.1#820001)