Friday, May 19, 2017

Cluster down when leasing DB is restarted

if you get often a message
<BEA-310006> <Critical subsystem JTAMigratableGroup has failed. Setting server state to FAILED. Reason: JTA migratable target lost a lease>
you might consider tuning these 2 parameters in confix.xml:
database-leasing-basis-connection-retry-count
"The maximum number of times Database Leasing will try to obtain a valid connection from the Data Source. (Interface=weblogic.management.configuration.ClusterMBean Attribute=getDatabaseLeasingBasisConnectionRetryCount)"

Default 1

database-leasing-basis-connection-retry-delay
The length of time, in milliseconds,Database Leasing will wait before attempting to obtain a new connection from the Data Source when a connection has failed. (Interface=weblogic.management.configuration.ClusterMBean Attribute=getDatabaseLeasingBasisConnectionRetryDelay)

Default 1000 (millis)



No comments: