Open maoqingcode opened 3 years ago
本地环境 只更改端口 发现不生效
ehcache-1.xml
<cacheManagerPeerProviderFactory class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory" properties="hostName=localhost, port=40001, socketTimeoutMillis=2000, peerDiscovery=manual, rmiUrls=//localhost:40002/users" />
ehcache-2.xml
<cacheManagerPeerProviderFactory class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory" properties="hostName=localhost, port=40002, socketTimeoutMillis=2000, peerDiscovery=manual, rmiUrls=//localhost:40001/users" />
本地环境 只更改端口 发现不生效
ehcache-1.xml
ehcache-2.xml