cache.coordination.remove-connection-on-error

Use eclipselink.cache.coordination.remove-connection-on-error to specify if the connection should be removed if TopLink encounters a communication error when coordinating the cache.

Values

Table 5-13 describes this persistence property's values.

Table 5-13 Valid Values for cache.coordination.remove-connection-on-error

Value Description

true

Remove the connection if a communication error occurs. TopLink will reconnect when the server becomes available.

false

 

Usage

Normally, this is used for RMI connections in the event that a server goes down.

Examples

Example 5-8 shows how to use this property in the persistence.xml file.

Example 5-8 Using cache.coordination.remove-connection-on-error in peristence.xml

<property name="eclipselink.cache.coordination.remove-connection-on-error" value="true"/>

See Also

For more information, see:

  • "cache.coordination.protocol"

  • "Cache Coordination" in Understanding Oracle TopLink

  • "Scaling TopLink Applications in Clusters" in Solutions Guide for Oracle TopLink