Mirth Community

Mirth Community (http://www.mirthcorp.com/community/forums/index.php)
-   Development (http://www.mirthcorp.com/community/forums/forumdisplay.php?f=8)
-   -   Changing the RMI (1099) port (http://www.mirthcorp.com/community/forums/showthread.php?t=368)

albertosaez 10-30-2006 01:13 AM

Changing the RMI (1099) port
 
Hi.

I was in the need of changing the default RMI port (1099). As it's a non-trivial operation, I'm posting now the way:

It's needed to change the properties both in the RMI and JMX agents defined at the conf/boot-mule.xml file in the next way:

Code:

<agents>
                <agent name="RMI" className="org.mule.management.agents.RmiRegistryAgent" >
                        <properties>
                                <property name="serverUri" value="rmi://localhost:1099" />
                        </properties>
                </agent>
                <agent name="JMX" className="org.mule.management.agents.JmxAgent">
                        <properties>
                                <property name="connectorServerUrl"
                                        value="service:jmx:rmi:///jndi/rmi://localhost:1099/server" />

                                <map name="connectorServerProperties">
                                        <property name="jmx.remote.jndi.rebind" value="true" />
                                </map>
                        </properties>
                </agent>
</agents>

If you want to change the port in a Mirth which has some channels defined, it's need to deploy first, and then restart the Mirth.

The jmx.uri line ant the Mirth.properties file need to be changed too.


All times are GMT -8. The time now is 08:35 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation