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>
</amq:broker>
thanks
sagara ,
On 10/10/07, Bruce Snyder <[EMAIL PROTECTED]> wrote:
> On 10/9/07, Sagara Gunathunga <[EMAIL PROTECTED]> wrote:
> > Hi ,
> > I'm new to the servicemix , when i try start servicemix it gives a error
> > message and does not start . i use jdk 1.5 and i have tried under both
> > Windows and Linux but got same error message , please someone can help me ?
> >
> > error message is given below
> >
> > Starting Apache ServiceMix ESB: 3.1.2
> >
> > Loading Apache ServiceMix from servicemix.xml on the CLASSPATH
> > INFO - ConnectorServerFactoryBean - JMX connector available at:
> > service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
> > ERROR - BrokerService - Failed to start ActiveMQ JMS
> > Message Broker. Reason: java.net.SocketException: error setting options
> > java.net.SocketException: error setting options
> > at java.net.PlainDatagramSocketImpl.join(Native Method)
> > at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java
> > :172)
> > at java.net.MulticastSocket.joinGroup(MulticastSocket.java:276)
> > at
> > org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryAgent.start
> > (MulticastDiscoveryAgent.java:223)
> > at org.apache.activemq.broker.TransportConnector.start(
> > TransportConnector.java:225)
> > at org.apache.activemq.broker.BrokerService.startTransportConnector(
> > BrokerService.java:1519)
> > at org.apache.activemq.broker.BrokerService.startAllConnectors(
> > BrokerService.java:1471)
> > at org.apache.activemq.broker.BrokerService.start(BrokerService.java
> > :402)
>
> It appears that your network configuration is not allowing ActiveMQ to
> start up a multicast discovery agent as defined on the transport
> connector. Edit the conf/activemq.xml file and remove the discoveryUri
> attribute from the <amq:transportConnector> element. After doing this
> try starting up ServiceMix again to see if it starts without any
> errors.
>
> 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/
>
--
Sagara Gunathunga
Blog - ssagara.blogspot.com