Skip to main content

New Monitoring Capabilities in GlassFish v3

Posted by editor on August 27, 2009 at 9:07 AM PDT
peligri reports on GlassFish v3 Monitoring - DTrace, REST and More... in a post highlighted in today's java.net Java Today:

Prashanth has written a detailed description of the new monitoring framework in GlassFish v3...

I took a look at Prashanth's post, which he titled, simply, Monitoring in GlassFish v3.

Prashanth organizes his presentation into an article-style format, with an outline at the top containing links to the main sections below. In case you want to jump right in, here's the outline (with the links included):

  1. Introduction
    1. Probes
    2. Probe Provider
    3. Probe Listener & StatsProviders
  2. DTrace*
  3. Scripting Client*
  4. eXtending Probes using XML (XP-XML)
  5. Other Clients
    1. JMX/AMX
    2. REST
    3. Admin Console
    4. asadmin list-probes*
    5. Help for probe*
    6. asadmin get/list
    7. asadmin monitor
  6. Architecture
  7. References

Perhaps the most significant sentence for GlassFish users who are still using editions that predate Version 3.0 is the very first sentence in Prashanth's Introduction:

Monitoring in GlassFish v3 has taken a huge leap when compared to the earlier versions.

What follows, as peligri notes, is detailed description of the new monitoring features. In summary, GlassFish Version 3.0 provides:

a way to dynamically and non-intrusively generate monitoring events from any of the glassfish runtime classes, the ability to listen to these events, collect the statistics and expose these statistics through various standard clients.

Debugging issues in large enterprise-level systems is never easy. Inevitably, the operational system represents a vast interweaving of instantiated events, requests, responses, triggered actions, scheduled jobs, etc. When everything's working fine, that's great, you just need an operator to monitor things.

However, in my experience with large operational systems, it's possible for something to "stop working" without providing any visible sign that even a fairly experienced developer would notice, never mind an operator whose duty it is to perform basic maintenance and monitoring functions using the system's UI console and pages.

And the bigger the operational system, the more possible this becomes. Also, the longer the system has been operational, the smaller the development team may become (except when major enhancements or extensions of the system are required).

All of this makes automated monitoring capability essential, when a smallish development team has to keep a large system operational, quickly identifying, diagnosing, and correcting problems as the arise. The new monitoring capabilities in GlassFish v3 are a major step in assisting GlassFish development teams in accomplishing these objectives.


In Java Today, the Java ME SDK team answers the question What's going on with Mac version?:

That's a question we have got a lot of times. It was answered here and in different forums, describing why it take some time to release Mac version so I'm not going to write the reasons again. Today I'm going to show you something behind the scene. We are running Scrum process while developing Java ME SDK. Next two pictures were taken at the end of our latest sprint.

The first pictures shows our office board with table of stories and their tasks. As you can see we finished all tasks...

Java Champion Adam Bien asks Does Loose Coupling Always Result in Code Duplication?:

Per its very nature - it has to. Loose coupling aims for making functional units independent of each other. This is only possible with the introduction of a level of indirection.

The thinnest possible layer is an ordinary Java interface, the heaviest one - a WSDL. The mechanics of decoupling are simple as well: a neutral contract is the boundary between the provider and the consumer...

Peligri writes about "GlassFish v3 Monitoring - DTrace, REST and More...":

Prashanth has written a detailed description of the new monitoring framework in GlassFish v3, which includes descriptions of the basic concepts of probes, probe provider and probe listeners.

Probe providers include both class-based and XML-based providers, where the framework will automagically create a provider without requiring modifications to the existing code. Probe listeners are called from the providers to produce the desired information; for example statistics are generated by StatsProviders.

Prashanth's note also describes...


In today's Weblogs, Ramesh Parthasarathy talks about Multihoming with SailFin - Traffic separation: "High availability in SailFin can be achieved by deploying a cluster of instances and configuring the load balancer and the replication modules as per the user's needs. Apart from the basic configuration of these modules, SailFin (2.0) also allows users to separate the intra-cluster traffic (resulting from the load-balancer, replication and the group management service modules) from the external..."

Arun Gupta provides TOTD #98: Create a Metro JAX-WS Web service using GlassFish Tools Bundle for Eclipse: 'Now that you've installed GlassFish Tools Bundle for Eclipse 1.1, lets use this bundle to create a simple Metro/JAX-WS compliant Web service and deploy on GlassFish. These steps will work with either Eclipse 3.4.2 or 3.5 with WTP Java EE support. Lets create a simple "Dynamic Web Project" as shown below: Name the project "HelloMetro" and take all other defaults: Click on "Finish" to...'

And Ludovic Champenois is spending Thursday at GooglePlex for an Eclipse Day: "Bonjour, Comment Java? This coming Thursday(08/27/09) 'll be at GooglePlex (Mountain View) for an Eclipse Day...The entire genda is at http://wiki.eclipse.org/Eclipse_Day_At_Googleplex_2009. 2 presos seem to be very interesting so far: OSGi for Eclipse Developers Deploying Successful Entreprise Tools and possibly others...The Google crowd is impressive. There is a waiting list for..."


In the Forums, balamurali_ippili posted Help Needed: Jsf Date converter Error with : "Hi I have a requirement in which I am having in which the value will give a date in this format '2009-08-24'. and I am not using any date converters here but by default it is converting this date to..."

luisangelgh72 asks How can I get involved into a project...: "I just got certified on SCJP 6 and I would like to collaborate on a Java Open Source project in order to get hands-on Java applying my acquired knowledge and learning many more things (I am not currently using Java at work). I would like to get involved..."

And fcigognini is seeing issues involving IIS + sun-passthrough.dll + GlassFish Mutual Authentication: "Hi All, I am struggling to get this working, and would be grateful if anyone could provide some insight please. [Configuration] 32-bit Windows 2003 Server with IIS 6.0 (tried both with IIS running in IIS 5.0..."


In the current Spotlight, Danny Coward invites us to participate in a Deep Dive on JDK 7: "The Janitor joined Ed Ort for a Deep Dive on JDK 7, check it out here. Really given how much is going into JDK 7, its perhaps more of a flyover and swoop, but, if you need to catch up with the plan, take a look."


The next java.net Poll will be posted soon, once the dust from the java.net infrastructure transition has settled.


Our Feature Articles include Jeff Friesen's article Introducing Custom Paints to JavaFX, which shows how you can leverage undocumented JavaFX capabilities to support custom paints in JavaFX Version 1.2. We're also featuring Biswajit Sarkar's Using the Payment API for Microcredit and Other Applications, which describes how to apply the Payment API (JSR 229) in JavaME applications.


The latest Java Mobility Podcast is Java Mobility Podcast 85: Migrating Your Midlets to JavaFX Mobile Technology: "Highlights from the JavaOne session TS-4506 with hints & tips on migrating your Java ME applications to JavaFX Mobile."


Current and upcoming Java Events:

Registered users can submit event listings for the java.net Events Page using our events submission form. All submissions go through an editorial review before being posted to the site.


Archives and Subscriptions: This blog is delivered weekdays as the Java Today RSS feed. Also, once this page is no longer featured as the front page of java.net it will be archived along with other past issues in the java.net Archive.

AttachmentSize
Monitoring_V3_Arch_Diagram-Final_sml.JPG19.53 KB
Related Topics >>

Comments

Hi, a very nice post. However, when I try to access the ...

Hi,

a very nice post.
However, when I try to access the links I get "The connection was reset" in Firefox.
My internet connection works and I tried it from two different networks.
Does anybody have a hint what that could be?

thanks