I was able to replicate this error by disabling my NICs.

I was also able to start SM by doing pretty much what Bruce as well as
the XML comment says:

1. Remove discoveryURI
2. Comment this line: <amq:networkConnector uri="multicast://default"/>

Should work just fine.
Oleg

-----Original Message-----
From: Bruce Snyder [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 11, 2007 10:15 AM
To: [email protected]
Subject: Re: Error when starting Servicemix

On 10/10/07, Sagara Gunathunga <[EMAIL PROTECTED]> wrote:
> Hi,
> As you said its works well in a network environment.  I did that
> modification activemq.xml file but still not working properly on my
> home (without network) machine.
> So any other configuration requirement..?
>
>
> <amq:transportConnectors>
>
>        <!-- Activate a TCP connector with multicast discovery.
>
>             Note that multicast may be disabled if your computer
>
>             is not on a network, which may prevent the broker to
start.
>
>             In such a case, just remove the discoveryUri attribute.
>
>          -->
>
>        <amq:transportConnector uri="tcp://localhost:61616" />
>
>     </amq:transportConnectors>
>
>
>
>     <amq:networkConnectors>
>
>       <!-- by default just auto discover the other brokers -->
>
>       <amq:networkConnector uri="multicast://default"/>
>
>       <!--
>
>       <amq:networkConnector
> uri="static://(tcp://host1:61616,tcp://host2:61616)"/>
>
>       -->
>
>     </amq:networkConnectors>

You will probably also need to disable the network connector above
that is using multicast. And I'm also not sure how ActiveMQ will
behave with a configuration for a TCP transport connector if you say
you have no network and you're configuring a TCP transport connector.
I think it will be fine as long as the TCP/IP stack is configured.

Bruce
-- 
perl -e 'print
unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/

Reply via email to