Hi,

I just tried it, it works for me.

You need ensure you've removed $SMX_HOME/data folder(this is the bundle cache) after you change activemq-broker.xml and restart the container.

Freeman
On 2011-9-9, at 下午8:50, Turco Rosario wrote:

I have done but it doesn't work.

------------------------------------------------------------------
Telecom Italia
Rosario Turco
via Depretis  40, 80133 Napoli
081 722 3307
3357533687


-----Messaggio originale-----
Da: Freeman Fang [mailto:[email protected]]
Inviato: venerdì 9 settembre 2011 12:34
A: [email protected]
Oggetto: Re: two servicemix on the same machine

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










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