Hitachi

uCosminexus Application Server Operation, Monitoring, and Linkage Guide


8.4 Items that can be checked by statistics monitoring

Statistics monitoring allows you to monitor the operational statuses of the J2EE server and batch server.

The following table describes the items that can be monitored as the statistics:

Table 8‒2: Items that can be displayed by monitoring the statistics (for J2EE servers)

Monitoring target

Items that can be monitored

J2EE server

J2EE container

  • J2EE server name

  • Naming Service host

  • Naming Service port number

  • Container start time

EJB container

  • Container name

Web container

Basic information

  • Container name

  • Web container start time

  • Port number of a management server

  • Port number used for communication with a Web server

  • Upper limit set for the socket backlog for communication with a Web server

  • Upper limit set for number of running threads (processing requests)

  • Maximum number of concurrently executing threads

  • Default pending queue size

Statistics

  • Number of connections between a Web server and Web container

  • Number of running threads (HTTP server connector)

  • Number of requests pending for Web containers

  • Upper limit of the number of concurrently executing threads

  • Number of running threads

  • Number of default pending requests

  • Number of requests exceeding the default pending queue

  • Number of running threads (HTTP server)

JavaVM

Basic information

  • JavaVM name

  • JavaVM version

  • Maximum memory used by JavaVM

Statistics

  • Free memory of JavaVM

  • Total memory space of JavaVM

Applications

J2EE application

  • Application name (display name)

  • Description

  • Time of deployment

EJB application

  • EJB-JAR name

  • Description

Enterprise Bean (Stateful Session Bean)

Basic information

  • Enterprise Bean name

  • Description

  • Bean name (for internal identification)

  • Home interface name

  • Local Home interface name

  • Component interface name

  • Local Component interface name

  • EJB class name

  • Transaction type

  • Value of maximum concurrent connections

  • Value of maximum concurrent executions

  • Passive session timeout

  • Timeout for running sessions

Statistics

  • Number of sessions connected currently

  • Number of running sessions

  • Number of passive sessions

  • Number of sessions waiting for connection

Home interface

  • Home interface name

  • Response

  • EJB method execution time

Local Home interface

  • Home interface name

  • Response

  • EJB method execution time

Component interface

  • Component interface name

  • Response

  • EJB method execution time

Local Component interface

  • Component interface name

  • Response

  • EJB method execution time

Enterprise Bean (Stateless Session Bean)

Basic information

  • Enterprise Bean name

  • Description

  • Bean name (for internal identification)

  • Home interface name

  • Local Home interface name

  • Component interface name

  • Local Component interface name

  • EJB class name

  • Transaction type

  • Bean instance pool

Statistics

  • Number of sessions waiting for connection

  • Current value of the Bean instance pool

  • Number of Session Beans in use

  • Number of unused Session Beans

Home interface

Same as Stateful Session Beans

Local Home interface

Same as Stateful Session Beans

Component interface

Same as Stateful Session Beans

Local Component interface

Same as Stateful Session Beans

Enterprise Bean (Entity Bean)

Basic information

  • Enterprise Bean name

  • Description

  • Bean name (for internal identification)

  • Home interface name

  • Local Home interface name

  • Component interface name

  • Local Component interface name

  • EJB class name

  • EntityBean persistent type

  • EntityBean cache model

  • Value of maximum concurrent connections

  • Bean instance pool

  • Connection timeout

Statistics

  • Number of sessions connected currently

  • Number of sessions waiting for connection

  • Current value of the Bean instance pool

  • Number of Entity Beans in use

  • Number of unused Entity Beans

Home interface

Same as Stateful Session Beans

Local Home interface

Same as Stateful Session Beans

Component interface

Same as Stateful Session Beans

Local Component interface

Same as Stateful Session Beans

Enterprise Bean (Message-driven Bean)

Basic information

  • Enterprise Bean name

  • Description

  • Bean name (for internal identification)

  • EJB class name

  • Transaction type

  • Destination type#1

  • Bean instance pool

Statistics

  • Number of sessions connected currently

  • Current value of the Bean instance pool

  • EJB method execution time

Web Application

Basic information

  • Context root

  • Number of dedicated threads

  • Maximum number of concurrently executing threads

  • Size of the pending queue for Web applications

Statistics

  • Number of valid sessions

  • Upper limit of the number of concurrently executing threads

  • Number of running threads

  • Number of requests pending for Web applications

  • Number of requests exceeding the pending queue for Web applications

Servlet

  • Servlet name

  • Implementation class name of the servlet

  • Servlet execution frequency

  • Servlet failure frequency

  • Servlet execution time

  • Output data size

URL

  • URL

  • URL invocation frequency

  • URL invocation failure frequency

  • URL execution time

  • Output data size

Resources

Data source (SimpleJTA)

Basic information

  • Resource name

  • Resource type

  • Description

  • Authentication type

  • Login timeout

  • User ID

  • Connection pool

Statistics

  • Resource name

  • Current Pool value (total)

  • Used connections

  • Unused connections

Data source (FullJTA)

Basic information

  • Resource name

  • Resource type

  • Description

  • Login timeout

  • User ID

  • Connection pool

Statistics

  • Resource name

  • Current value of a pool

  • Used connections

  • Unused connections

  • Execution time of the getConnection() method

  • Execution time of the getXAConnection() method

  • Frequency of failure frequency of the getConnection() method

  • Frequency of FATAL errors occurring in the Connection

Resource adapter

Basic information

  • Resource name

  • Resource type

  • Description

  • Name of the vendor providing the resource adapter

  • Version of JCA specifications to which the resource adapter conforms

  • Resource adapter version

  • Type of EIS to be connected

  • Interface name of the ConnectionFactory

  • Implementation class name of the ConnectionFactory

  • Implementation class name of the ManagedConnectionFactory

  • Interface name of the Connection

  • Implementation class of the Connection

  • Transaction support model

  • Information of set properties

  • User ID

  • Connection pool#2

Statistics

  • Resource name

  • Current value of a pool (total)#2

  • Number of connections in use#2

  • Number of unused connections#2

  • Execution frequency of the createManagedConnection() method of ManagedConnectionFactory #2

  • Execution frequency of the getConnection() method of ManagedConnection#2

  • Execution frequency of the cleanup() method of ManagedConnection#2

  • Execution frequency of the destroy() method of ManagedConnection#2

  • Execution time of the allocateConnection() method of ConnectionManager#2

  • Execution time of the createManagedConnection() method of ManagedConnectionFactory#2

  • Frequency of failure of the allocateConnection() method of ConnectionManager#2

  • Frequency of FATAL errors occurring in ManagedConnection#2

Service

Transaction

Basic information

  • Service name

  • Service type

  • Default value of transaction timeout

Statistics

  • Number of active transactions

  • Average transaction time

Note:

The displayed items differ depending on the used functions (whether the function that controls the maximum number of concurrently executing threads is used), option settings, and used resources.

#1

If a resource adapter compliant with the Connector 1.5 specifications is used, Other is output.

#2

If Cosminexus RM is used, these items are output as the statistics of Cosminexus RM. You cannot confirm these items by monitoring the statistics of a Management Server.

Table 8‒3: Items that can be displayed using statistics monitoring (in batch servers)

Monitoring target

Items that can be monitored

Batch server

J2EE container

  • Batch server name

  • Naming Service host

  • Naming Service port number

  • Container start time

JavaVM

Basic information

  • JavaVM name

  • JavaVM version

  • Maximum memory used by JavaVM

Statistics

  • Free memory of JavaVM

  • Total memory space of JavaVM

Resources

Data source (SimpleJTA)

Basic information

  • Resource name

  • Resource type

  • Description

  • Authentication type

  • Login timeout

  • User ID

  • Connection pool

Statistics

  • Resource name

  • Current Pool value (total)

  • Used connections

  • Unused connections

Data source (FullJTA)

Basic information

  • Resource name

  • Resource type

  • Description

  • Login timeout

  • User ID

  • Connection pool

Statistics

  • Resource name

  • Current value of a pool

  • Used connections

  • Unused connections

  • Execution time of the getConnection() method

  • Execution time of the getXAConnection() method

  • Frequency of failure frequency of the getConnection() method

  • Frequency of FATAL errors occurring in the Connection

Resource adapter

Basic information

  • Resource name

  • Resource type

  • Description

  • Name of the vendor providing the resource adapter

  • Version of JCA specifications to which the resource adapter conforms

  • Resource adapter version

  • Type of EIS to be connected

  • Interface name of the ConnectionFactory

  • Implementation class name of the ConnectionFactory

  • Implementation class name of the ManagedConnectionFactory

  • Interface name of the Connection

  • Implementation class of the Connection

  • Transaction support model

  • Information of set properties

  • User ID

  • Connection pool#

Statistics

  • Resource name

  • Current pool value (total)#

  • Number of connections in use#

  • Number of unused connections#

  • Execution frequency of the createManagedConnection() method of ManagedConnectionFactory#

  • Execution frequency of the getConnection() method of ManagedConnection#

  • Execution frequency of the cleanup() method of ManagedConnection#

  • Execution frequency of the destroy() method of ManagedConnection#

  • Execution time of the allocateConnection() method of ConnectionManager#

  • Execution time of the createManagedConnection() method of ManagedConnectionFactory#

  • Frequency of failure of the allocateConnection() method of ConnectionManager#

  • Frequency of FATAL errors occurring in ManagedConnection#

Service

Transaction

Basic information

  • Service name

  • Service type

  • Default value of transaction timeout

Statistics

  • Number of active transactions

  • Average transaction time

Note:

The displayed items differ depending on the used functions (whether the function that controls the maximum number of concurrently executing threads is used), option settings, and used resources.

#

If Cosminexus RM is used, these items are output as the statistics of Cosminexus RM. You cannot confirm these items by monitoring the statistics of a Management Server.

Tip

Setting the sampling time of statistical information

Specify sampling time of the statistical information, if the statistics are to be displayed.

When you specify a sampling time, data within the time specified in the sampling time (this is called N seconds) can be displayed as statistical information, by tracing back the time when the window is displayed or updated. This statistical information is N seconds peak and Average value in N seconds. The maximum and minimum values are extracted from the data after the sampling starts.

You can specify a sampling time using the subcommand set of the operation management command (mngsvrutil). For details on the commands, see 7.3 Details of subcommands of the mngsvrutil command in the uCosminexus Application Server Command Reference Guide.