JMX and firewall
"Knuplesch, Juergen" <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Hello,
We still cant get with CC JMX through our firewall.
Inside the code we found:
JMXServiceURL address = new JMXServiceURL("rmi", "localhost", 0, JNDI_NAME);
We donbt really understand this, because port is set to 0. How does it work anyway?
Is it possible to configure it to sth. like:
JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://localhost:3000/jndi/rmi://localhost:9999/server");
We found this here: http://blogs.law.harvard.edu/hoanga/2006/07/07/getting-java-jmx-to-work-through-firewalls-properly/
Because this sets the RMI-port for communication. Of course the port must be confugurable!
Is this possible already or do I need to code it myself?
Greetings Juergen
--
Jürgen Knuplesch
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get