![]() Previous |
![]() Next |
J2SE 5.0 and later versions of the JRockit JVM use JMXRMI (JMX over RMI). This protocol uses one port for the RMI registry, which is configured with the -Xmanagement:port option, and a second port (on an anonymous port) for communication with the RMI server. Note that you cannot configure the port for the RMI server; however, you can write your own agent that defines a fixed port for the RMI server. Please see the following link for further information:
http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html#gdfvv.
Table 3 lists the options available for the -Xmanagement flag:
-Xmanagement Options
| Option | Description | Default |
|---|---|---|
|
|
Use password authentication |
|
|
|
true |
Use secure socket layer |
|
|
What port to use for the RMI registry |
7091 |
For a more comprehensive discussion about what these options mean, see:
http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html