uCosminexus Application Server, Maintenance and Migration Guide

[Contents][Glossary][Index][Back][Next]

2.5.13 If a Problem Occurs in the EJB Client

When an EJB client using a global transaction is down, recovery of the global transaction is necessary. The recovery of the global transaction can be executed by restarting the EJB client.

The method for confirming whether the global transaction recovery process is complete is described below:

Moreover, when multiple EJB clients exist, to examine which EJB client is required for the recovery of global transaction:

  1. Confirm the unconcluded transactions by executing the cjlisttrn command by specifying the -pending option.
    Execution format
     
    cjlisttrn server-name -pending -bqual
     
    Execution example
    cjlisttrn MyServer -pending -bqual
  2. From the unconcluded transactions confirmed in procedure 1., confirm whether all the following conditions apply to those transactions:
    • Elapsed time increases every time the cjlisttrn command is published
    • Branch type is Sub or Sub(recovered)
    • TmHash value of the KFCB40051-I message output at the time of starting the stopped EJB client is included in the global transaction ID
    The transactions to which all these conditions apply are required for the recovery of global transactions.