Oracle WebLogic JMS Overview and Monitoring JMS Servers, Messages, Queues by using WLSDM

WLSDM for WebLogic
Jan 28, 2019 · 5 min read

WebLogic administrators need to keep an eye when JMS MBean metric values increase suddenly. At this time WLSDM able to send JMS notifications for each JMS resources in a WebLogic domain. We have prepared a new tech blog post about learning JMS and WebLogic JMS monitoring with below headers and learnings:

  • Overview of WebLogic JMS servers
  • JMS Servers/Modules creation, testing
  • Monitoring JMS resources in a WebLogic domain
  • Alerting JMS queues and Receiving robust notifications
  • Screen captures for JMS environment
  • Additional YouTube video tutorial

JMS is an enterprise messaging system, enables applications to communicate with one another through the exchange of messages. Monitoring active JMS servers is complicated with the WebLogic monitoring tabs. JMS servers act as management containers for JMS queue and topic resources within JMS modules that are specifically targeted to JMS servers. If you want to monitor JMS servers MBean statistics, you have to use inbox JMSServerRuntimeMBean object.

WLSDM has a default JMS monitoring dashboard for WebLogic JMS servers. WLSDM has more specific features to monitor WebLogic JMS assets. You can assign alarm and actions, store MBean data for JMSServerRuntimeMBean metrics by using WLSDM. We have prepared below tutorial which is more descriptive for Oracle WebLogic JMS server monitoring and WLSDM functionalities. This tutorial also gives a lot of information about WebLogic JMS usage.

Creating JMS Server and JMS Module with Queue

First of all, we will create JMS Server and JMS queues then will send test messages before using WLSDM JMS dashboard features.

1. Log in to Oracle WebLogic console → Go to WebLogic “Domain Structure” → Expand “Services” and click “JMS Servers”.

Image for post
Image for post

2. Create new JMS Server (Follow below steps and screen-casts)

2.1. Click “Lock & Edit” then click “New”
2.2. Give a name for JMS server
2.3. Select target and click “Finish”

Image for post
Image for post
Image for post
Image for post

3. We have created JMS server. Now we will create JMS Module and Queues.

3.1. Click “Lock & Edit” then click “New”
3.2. Give a name for JMS module
3.3. Select target click “Next”
3.3. Select “… add resources…” checkbox as below and click “Finish”

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post

4. After JMS System Module creation, click “New” in System Module settings and follow below instructions.

Image for post
Image for post
Image for post
Image for post

• Select target and click “Finish”.

After “Connection Factory” creation, then create Distributed Queue with the same “Connection Factory” steps.

Image for post
Image for post

Now we have created JMS System. We should test it! Download JMeter testing tool and Install it.

Create Test Thread Group in JMeter.

1. Navigate (right click) “Test Plan” → Add Thread (Thread Users) → Thread Group.

Image for post
Image for post

2. Navigate “Test Group” → Add → Sampler → JMS Publisher and JMS Subscriber.

Image for post
Image for post
Image for post
Image for post

Click JMS Publisher and configure JMS publisher as below then repeat for JMS Subscriber.

Image for post
Image for post

• Click start to send messages.

Image for post
Image for post

JMeter has sent 20 test messages.

Go to WLSDM Smart Dashboard Console and check JMS message count.

Image for post
Image for post
Image for post
Image for post

Find Messages Current Count metric dashboard and monitor messages count (view below screen capture).

Image for post
Image for post

Set alarm on and define alarm threshold value to receive WLSDM JMS metric notifications.

Image for post
Image for post

Send 10 more messages with JMeter then get metric notification and email notification from WLSDM. (When alarm threshold is “>=100” )

Image for post
Image for post

Let’s go to metric notification page and list JMS MBean notifications.

Metric notification page is able to;
• List JMX Metric notifications (alert notifications, clear notifications)
• Define actions (read, unread, add note, send as mail) for the notifications

Image for post
Image for post

Let’s check the email notification for the JMS Server Queue notifications;

Image for post
Image for post

We prepared YouTube tutorial that includes voice guidance.
Enjoy and stay tuned :)

[Monitoring JMS Servers Youtube Tutorial (Up To 720p): https://youtu.be/fC_8h12hOck

YouTube Tutorial:

WLSDM for WebLogic

WLSDM is a WebLogic console extension which enables…

WLSDM for WebLogic

Written by

WLSDM for WebLogic

Native Oracle WebLogic Monitoring WLSDM is developed by the best WebLogic developers for the best WebLogic administrators to support mission critical HA domains. Supports all plain WebLogic and Fusion Middleware (FMW) WebLogic domains. Download now! https://wlsdm.com/download

WLSDM for WebLogic

Written by

WLSDM for WebLogic

Native Oracle WebLogic Monitoring WLSDM is developed by the best WebLogic developers for the best WebLogic administrators to support mission critical HA domains. Supports all plain WebLogic and Fusion Middleware (FMW) WebLogic domains. Download now! https://wlsdm.com/download

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store