I am using Mirth 1.5.0.2272 on Windows Vista with JRE 1.5.0_11 and MSSQL 2005.
I am also running JBoss AS on this machine and that uses up the 1099 port. I am trying to change the RMI port number in Mirth but am unsuccessful at it. These changes had worked in previous versions of Mirth. I have made the following changes to mule-boot.xml:
and to mirth.properties
mule-config.xml is sticking to port 1099. I checked to make sure mule-config.xml is getting generated at start up.
This is the exception I am getting.
I am also running JBoss AS on this machine and that uses up the 1099 port. I am trying to change the RMI port number in Mirth but am unsuccessful at it. These changes had worked in previous versions of Mirth. I have made the following changes to mule-boot.xml:
Code:
<agents> <agent name="RMI" className="org.mule.management.agents.RmiRegistryAgent"> <properties> <property name="serverUri" value="rmi://localhost:1096" /> </properties> </agent> <agent name="JMX" className="org.mule.management.agents.JmxAgent"> <properties> <property name="connectorServerUrl" value="service:jmx:rmi:///jndi/rmi://localhost:1096/server" /> <map name="connectorServerProperties"> <property name="jmx.remote.jndi.rebind" value="true" /> </map> </properties> </agent> </agents>
Code:
jmx.url=service\:jmx\:rmi\:///jndi/rmi\://localhost\:1096/server
This is the exception I am getting.
Code:
WARN 2007-07-03 21:30:03,913 [Thread-0] com.webreach.mirth.server.Mirth: Error deploying channels. org.mule.config.ConfigurationException: MuleManager Failed to initialise (org.mule.config.ConfigurationException) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:196) at com.webreach.mirth.server.Mirth.startMule(Mirth.java:178) at com.webreach.mirth.server.Mirth.run(Mirth.java:110) Caused by: org.mule.config.ConfigurationException: MuleManager Failed to initialise at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:209) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:194) ... 2 more Caused by: org.mule.management.agents.JmxManagementException: Failed to start Jmx Connector at org.mule.management.agents.JmxAgent.start(JmxAgent.java:188) at org.mule.MuleManager.startAgents(MuleManager.java:1082) at org.mule.MuleManager.start(MuleManager.java:729) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:207) ... 3 more Caused by: java.io.IOException: Cannot bind to URL [rmi://localhost:1099/server]: javax.naming.CommunicationException [R oot exception is java.rmi.ConnectIOException: non-JRMP server at remote endpoint] at javax.management.remote.rmi.RMIConnectorServer.newIOException(Unknown Source) at javax.management.remote.rmi.RMIConnectorServer.start(Unknown Source) at org.mule.management.agents.JmxAgent.start(JmxAgent.java:186) ... 6 more Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: non-JRMP server at remote endpoint] at com.sun.jndi.rmi.registry.RegistryContext.rebind(Unknown Source) at com.sun.jndi.toolkit.url.GenericURLContext.rebind(Unknown Source) at javax.naming.InitialContext.rebind(Unknown Source) at javax.management.remote.rmi.RMIConnectorServer.bind(Unknown Source) ... 8 more Caused by: java.rmi.ConnectIOException: non-JRMP server at remote endpoint at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source) at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source) at sun.rmi.server.UnicastRef.newCall(Unknown Source) at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) ... 12 more Mirth 1.5.0.2272 (May 24, 2007) server successfully started: Tue Jul 03 21:30:04 EDT 2007 This product includes software developed by SymphonySoft Limited ([url]http://www.symphonysoft.com[/url]) and its contributors. Running Java 1.5.0_11 on Windows Vista (6.0, x86)
Comment