50,528
社区成员
发帖
与我相关
我的任务
分享
2014-7-8 11:52:42 net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerPro
vider init
严重: Failed to connect to JGroups cluster 'testDemo', replication will not functio
n. JGroups properties:
UDP(mcast_addr=231.12.21.132;mcast_port=45566;):PING:MERGE2:FD_SOCK:VERIFY_SUSPE
CT:pbcast.NAKACK:UNICAST:pbcast.STABLE:FRAG:pbcast.GMS
java.lang.NullPointerException
at java.net.NetworkInterface.getInterfaceAddresses(NetworkInterface.java
:133)
at org.jgroups.stack.DiagnosticsHandler.bindToInterfaces(DiagnosticsHand
ler.java:213)
at org.jgroups.stack.DiagnosticsHandler.start(DiagnosticsHandler.java:87
)
at org.jgroups.protocols.TP.start(TP.java:1215)
at org.jgroups.protocols.UDP.start(UDP.java:232)
at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:952)
at org.jgroups.JChannel.startStack(JChannel.java:864)
at org.jgroups.JChannel._preConnect(JChannel.java:527)
at org.jgroups.JChannel.connect(JChannel.java:284)
at org.jgroups.JChannel.connect(JChannel.java:275)
at net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProvider.i
nit(JGroupsCacheManagerPeerProvider.java:154)
at net.sf.ehcache.CacheManager.doInit(CacheManager.java:472)
at net.sf.ehcache.CacheManager.init(CacheManager.java:388)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:264)
at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:1079)
at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:975)
<diskStore path="./temp" />
<cacheManagerPeerProviderFactory
class="net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProviderFactory"
properties="connect=UDP(mcast_addr=231.12.21.132;mcast_port=45566;):PING:MERGE2:FD_SOCK:VERIFY_SUSPECT:pbcast.NAKACK:UNICAST:pbcast.STABLE:FRAG:pbcast.GMS"
propertySeparator="::"
/>
<defaultCache
maxElementsInMemory="300000"
maxElementsOnDisk="0"
overflowToDisk="true"
eternal="true"
timeToIdleSeconds="259200000"
timeToLiveSeconds="259200000"
diskPersistent="true"
memoryStoreEvictionPolicy="LRU">
<cacheEventListenerFactory
class="net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicatorFactory"
properties="replicateAsynchronously=true, replicatePuts=true,replicateUpdates=true, replicateUpdatesViaCopy=true,replicateRemovals=true" />
<bootstrapCacheLoaderFactory class="net.sf.ehcache.distribution.jgroups.JGroupsBootstrapCacheLoaderFactory"/>
</defaultCache>