web stats
Changing the RMI (1099) port - Mirth Community

Go Back   Mirth Community > Mirth Connect > Development

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-30-2006, 12:13 AM
albertosaez albertosaez is offline
 
Join Date: Sep 2006
Location: Valladolid, Spain
Posts: 842
albertosaez is an unknown quantity at this point
Default 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.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
changing length of OBX segments cgbullock Support 0 01-26-2009 05:48 PM
Changing internal Database boesboes Support 6 11-12-2008 06:16 AM
incoming data protocol changing over an existing c khellendros Support 0 09-25-2008 02:15 AM
Changing HL7 Messages dajos7 Support 1 12-14-2007 05:51 AM
Changing HL7 version 2.3 to 2.5 Bobbit Support 15 01-31-2007 11:28 AM


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


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