uCosminexus Application Server, Operation, Monitoring, and Linkage Guide

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

5.5.2 Lock process

In the lock process, from among the elements configuring the J2EE applications to be locked, lock the front part that receives requests, thus stopping the receipt of new requests.

Note that the request being processed is processed uninterruptedly.

Organization of this subsection
(1) Lock sequence and process contents
(2) Configuration pattern and locking methods of J2EE applications
(3) Precautions when executing the lock process

(1) Lock sequence and process contents

Lock procedure:

  1. Lock process of the Web application
  2. Lock process of the CTM schedule queue#
  3. Lock process of the front-end EJB
    #
    If the system is not integrated with CTM, the lock process of the CTM schedule queue does not exists.

The following sections explain the processing in each lock process:

(a) Lock process of the Web application

The following processes are executed:

(b) Lock process of the CTM schedule queue

The following processes are executed:

(c) Lock process of the front-end EJB

The following processes are executed:

(2) Configuration pattern and locking methods of J2EE applications

The following figure shows the form of J2EE application for the locking method of each configuration pattern of the J2EE application and describes each locking method:

Figure 5-13 Configuration pattern of a J2EE application

[Figure]

For details on specifying the front-end EJB, see 5.5.6 Settings for execution environment.

(3) Precautions when executing the lock process

It is necessary to take care of the following points when executing the lock process:

(a) Precautions when using CTM

You must take the following precautions for executing the lock process, when CTM is used:

(b) Precautions when invoking Web applications across J2EE applications

In a Web application, you can use getContext of javax.servlet.ServletContext and access a Web application on the same Web container. When the Web application to be accessed is deployed on another J2EE application, first stop the J2EE application that includes the calling front-end Web application.