Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 176483

Is Gateway hub configuration supported in Spring Gemfire 1.3.0 + Gemfire 6.5.1 ?

$
0
0

Hi

 

We are trying to deploy a parallel topology gateway with 3 separate clusters (each cluster has 2 servers and 2 locators) across the WAN

 

When we bring up the server it fails with this exception

                                                          

<gfe:gateway-hub id="gateway-hub" manual-start="true">
<gfe:gateway gateway-id="gateway2">
<gfe:gateway-endpoint port="1234" host="host1"
endpoint-id="endpoint1" />
<gfe:gateway-endpoint port="2345" host="host2"
endpoint-id="endpoint2" />
</gfe:gateway>
</gfe:gateway-hub>

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gateway-hub': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: com.gemstone.gemfire.cache.util.GatewayHub.addGateway(Ljava/lang/String;I)Lcom/gemstone/gemfire/cache/util/Gateway;

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]

  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]

  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]

  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]

  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]

  at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]

  at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE]

  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE]

 

Caused by: java.lang.NoSuchMethodError: com.gemstone.gemfire.cache.util.GatewayHub.addGateway(Ljava/lang/String;I)Lcom/gemstone/gemfire/cache/util/Gateway;

  at org.springframework.data.gemfire.wan.GatewayHubFactoryBean.configureGateways(GatewayHubFactoryBean.java:149) ~[spring-data-gemfire-1.3.1.RELEASE.jar:1.3.1.RELEASE]

  at org.springframework.data.gemfire.wan.GatewayHubFactoryBean.doInit(GatewayHubFactoryBean.java:107) ~[spring-data-gemfire-1.3.1.RELEASE.jar:1.3.1.RELEASE]

  at org.springframework.data.gemfire.wan.AbstractWANComponentFactoryBean.afterPropertiesSet(AbstractWANComponentFactoryBean.java:71) ~[spring-data-gemfire-1.3.1.RELEASE.jar:1.3.1.RELEASE]

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]

  ... 11 common frames omitted


Viewing all articles
Browse latest Browse all 176483

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>