YOUR FEEDBACK
DataCore and Egenera Combination Delivers Next Generation Server and Storage Virtualization
Virtualization news for the channel community and you ! wrote: Trackback A...
SOA World Conference
Virtualization Conference
$50 Savings Expire May 23, 2008... – Register Today!

2007 West
GOLD SPONSORS:
Active Endpoints
Your SOA Needs BPEL for Orchestration
BEA
Virtualized SOA: Adaptive Infrastructure for Demanding Applications
Nexaweb
Overcoming Bandwidth Challenges with Nexaweb
TIBCO
What is Service Virtualization?
SILVER SPONSORS:
WSO2
Using Web Services Technologies and FOSS Solutions
Click For 2007 East
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts

SYS-CON.TV
TOP THREE LINKS YOU MUST CLICK ON


Run-Time Management of WebLogic Messaging Services
Reinforce your enterprise-messaging infrastructure

Digg This!

Page 2 of 2   « previous page

To ensure that everything works optimally, remember to configure appropriate redelivery limits and redelivery delays in your config.xml file by using the RedeliveryLimit and RedeliveryDelayOverride parameters, respectively.

In addition to developing a message-management system, you should also consider building suitable monitoring tools that keep an eye on your destinations for you. The WebLogic console gives you most of the statistics you need, but there are many good reasons to make that data available from your own management system as well - you have more control that way and access to the console of a production system is usually restricted.

Reading server statistics is remarkably straightforward through the Java Management Extensions (JMX) framework. By using JMX, you will always know what's going on inside your server, and JMS is just one of the many services that are easily monitored with it.

Using JMX for monitoring JMS destinations
JMX is fully supported by the WebLogic Server, which means that almost all WebLogic functionality can be monitored through it. If you haven't done so yet, print a listing of all the MBeans (JMX objects representing managed resources) residing in your server and you will be amazed by the wealth of information available to you. It is a good idea to have a separate process polling all of the most critical MBeans and comparing the values against predefined warning levels.

For retrieving JMS statistics, you first need to acquire JMS MBeans such as the weblogic.management.configuration.JMSQueueMBean and the weblogic.management.runtime.JMSDestinationRuntimeMBean for the destination you want to monitor. These two classes contain several accessor methods for looking up JMS statistics from the server. For instance, you can get the total number of bytes received by a destination or current number of bytes queued, just to name a few things. See the WebLogic documentation for details on how to acquire and use MBeans.

Conclusion
Enterprise messaging has become ubiquitous; whatever kind of service you are building, it is very likely that before long, you will need to share data between other services or simply between processes within your cluster. JMS is the de facto industry standard for the task, and if you still aren't convinced of all its benefits, take a look at my previous article in the Jan/Feb edition of WLDJ entitled "Distributing Tasks in a Clustered Environment Using JMS," and you will see that JMS is about much more than asynchronous data transfer. It is available on the WLDJ Web site under the Archives section (Vol: 4 Iss: 1).

Whatever your usage of enterprise messaging is, you need to prepare for complications. If you have strict requirements for data integrity, make sure you have proper monitoring in place and that you have a carefully thought out strategy for handling messaging problems, such as message processing failures. Appropriate tools are readily available and they are easy to use, so there is no excuse for being unprepared when you find yourself in a messaging mess.

References


Page 2 of 2   « previous page

About John-Axel Stråhlman
John-Axel Stråhlman is the founder and CEO of Sanda Interactive Ltd (www.stc-interactive.com), a software consulting company based in Espoo, Finland. He is a distributed systems specialist and has been working as a consultant for his clients' projects for more than five years.

John-Axel Strahlman wrote: You are right Neil, the amount of MBeans is breathtaking. However, they are very thoroughly and conveniently documented in the WLS 8.1 API Reference, which can be found here: http://e-docs.bea.com/wls /docs81/javadocs/index.ht ml Look under the weblogic.m anagement.runtime package for MBeans that are most suitable for monitoring. For instance, the JMSDest inationRuntimeMBean is very useful for monitoring JMS destinations. John-Axel
read & respond »
Neil Hornbeck wrote: This is all excellent advice. The only catch is that there are so many MBeans in WebLogic that is almost impossible to determine which MBeans are critical to monitor, and which attributes of these MBeans tell you what you need to know. Just dumping the MBean list is overwhelming. BEA should publish a guide to the top 50 or so beans and just what exactly they can tell us.
read & respond »
BEA WEBLOGIC LATEST STORIES
3rd International Virtualization Conference & Expo: Themes & Topics
From Application Virtualization to Xen, a round-up of the virtualization themes & topics being discussed in NYC June 23-24, 2008 by the world-class speaker faculty at the 3rd International Virtualization Conference & Expo being held by SYS-CON Events in The Roosevelt Hotel, in midtown
Microsoft's Mike Neil To Keynote SYS-CON's 4th International Virtualization Conference & Expo
Mike Neil is general manager for virtualization strategy in the Windows Server Division at Microsoft. Mike is focused on the delivery of the Windows virtualization technology, including Windows Server 2008 Hyper-V, Microsoft Hyper-V Server and Virtual PC 2007. Mike also directs the tec
Engelbart's Usability Dilemma: Efficiency vs Ease-of-Use
The mouse was the original idea of Doug Engelbart who was the head of the Augmentation Research Center (ARC) at Stanford Research Institute. Engelbart's philosophy is best embodied, in my opinion, in the design of another device that he invented, the five-finger keyboard - with keys li
Web 2.0 Is Fundamentally About Empowering People
'Unlocking content to be remixed into new business value' is the driver of Web 2.0 in the enterprise, says Rod Smith, IBM VP of Emerging Internet Technologies, in this Exclusive Q&A with Jeremy Geelan on the occasion of IBM's release of a new technology created by IBM researchers, code
Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
Here is a question that I have been pondering on and off for quite a while: Why do 'cool kids' choose Ruby or PHP to build websites instead of Java? I have to admit that I do not have an answer. Why do I even care? Because I am a Java developer. Like many Java developers, I get along w
Procter & Gamble Implements a SOA Powered By BEA Systems
BEA Systems announced that Procter & Gamble implemented a service-oriented architecture (SOA) powered by BEA technologies. The SOA powers a new on-line workspace at Procter & Gamble. It has been designed to help improve and support decision making while increasing access to knowledge a
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON FEATURED WHITEPAPERS

ADS BY GOOGLE
BREAKING NEWS FROM THE WIRES
AmberPoint Extends SOA Governance to Apache ServiceMix, BEA AquaLogic Service Bus 3.0, BEA WebLogic Integration, Cisco ACE XML Gateway, JBoss Enterprise Application Platform and Oracle Fusion
AmberPoint announced today that it has extended the reach of its runtime SOA governance