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.
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: |
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.
See Example 5-7 to learn how to use this property in the persistence.xml file.
For more information, see:
"Cache Coordination" in Understanding Oracle TopLink
"Scaling TopLink Applications in Clusters" in Solutions Guide for Oracle TopLink