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/