[ 
https://forge.continuent.org/jira/browse/SEQUOIA-1058?page=comments#action_14820
 ] 

Emmanuel Cecchet commented on SEQUOIA-1058:
-------------------------------------------

Pablo,

Here is the DTD in 2.10.10:

<!ELEMENT RmiJmxAdaptor (SSL?)>
<!ATTLIST RmiJmxAdaptor
     port       CDATA "1090"
     serverPort CDATA #IMPLIED
     username   CDATA #IMPLIED
     password   CDATA #IMPLIED
>


You should use serverPort  instead of serverport (watch the uppercase P).

Emmanuel

> 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
>     Assignee: Emmanuel Cecchet
>      Fix For: sequoia 2.10.10
>  Attachments: SEQUOIA-1058.patch
>
>
> 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