SAS middle-tier applications
use JGroups to perform multicast communication between applications
and to perform caching of application properties. The JGroups software
binds to the IP address of first non-loopback network interface that
it can detect on the machine. Many machines have multiple network
interfaces (multihomed), and each network interface has its own IP
address. In some cases, the Web application server selects the value
of
InetAddress.getLocalHost().getHostName()
as
the bind address to use for multicast communication and SAS Remote
Services selects a different IP address to bind to.
Multicast communication
does not function correctly if the IP address selected by JGroups
for SAS Remote Services does not match the IP address selected by
the Web application server. One indication of a mismatch is an error
message that appears in the Web application server log file. See the
following example:
13:39:35,602 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean
definition with name 'dashboardServices' defined in ServletContext resource
[/WEB-INF/spring-config/services-config.xml]: Could not resolve placeholder 'metadata.user'
ERROR [main] – ****************************************************************
ERROR [main] – Required entry, '/sas/properties/environment', not found in the cache.
ERROR [main] – Possible causes include: the RemoteServices VM is not started or
ERROR [main] – there is a multicast address/port mismatch; using
ERROR [main] – address=239.168.68.1 and port=8561.
ERROR [main] – ****************************************************************
Set the bind address
for SAS Remote Services, the Web application server, and the SAS BI
Report Services Report Generation tool if the previous error message
is seen.