United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6693334 Provide a firewall-friendly out-of-the-box configuration for the default's agent RMI connector
6693334 : Provide a firewall-friendly out-of-the-box configuration for the default's agent RMI connector

Details
Type:
Enhancement
Submit Date:
2008-04-24
Status:
Resolved
Updated Date:
2013-03-20
Project Name:
JDK
Resolved Date:
2013-03-20
Component:
core-svc
OS:
generic
Sub-Component:
java.lang.management
CPU:
generic
Priority:
P3
Resolution:
Duplicate
Affected Versions:
7
Fixed Versions:

Related Reports
Duplicate:

Sub Tasks

Description
The M&M default agent only allows you to specify 1 port for remote management, but it actually uses two ports. The second port is allocated dynamically, which makes it very unfriendly when the agent is deployed behind a firewall.

I believe we should specify a user-friendly configuration for the default agent where:

1) only one port is used, when possible (only possible when there's either no SSL at all, 
   or when both the default's agent RMI Registry & client connection use SSL), and/or
2) make it possible to specify to specify the second port number.

One solution could be to extend the jmxremote.port syntax to support something like:
-Dcom.sun.management.jmxremote.port=<port1>,<port2>

                                    

Comments



Hardware and Software, Engineered to Work Together