Hi,

There's two place in etc/ activemq-broker.xml you need change from 61616 to 61617, ensure you have modified both(we have improved to use system properties so that for later version you only need change it from one place).
Also there's another port(61613) for stomp you need change.

Freeman

On 2011-9-9, at 下午6:10, Turco Rosario wrote:

I must configure two servicemix 4.3.0 on the same IP.

I thinked who it was sufficient to configure the second servicemix with a different
port 1099 (rmi) -> 1098 (ok)
port 61616 (active-mq) -> port 61617

I have modified
$SMX_HOME/etc/ org.apache.karaf.management.cfg
$SMX_HOME/etc/ activemq-broker.xml

But I have always the error
| Failed to start ActiveMQ JMS Message Broker. Reason: java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://localhost:61616 due to: java.net.BindException: Address already in use

If i do to start servicemix 1 and 2
and
netstat -n | grep 61617
I don't have never process in LISTEN
with
netstat -n | grep 61616
I see a process in LISTEN (the first servicemix)

Capitale Sociale Euro 7.000.000 i.v.
Codice Fiscale n. 07578860152
R.E.A. n. 1045262
This e-mail message, including any attachments, is for the sole use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e- mail and permanently delete this message and any attachments

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to