You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by youhaodeyi <yo...@gmail.com> on 2009/11/25 10:10:18 UTC

Start servicemix error

I download servicemix 3.3.1 and start it in a Linux system. I didn't do
anything change but when I start it I got this error:

java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)

Starting Apache ServiceMix ESB: 3.3.1

Loading Apache ServiceMix from servicemix.xml on the CLASSPATH
ERROR - BrokerService                  - Failed to start ActiveMQ JMS
Message Broker. Reason: java.net.SocketException: No such device
java.net.SocketException: No such device
	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:304)
	at
org.apache.activemq.network.DiscoveryNetworkConnector.handleStart(DiscoveryNetworkConnector.java:164)


Does anyone know this error? It seems that it is a activemq error. How can I
change the configure file to fix this?
-- 
View this message in context: http://old.nabble.com/Start-servicemix-error-tp26509482p26509482.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Start servicemix error

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

This is caused by multicasts are disabled on your machine, take a look  
at [1]

[1]http://servicemix.apache.org/javanetsocketexception-error-setting-options.html

Freeman
On 2009-11-25, at 下午5:10, youhaodeyi wrote:

>
> I download servicemix 3.3.1 and start it in a Linux system. I didn't  
> do
> anything change but when I start it I got this error:
>
> java version "1.6.0_16"
> Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
> Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
>
> Starting Apache ServiceMix ESB: 3.3.1
>
> Loading Apache ServiceMix from servicemix.xml on the CLASSPATH
> ERROR - BrokerService                  - Failed to start ActiveMQ JMS
> Message Broker. Reason: java.net.SocketException: No such device
> java.net.SocketException: No such device
> 	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:304)
> 	at
> org 
> .apache 
> .activemq 
> .network 
> .DiscoveryNetworkConnector 
> .handleStart(DiscoveryNetworkConnector.java:164)
>
>
> Does anyone know this error? It seems that it is a activemq error.  
> How can I
> change the configure file to fix this?
> -- 
> View this message in context: http://old.nabble.com/Start-servicemix-error-tp26509482p26509482.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>


-- 
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com