EHC ❯ RMICacheManagerPeerListener.calculateHostAddress() is not network interface aware
-
Bug
-
Status: New
-
2 Major
-
Resolution:
-
ehcache-core
-
-
drb
-
Reporter: mcervink
-
April 06, 2016
-
0
-
Watchers: 2
-
April 06, 2016
-
Description
It is not possible to specify network interface when using default configuration:
<cacheManagerPeerListenerFactory class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"/>
So that actual implementation of calculateHostAddress returns loopback adapter IP address.
As a WA it is possible to specify IP/hostname pair in /etc/hosts but it is not DHCP safe solution.