Patch for fixed JMX-RMIServer port
----------------------------------

         Key: SEQUOIA-1058
         URL: https://forge.continuent.org/jira/browse/SEQUOIA-1058
     Project: Sequoia
        Type: New Feature

    Versions: sequoia 2.10.10    
    Reporter: Stefan Lischke


As some might know, if using JMX over RMI the communication is made over a 
connection with a random port. This makes Sequoia not usable in a firewalled 
system. 

I have created a patch that changes the JMXServiceURL in RMIConnector if a 
rmiServerPort is given

now it was
service:jmx:rmi:///jndi/rmi://"+hostName+":"+registryPort+"/jmxrmi

if the parameter serverport is given in controller.xml

<RmiJmxAdaptor port="21090" serverport="21042"/>

the following url will be used.
service:jmx:rmi://localhost:21042/jndi/rmi://"+hostName+":"+registryPort+"/jmxrmi

Please review and apply this patch

thanx in advance

Stefan

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to