Hitachi

uCosminexus Application Server Application Setup Guide


1.4.2 Restrictions based on the J2EE application status

Depending on the status of the J2EE applications, some J2EE application operations can be performed and some operations cannot be performed.

The following table describes the status of J2EE applications:

Table 1‒8: Status of J2EE applications

No.

Status#

Description

1

Started

The J2EE application has started.

2

Locking

The lock process is in process.

3

Locked

The lock process terminated normally.

4

Normal termination

Normal termination is in process.

5

Forced termination

Forced termination is taking place due to the forced termination operation.

6

Terminated

The J2EE application ended.

7

Lock failure

The lock process ended abnormally.

8

Normal termination failure

The normal termination process ended abnormally.

9

Forced termination failure

The forced termination process ended abnormally.

#

For more details on how to reference the J2EE application status, see 10.3 Referencing the list of J2EE applications.

The following table describes whether the operations can be performed for each of the above-mentioned status of J2EE applications:

Table 1‒9: Status of the J2EE applications and the operations that can be performed

Operations (Commands)

Status of the J2EE applications

1

2

3

4

5

6

7

8

9

Import the file

Import the WAR files, the EJB-JAR files, and the RAR files (cjimportres)

Y

Y

Y

Y

Y

Y

Y

Y

Y

Import the library JAR files (cjimportlibjar)

--

--

--

--

--

Y

--

--

--

Create the J2EE application (cjaddapp)

--

--

--

--

--

Y

--

--

--

Set and customize the J2EE applications

Acquire the attribute files

(cjgetappprop)#1

Y

--

--

--

--

Y

--

--

--

Set up the attributes (cjsetappprop)#1

--

--

--

--

--

Y

--

--

--

Start and stop the J2EE applications

Start the J2EE applications (cjstartapp)

--

--

--

--

--

Y

--

--

--

Normal termination of the J2EE applications (cjstopapp)

Y

--

--

--

--

--

--

--

--

Manual forced termination of the J2EE applications (cjstopapp)

--

--

Y

Y

--

--

--

--

--

Automatic forced termination of the J2EE applications (cjstopapp)

Y

--

--

--

--

--

--

--

--

Export the J2EE applications (cjexportapp)

Y

--

--

--

--

Y

--

--

--

Display the list of J2EE applications

Display the status of J2EE applications (cjlistapp)

Y

Y

Y

Y

Y

Y

Y

Y

Y

Display the list of library JAR (cjlistlibjar)

Y

Y

Y

Y

Y

Y

Y

Y

Y

Display the list of transaction information being operated (cjlisttrn)

Y

Y

Y

Y

Y

Y

Y

Y

Y

Display the list of transaction information being terminated (cjlisttrnfile)

Y

Y

Y

Y

Y

Y

Y

Y

Y

Delete the J2EE applications

Delete the J2EE applications and the configuration components (cjdeleteapp)

--

--

--

--

--

Y

--

--

--

Delete the library JAR (cjdeletelibjar)

--

--

--

--

--

Y

--

--

--

Other operations

Replace the J2EE applications in the exploded archive format (cjreloadapp)

Y

--

--

--

--

Y

--

--

--

Replace the J2EE applications in the archive format (cjreplaceapp)

Y

--

--

--

--

Y

--

--

--

Change the name of the J2EE applications (cjrenameapp)

--

--

--

--

--

Y

--

--

--

Display the status of connection pool of the resource adapter (cjlistpool)

Y

--

--

--

--

--

--

--

--

Generate the SQL statements (cjgencmpsql)

--

--

--

--

--

Y

--

--

--

Register the user in the role (cjmapsec)

Y

Y

Y

Y

Y

Y

Y

Y

Y

Add the user or role (cjaddsec)

Y

Y

Y

Y

Y

Y

Y

Y

Y

Delete the user or role (cjdeletesec)

Y

Y

Y

Y

Y

Y

Y

Y

Y

Display the list of users or roles (cjlistsec)

Y

Y

Y

Y

Y

Y

Y

Y

Y

Acquire the RMI-IIOP stubs and interfaces (cjgetstubsjar)

Y

Y

Y

Y

Y

Y#2

Y

Y

Y

Legend:

Numbers: The status of the J2EE applications corresponding to the serial numbers in Table 1-8

Y: Can be executed

--: Cannot be executed

#1

When customizing the J2EE application and changing the properties of each component, you can get the attribute file even if the J2EE application has started. In order to apply the values of the edited attribute file in the changed contents, stop the J2EE application.

#2

If the J2EE application is not yet started, the operation cannot be performed.