Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.4
  Go To Table Of Contents
 Search
 PDFComments
Comments


cache.coordination.remove-connection-on-error

Use eclipselink.cache.coordination.remove-connection-on-error to specify if the connection should be removed if EclipseLink 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. EclipseLink 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: