About Me

JMX, SNMP, Java, etc...

Daniel Fuchs blogs on JMX, SNMP, Java, etc...

All | Personal | Sun
tags: blogging firewall hg java jconsole jmx jvm management mbean mercurial monitoring opendmk openjdk opensource rmi snmp

Table Of Contents (list all entries)

Main | Next page »
20080506 Tuesday May 06, 2008
Mapping to OpenTypes: MXBean Complex Attribute Types

Although it might not be a very good idea to define your management model based on how it will be displayed by a given GUI, such as that provided by JConsole or VisualVM, I believe it is nonetheless interesting to explore the various ways in which a complex type such as a Map<String,Integer> could be modeled and exposed through an MXBean attribute.

[Read More] Tags:
Posted by dfuchs ( May 06 2008, 05:37:15 PM CEST ) Permalink Comments [2]

20080422 Tuesday April 22, 2008
Updating Your Mercurial Repository

... while working on uncommitted changes.

Sometimes when you are working on a fix - or an RFE, you'd like to sync-up with your parent's repository and pull any changes it contains without having to commit your own work in progress. Here is my own recipe - direct from my mercurial cookbook.

[Read More] Tags:
Posted by dfuchs ( Apr 22 2008, 02:00:58 PM CEST ) Permalink Comments [3]

20080401 Tuesday April 01, 2008
An April Fool's Fish

In French, an April fool's joke is called a "Poisson d'Avril" (April's Fish). So here is mine, live from the JMX team's aquarium... [Read More] Tags:
Posted by dfuchs ( Apr 01 2008, 04:07:10 PM CEST ) Permalink Comments [6]

20080313 Thursday March 13, 2008
A new contribution to project OpenDMK: Exposing JMX MBeans as RESTful Resources.

Jean-Francois Denise has just contributed a very interesting source add-on contribution to Project OpenDMK. It is composed of two small java classes which provide a generic RESTful access to MBean attributes.

[Read More] Tags:
Posted by dfuchs ( Mar 13 2008, 07:17:57 PM CET ) Permalink Comments [2]

20080307 Friday March 07, 2008
Don't Do This! But Here Is a Way.

Recently I was asked how to do "registerMBean" in a remote JVM, from a remote JMX client. The MBeanServerConnection doesn't expose any registerMBean method, and for good reasons.

[Read More] Tags:
Posted by dfuchs ( Mar 07 2008, 04:44:38 PM CET ) Permalink Comments [0]

20080225 Monday February 25, 2008
I Am a Modern Man

After several years of resistance, I have finally surrendered to modernity: last week I bought a mobile phone.

[Read More] Tags:
Posted by dfuchs ( Feb 25 2008, 11:49:29 AM CET ) Permalink Comments [3]

20080214 Thursday February 14, 2008
Long time no blog...

... so I thought I'd drop a line. I have just uploaded a small set of slides of a high level presentation of project OpenDMK on the project's home page.

[Read More] Tags:
Posted by dfuchs ( Feb 14 2008, 06:18:14 PM CET ) Permalink Comments [2]

20080109 Wednesday January 09, 2008
Building a Remotely Stoppable Connector Server

JMX is a wonderful tool to monitor and troubleshoot running applications. The new JDK 6 Attach API makes it very easy to attach to a running Java process, and start a JMX agent that will expose monitoring and configuration data to JMX consoles - like JConsole. However, there are some situations where you wish to start a JMX agent on demand, explore the monitoring data or diagnose the probable cause of an observed problem, and then close your JMX agent, leaving the application just how you found it.

In this post, I will discuss a means by which you can upload and start such a remotely stoppable JMX agent. Here is how.

[Read More] Tags:
Posted by dfuchs ( Jan 09 2008, 03:15:39 PM CET ) Permalink Comments [3]

20071214 Friday December 14, 2007
How I installed the Mercurial Forest extension on my windows test machine.

The source code for OpenJDK is now available in Mercurial repositories. These repositories are organized into mercurial forests. If you are eager to work on the OpenJDK code, you will want to install the forest extension for Mercurial. Here is how I did it on my windows test machine.

[Read More] Tags:
Posted by dfuchs ( Dec 14 2007, 04:38:37 PM CET ) Permalink Comments [2]

20071210 Monday December 10, 2007
Ingo Rockel's Thread Dump Plugin For JConsole

In his blog, Ingo Rockel posted about a nice Thread Dump plugin for JConsole. Out of curiosity, I decided to give it a try.

[Read More] Tags:
Posted by dfuchs ( Dec 10 2007, 11:49:22 AM CET ) Permalink Comments [1]

20071112 Monday November 12, 2007
Proxying a JMX Connection: Adapting To Another Protocol

This article exposes a proxying technique that can be used to adapt between two different protocols: one that is used on the server side, and one that we want to use on the client side. More to the point, this technique can be used to work around an annoying interoperation problem that can show up when exposing Model MBeans through an IIOP connector.

[Read More] Tags:
Posted by dfuchs ( Nov 12 2007, 06:52:14 PM CET ) Permalink Comments [3]

20071026 Friday October 26, 2007
DZone Widgets on blogs.sun.com

As some of you may have noticed, I've added DZone widgets to my blog. [Read More] Tags:
Posted by dfuchs ( Oct 26 2007, 02:00:27 AM CEST ) Permalink Comments [0]

20071022 Monday October 22, 2007
JMX: Connecting Through Firewalls Using RMI Over SSL And a Single Port (Part III)

This post explains how you can configure your Java application to export a single port using JMX RMI Connector Server over SSL. This is particularly useful when your application is located behind a firewall, because you will only need to let through a single port. However, using a single port when SSL is enabled requires a little care, because it can only work if the same RMI Socket Factories are used everywhere: indeed the same port cannot be shared by two different RMI Socket Factories. So at the risk of boring you, here is my third post on the subject.

[Read More] Tags:
Posted by dfuchs ( Oct 22 2007, 07:38:51 PM CEST ) Permalink Comments [5]

20071017 Wednesday October 17, 2007
Dmitri Maximovich: Monitoring JVM memory with MRTG

Dmitri Maximovich has written an excellent article about how to monitor JVM memory using MRTG.

[Read More] Tags:
Posted by dfuchs ( Oct 17 2007, 11:18:52 AM CEST ) Permalink Comments [0]

20071005 Friday October 05, 2007
Using Project OpenDMK APIs To Send Traps From Multiple Threads

I recently received a question from a member of the Java community asking for advises on how to implement a trap sending service for a highly multi-threaded application.

Here is an example/test which shows that the SnmpAdaptorServer from Project OpenDMK can be used. The example also allowed me to find a bug.

[Read More] Tags:
Posted by dfuchs ( Oct 05 2007, 06:17:57 PM CEST ) Permalink Comments [0]

[Table Of Contents]

This is a personal Weblog, and I do not speak for my employer.

Calendar

RSS Feeds

DFuchs on DZone

Search

Links

Lookup RFC

Planet JMX

From Grenoble

Navigation

Referers