File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Activating JMX for tomcat 5.5.9 on As/400 iseries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Activating JMX for tomcat 5.5.9 on As/400 iseries" Watch "Activating JMX for tomcat 5.5.9 on As/400 iseries" New topic

Activating JMX for tomcat 5.5.9 on As/400 iseries

Tom Whitcombe

Joined: Nov 25, 2009
Posts: 1

I'm trying to get JMX active for my Tomcat server but do not succeed. In Netstat i do not see the port I defined for JMX. Since iseries is a bit of an outsider there is not much in the way of dicumentation i can find for, especially regarding the syntax of the java options.

This is what i have tried:


And this:

Whatever I do, Tomcat starts, but not JMX

Does anyone know the correct syntax for these parameters in a iseries envrionment?

is the first parameter necessary? Some sites omit it

Is there maybe a way to see why jmx does not start? I have tried everything both with jdk 1.4 as well as jdk 1.5

Kees Jan Koster
JavaMonitor Support

Joined: Mar 31, 2009
Posts: 251
Dear Tom,

That is precisely why I created Java-monitor. ( It removes the need to deal with enabling JMX, getting it to work on a specific port range (you know JMX uses RMI, which uses dynamic port allocation, yes?) and the subsequent firewall nastiness.

Java-monitor builds on JMX, but connects to the mbean server directly and then uses web services to collect the samples. No firewall changes needed, no configuration.

Kees Jan

Java-monitor, JVM monitoring made easy <- right here on Java Ranch
I agree. Here's the link:
subject: Activating JMX for tomcat 5.5.9 on As/400 iseries
It's not a secret anymore!