Hi Amir,

Regarding your questions:
1) Clients are not able to communicatie with the nodes in the grid, none of
the ignite messages can be deserialized by the client.
2) The project is to big to share for reproduction, but I try to provide the
relevant parts.
Server(s):

    @Bean
    @Scope(BeanDefinition.SCOPE_SINGLETON)
    @DependsOn(value = "playerScoreDS")
    public Ignite getIgnite() throws IgniteCheckedException {
        Map<String,Object> attr = new HashMap<>();
        attr.put(ClusterUtils.GROEP,groepen);
        FlipperkastClusterConfiguratie conf = new
FlipperkastClusterConfiguratie();
        conf.setUserAttributes(attr);
        conf.setAddresses(servers);
        conf.setLifecycleBeans(
                new NodeCacheEventListener()
                ,new PlungerActivator()
                ,new GootActivator()
                ,new WaxPhantomActivator()
                ,new PescadoDiabolicoActivator()
                ,new BackboxActivator()
                ,new BackboxAccessActivator()
        );
        return IgniteSpring.start(conf,context);
    }

Client:

    @Bean
    public IgniteConfiguration getIgniteConfiguratie() {
        FlipperkastClusterConfiguratie conf = new
FlipperkastClusterConfiguratie(); // (has peerClassloading disabled and the
log4j2 logger and Ignite Home set to the folder where the application is
started)
        conf.setIgniteInstanceName(naam);
        conf.setClientMode(true);
        Map<String,List&lt;String>> attr = new HashMap<>();
        attr.put(ClusterUtils.GROEP,groepen);
        conf.setUserAttributes(attr);
        conf.setAddresses(servers);
        return conf;
    }
    
    @Bean
    public Ignite getIgnite() throws IgniteCheckedException {
        if (client == null) {
            synchronized (this) {
                if (client == null) {
                    FlipperkastClusterConfiguratie conf = new
FlipperkastClusterConfiguratie();
                    conf.setIgniteInstanceName(naam);
                    conf.setClientMode(true);
                    Map<String, List&lt;String>> attr = new HashMap<>();
                    attr.put(ClusterUtils.GROEP, groepen);
                    conf.setUserAttributes(attr);
                    conf.setAddresses(servers);
                    client = IgniteSpring.start(conf, context);
                }
            }
        }
        return client;
    }

3) The project is to big to share for reproduction.
It requires various frameworks.





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to