Monday Dec 10, 2007
Monday Oct 22, 2007
By daniel on Oct 22, 2007
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]
Wednesday Oct 17, 2007
By daniel on Oct 17, 2007
Wednesday Sep 12, 2007
By daniel on Sep 12, 2007
In my previous blog entry, I have talked about how to take advantage of java agents in order to start a custom JMX Connector in a Java application, without modifying the application. This is particularly useful when you need to monitor Java applications which are located behind a firewall. In that case, it makes it possible to write a java agent that will start a RMI connector configured in a firewall-friendly manner. However, there's a catch. This is what this entry is about.[Read More]
Wednesday Jul 25, 2007
By daniel on Jul 25, 2007
In a recent comment on my blog about Troubleshooting Connection Problems in JConsole I was asked the following question:
Can you simply explain how run jconsole on a client machine to connect to an unmodifiable applicaton that run on a server. One and only one port on the server is open though firewall for managing the application.
Here is how.[Read More]
Friday May 04, 2007
By daniel on May 04, 2007
A few weeks ago I blogged about how to programmatically access the JVM Monitoring information. Here is a small Java application that prints all the attributes of all the JVM Management & Monitoring MBeans.
The sample simply prints the attributes of the JVM MBeans from the JVM in which it runs. It would be very easy to make it print the information of a remote JVM. You would just need to copy the code from the JVMRuntimeClient shown in my previous blog: [More][Read More]
Friday Apr 20, 2007
By daniel on Apr 20, 2007
A few weeks ago, I posted a small example showing
how to programatically retrieve the JVM Management and Monitoring
information. Jeff Mesnil
also recently wrote a two parts blog article showing how to write a JMX client using JRuby.
Piecing these two articles together I'm going to show how to prototype this using JRuby in jconsole Script Shell plugin.
Friday Mar 09, 2007
By daniel on Mar 09, 2007
How to use JMX to programatically retrieve the information that JConsole displays is easy. Here is a small JMX Client Program that shows how you can programatically retrieve the JVM Management and Monitoring information from a remote JVM.[Read More]
Friday Mar 02, 2007
By daniel on Mar 02, 2007
In this interview Brian goes against a few myths about code optimization, and provides some insightful advices for writing faster code. One of its more striking moto is:
Trust the JVM. It's smarter than you think.
Friday Feb 23, 2007
By daniel on Feb 23, 2007
Since JavaTM SE 5.0, the JRE provides a means to manage and monitor the Java Virtual Machine. It comes in two flavors: one is based on the Java Management Extension (JMXTM), the other is a small SNMP agent that builds upon the Management and Monitoring API of the Java SE platform and exposes the same information through SNMP.
Which technology should I use to monitor my JVM? JMX, or SNMP?
In this blog I will try to provide some guidance on this subject.[Read More]
Monday Mar 20, 2006
By daniel on Mar 20, 2006
Wednesday Mar 15, 2006
By daniel on Mar 15, 2006
...Danny Coward recently wrote an excellent blog about the various Java SE 5.0 and Java SE 6 tools that will help you diagnose problems in your Java application. As an exercise, I have written a little Java application that will let you dynamically activate your own traces in a running Java application ...[Read More]
Tuesday Mar 07, 2006
Monday Feb 13, 2006
Tuesday Jan 31, 2006
Daniel Fuchs blogs on Scene Builder, JMX, SNMP, Java, etc...
The views expressed on this blog are those of the author and do not necessarily reflect the views of Oracle.
- Jerome has written a nice article on integrating SceneBuilder with several IDEs
- A nice article on NetBeans 7.2 and JavaFX SceneBuilder
- Connecting SceneBuilder edited FXML to Java code
- Welcome to blogs.oracle.com
- Project OpenDMK has moved to the new java.net infrastructure.
- The Mystery Of Multiple MBeanServers
- Saved by ZFS while fighting with Firefox 3 configuration
- Mercurial: listing files modified in incoming changesets, and guessing conflicts...
- Java 5, premain, RMI Connectors, Single Port, SSL, and Firewall.
- OpenDS 1.0 is Released: A Java Open Source LDAP Server with JMX and SNMP monitoring
- Java for SysAdmins
- My Posts on SDN
- Need professional support?
- Need some training?
- Open Source & Sun
- Planet JDK
- Project OpenDMK
- Questions about JMX?
- Questions about SNMP?
- The Aquarium
- The Java Tutorials' Blog
- VisualVM (JMX Inside)
- What Is JMX
- Sun Eco Center
- JMX Home Page
- Java DMK (SNMP inside!)
- NetBeans Home Page