Sun-microsystems GLASSFISH ENTERPRISE 820433510 Manual de usuario Pagina 146

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 256
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 145
When the transaction spans across servers, the server that started the transaction can contact
the other servers to get the outcome of the transactions. If the other servers are unreachable, the
transaction uses the Heuristic Decision eld to determine the outcome.
In the tree component select the Congurations node.
Select the instance to congure:
To congure a particular instance, select the instance’s cong node. For example, the default
instance, server , select the server-config node.
To congure the default settings for all instances, select the default-config node.
Select the Transaction Service node.
To enable the recovery of incomplete transactions, check the Recover in the On Restart eld.
Set the amount of time, in seconds, the Enterprise Server tries to connect to the unreachable
server in the RetryTimeout eld. The default value is 10 minutes (600 seconds).
Set the policy for unreachable servers in a transaction in the Heuristic Decision eld.
Unless there is a good reason to set this eld to Commit, leave Heuristic Decision set to
Rollback. Committing indeterminate transactions can compromise the data integrity of your
application.
Set any needed properties.
Click the Add Properties button, type values in the Name and Value elds, and check the box to
the left of the Name to activate the property.
Click Save.
Restart the Enterprise Server.
To set a transaction timeout value
By default, the server does not timeout a transaction. That is, the server waits indenitely for a
transaction to complete. If you set a timeout value for transactions, if a transaction isn’t
completed within the congured time, the Enterprise Server rolls back the transaction.
In the tree component, select the Congurations node.
1
2
3
4
5
6
7
8
9
1
Admin ConsoleTasks for Transactions
Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008146
Vista de pagina 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 255 256

Comentarios a estos manuales

Sin comentarios