执手泪眼

不要只是看起来很努力

ehcache 启动报错Error starting heartbeat

 [ERROR] [distribution.MulticastRMICacheManagerPeerProvider:init:98] :: Error starting heartbeat. Error was: error setting options 
java.net.SocketException: error setting options 
at java.net.PlainDatagramSocketImpl.join(Native Method) 
at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:172) 
at java.net.MulticastSocket.joinGroup(MulticastSocket.java:277) 
at net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver.init(MulticastKeepaliveHeartbeatReceiver.java:88) 
at net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.init(MulticastRMICacheManagerPeerProvider.java:95) 
at net.sf.ehcache.CacheManager.init(CacheManager.java:327) 

at net.sf.ehcache.CacheManager.<init>(CacheManager.java:253) 


解决方式:

<cacheManagerPeerProviderFactory 

class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory" 
properties="peerDiscovery=automatic, 
hostName=localhost
multicastGroupAddress=230.0.0.1, 
multicastGroupPort=4446, timeToLive=1"/> 
阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/shulai123/article/details/79951000
文章标签: ehcache
个人分类: 个人问题总结
上一篇tomcat 启动 Error listenerStart
下一篇解决nginx反响代理web service的soap:address location问题
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭