WebLogic Monitor (Deprecated)

Important

This feature is deprecated. The WebLogic monitor is no longer available since ReadyAPI 3.3.1.

You use WebLogic monitors to check metrics of your WebLogic servers.

Requirements

  • You must copy the wlclient.jar library to the <ReadyAPI installation directory>\bin\ext folder. You can find it in the <WebLogic installation>\Oracle\Middleware\wlserver_10.x\server\lib folder.

  • The user account used to connect to the server should be a member of the Monitor or Admin group.

  • IIOP (Internet Inter-ORB Protocol) must be enabled on the server.

For detailed information, see Preparing Servers for Monitoring.

Monitor Settings

To create a monitor for your WebLogic server, set the following values:

  • Port – The port used to communicate with the server.

  • User name – The user account ReadyAPI uses to connect to the server.

  • Password – The password used to connect to the server.

Frequently Used Metrics

The WebLogic monitor provides information about the load created by users on the application server. ReadyAPI displays the following statistics in charts by default:

  • VM Memory – Heap Memory Used – The current amount of memory used by the virtual machine. The large amount of used memory indicates heavy load or memory leaks.

  • VM Threading – Thread Count – The number of threads created on the virtual machine. Monitor this metric to get information about the number of created threads.

  • JVM – HeapFreeCurrent – The current amount of memory available to the JVM heap. The free memory space is affected by the amount of garbage the Java machine has and the amount of memory it uses to handle requests. If this value is low, you may need to allocate additional memory to the WebLogic server.

Here are some other frequently used metrics:

  • Thread – QueueLength – Monitors the number of queued requests on the server. If the queue appears on the web server, it means that the server does not handle the load. In most cases, you want no queue on your soak or peak tests. During a spike test, a lengthy queue is acceptable as long as it is eventually handled by the server.

  • JRockit – TotalGarbageCollectionTime – The garbage collector process has the highest priority in the system. If your machine spends a lot of time collecting garbage, it has fewer resources to work with incoming requests. Try to keep this value as low as possible.

  • JRockit – AllProcessorsAverageLoad – The average load on the processors generated by the server. Monitor this metric and compare it with the metrics of Unix or Windows monitors if your server has a 100% CPU load. If the returned value takes a large percentage of total, the WebLogic server is causing issues. If not, search for another reason for the heavy CPU load.

Other Metrics

ReadyAPI can access runtime MBeans of the WebLogic server. The provided counters may vary depending on the server version. You can find a full list of MBeans in the Servers: Monitoring section of the WebLogic server documentation. Below is a typical example of the metrics that you get in ReadyAPI.

Note

You can click the category to see the description of metrics in MSDN.

Category

Description

Metrics

Server

Allows monitoring open sockets for every server.

Sockets Opened Total Count

Open Sockets Current Count

Session

Allows monitoring session counters for every EAR and WAR deployed on a server.

Open Sessions Current Count

Open Sessions High Count

Sessions Opened Total Count

JDBC Connection Pool

Allows monitoring JDBC connection pool counters.

The counters are available at connection pool level.

Active Connections Current Count

Waiting For Connection Current Count

Num Unavailable

Active Connections Average Count

Connection Delay Time

Active Connections High Count

Connections Total Count

Curr Capacity

Failures To Reconnect Count

Highest Num Unavailable

Wait Seconds High Count

Waiting For Connection High Count

JRockit

Allows monitoring runtime counters of each JRockit Virtual Machine instance (only available when WebLogic is running in the JRockit Java Virtual Machine).

All Processors Average Load

Jvm Processor Load

Heap Free Current

Heap Size Current

Free Heap

Used Heap

Total Heap

Free Physical Memory

Used Physical Memory

Total Physical Memory

Number Of Daemon Threads

Number Of Processors

Total Garbage Collection Count

Total Garbage Collection Time

Total Number Of Threads

Total Nursery Size

JVM

Allows monitoring JVM machine counters.

Heap Free Current

Heap Size Current

Connector

Allows monitoring Apache HTTP connector.

Connection Pools Total Count

Connection Pool Current Count

JMS Total

Allows monitoring JMS counters for all JMS Servers of the selected WebLogic server.

Connections Current Count

Connections High Count

Connections Total Count

JMSServers Current Count

JMSServers High Count

JMSServers Total Count

JMS Servers

Allows monitoring each JMS Server on the selected WebLogic server.

Destinations Current Count

Destinations High Count

Destinations Total Count

Messages Current Count

Messages High Count

Messages Pending Count

Messages Received Count

Session Pools Current Count

Session Pools High Count

Session Pools Total Count

JTA

Allows monitoring the transaction counters for the selected WebLogic server.

All values are calculated per interval.

Transaction Total Count

Transaction Committed Total Count

Transaction Rolled Back Total Count

Transaction Rolled Back Timeout Total Count

Transaction Rolled Back Resource Total Count

Transaction Rolled Back App Total Count

Transaction Rolled Back System Total Count

Transaction Heuristics Total Count

Transaction Abandoned Total Count

Active Transactions Total Count

Seconds Active Total Count

Queue

Allows monitoring counters for each WebLogic Queue of the selected WebLogic Server.

Pending Request Current Count

Execute Thread Total Count

Serviced Request Total Count

Execute Thread Current Idle Count

EJB Pool

Allows monitoring EJB instances for Entity Beans, MessageDriven Beans and Stateless Beans.

Access Total Count

Beans In Use Current Count

Destroyed Total Count

Miss Total Count

Pooled Beans Current Count

Timeout Total Count

Waiter Current Count

EJB Transaction

Allows monitoring transaction counters for Entity Beans, MessageDriven Beans, Stateless Beans and Stateful Beans.

Transactions Committed Total Count

Transactions Rolled Back Total Count

Transactions Timed Out Total Count

EJB Cache

Allows monitoring cache counters for Entity Beans and Stateful Beans.

Activation Count

Cache Access Count

Cached Beans Current Count

Cache Miss Count

Passivation Count

Thread

Monitors thread pool information for the WebLogic Server.

Completed Request Count

Execute Thread Idle Count

Execute Thread Total Count

Hogging Thread Count

Min Threads Constraints Completed

Min Threads Constraints Pending

Pending User Request Count

Queue Length

Standby Thread Count

Throughput

Channel

Allows the user to monitor channels (network access points from the WebLogic Server).

The counters are available for each channel.

Accept Count

Connections Count

Messages Received Count

Messages Sent Count

Operating System

Information about the computer running JVM.

Swap Space Total

Physical Memory Total

Virtual Memory Committed

Swap Space Free

System CPU Load

Physical Memory Free

VM Garbage Collector

Information about the garbage collector.

Collection Count

Collection Time

VM Memory

Information about memory usage on the virtual machine.

Heap Memory Used (%)

Heap Memory Committed

Heap Memory Max

Heap Memory Used

VM Threading

Information about threads on the virtual machine.

Total Started Thread Count

Daemon Thread Count

Peak Thread Count

Thread Count

See Also

Publication date: