Hitachi

uCosminexus Application Server Maintenance and Migration Guide


8.8.1 In the case of a Session Bean or Entity Bean

This subsection describes the trace collection points of a Session Bean or Entity Bean, and the trace information that can be collected.

Organization of this subsection

(1) Trace collection points and PRF trace collection levels

The following table describes the event IDs, trace collection points, and PRF trace collection levels.

Table 8‒22: Details of trace collection points in a Session Bean or Entity Bean

Event ID

No. in the figure#

Trace acquisition points

Level

0x8401

1

In the case of a remote home interface

Immediately after the EJB container receives a request

A

0x8402

4

Immediately before the EJB container sends a response

A

0x8403

1

In the case of a local home interface

Immediately after the EJB container receives a request

A

0x8404

4

Immediately before the EJB container sends a response

A

0x8405

1

In the case of a remote component interface

Immediately after the EJB container receives a request

A

0x8406

4

Immediately before the EJB container sends a response

A

0x8407

1

In the case of a local component interface

Immediately after the EJB container receives a request

A

0x8408

4

Immediately before the EJB container sends a response

A

0x8409

2

Immediately before the EJB container calls back the business method of the EJB

B

0x840A

3

Immediately after returning from the callback of the EJB business method

B

0x8453

2

Immediately before the EJB container calls back the home method of the EJB

B

0x8454

3

Immediately after returning from the callback of the EJB home method

B

0x8470

1

In the case of a remote business interface

Immediately after the EJB container receives a request

A

0x8471

4

Immediately before the EJB container sends a response

A

0x8472

1

In the case of a local business interface

Immediately after the EJB container receives a request

A

0x8473

4

Immediately before the EJB container sends a response

A

0x8474

1

In the case of a remote business interface

Immediately after the EJB container receives a request for creating an instance of the Stateful Session Bean via remote business interface

A

0x8475

1

Immediately before the EJB container sends a response for the request to create an instance of the Stateful Session Bean via remote business interface

A

0x8476

1

In the case of a local business interface

Immediately after the EJB container receives a request for creating an instance of the Stateful Session Bean via local business interface

A

0x8477

1

Immediately before the EJB container sends a response for the request to create an instance of the Stateful Session Bean via local business interface

A

Legend:

A: Standard

B: Advanced

#

Corresponds to the numbers in Figure 8-17.

The following figure shows the trace collection points in a Session Bean or Entity Bean.

Figure 8‒17: Trace collection points of a Session Bean or Entity Bean

[Figure]

(2) Trace information that can be collected

The following table describes the trace information that can be collected in a Session Bean or Entity Bean.

Table 8‒23: Trace information that can be collected in a Session Bean or Entity Bean

No. in the figure#

Event ID

Level

Information that you can acquire

Interface name

Operation name

Optional

1

0x8401

A

Bean name

Method name, number of arguments

--

0x8403

A

Bean name

Method name, number of arguments

--

0x8405

A

Bean name

Method name, number of arguments

--

0x8407

A

Bean name

Method name, number of arguments

--

0x8470

A

Bean name

Method name, number of arguments

--

0x8472

A

Bean name

Method name, number of arguments

--

0x8474

A

Bean name

--

--

0x8475

A

Bean name

--

  • When normal:

    Entrance-time

  • For an exception:

    Entrance-time exception-name

0x8476

A

Bean name

--

--

0x8477

A

Bean name

--

  • When normal:

    Entrance-time

  • For an exception:

    Entrance-time exception-name

2

0x8409

B

Bean name

Method name, number of arguments

--

0x8453

B

Bean name

Method name, number of arguments

--

3

0x840A

B

Bean name

Method name, number of arguments

  • When normal:

    Entrance-time

  • For an exception:

    Entrance-time exception-name

0x8454

B

Bean name

Method name, number of arguments

4

0x8402

A

Bean name

Method name, number of arguments

0x8404

A

Bean name

Method name, number of arguments

0x8406

A

Bean name

Method name, number of arguments

0x8408

A

Bean name

Method name, number of arguments

0x8471

A

Bean name

Method name, number of arguments

0x8473

A

Bean name

Method name, number of arguments

Legend:

A: Standard

B: Advanced

--: Not applicable

#

Corresponds to the numbers in Figure 8-17.