Use eclipselink.cache.coordination.rmi.url
to set the URL of the host server. This is the URL that other cluster member use to connect to this host.
Values
Table 5-18 describes this persistence property's values.
Table 5-18 Valid Values for cache.coordination.rmi.url
Value | Description |
---|---|
URL of the host server Default: |
Usage
Use this property for RMI coordination (when eclipselink.cache.coordination.protocol
= rmi
).
This may not be required in a clustered environment where JNDI is replicated. You can also set the location as a System property or using a SessionCustomizer
to avoid requiring a separate persistence.xml
file per server.
Examples
See Example 5-7 to learn how to use this property in the persistence.xml
file.
See Also
For more information, see:
"Cache Coordination" in Understanding EclipseLink
"Scaling EclipseLink Applications in Clusters" in Solutions Guide for EclispeLink