activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Davies (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-2194) When starting ActiveMQ, get the error: ERROR BrokerService -Failed to start ActiveMQ JMS Message Broker. Reason: java.net.SocketException: The socket name is not available on this system.
Date Fri, 04 Sep 2009 18:59:21 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-2194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rob Davies updated AMQ-2194:
----------------------------

    Fix Version/s: 5.4.0

> When starting ActiveMQ, get the error: ERROR BrokerService   -Failed to start ActiveMQ
JMS Message Broker. Reason: java.net.SocketException: The socket name is not available on
this system.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2194
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2194
>             Project: ActiveMQ
>          Issue Type: Test
>          Components: Broker
>    Affects Versions: 5.1.0
>            Reporter: FrankWei
>             Fix For: 5.4.0
>
>
> $ activemq
> ACTIVEMQ_HOME: /ngbss/uipapp/apache-activemq-5.1.0
> ACTIVEMQ_BASE: /ngbss/uipapp/apache-activemq-5.1.0
> Loading message broker from: xbean:activemq.xml
> INFO  BrokerService                  - Using Persistence Adapter: AMQPersistenceAdapter(/ngbss/uipapp/apache-activemq-5.
> 1.0/data)
> INFO  BrokerService                  - ActiveMQ 5.1.0 JMS Message Broker (localhost)
is starting
> INFO  BrokerService                  - For help or more information please see: http://activemq.apache.org/
> INFO  AMQPersistenceAdapter          - AMQStore starting using directory: /ngbss/uipapp/apache-activemq-5.1.0/data
> INFO  KahaStore                      - Kaha Store using data directory /ngbss/uipapp/apache-activemq-5.1.0/data/kr-store
> /state
> INFO  AMQPersistenceAdapter          - Active data files: []
> INFO  KahaStore                      - Kaha Store using data directory /ngbss/uipapp/apache-activemq-5.1.0/data/kr-store
> /data
> INFO  TransportServerThreadSupport   - Listening for connections at: tcp://ngcrmift:61616
> ERROR BrokerService                  - Failed to start ActiveMQ JMS Message Broker. Reason:
java.net.SocketException: Th
> e socket name is not available on this system.
> java.net.SocketException: The socket name is not available on this system.
>         at java.net.PlainDatagramSocketImpl.join(Native Method)
>         at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:220)
>         at java.net.MulticastSocket.joinGroup(MulticastSocket.java:288)
>         at org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryAgent.start(MulticastDiscoveryAgent.java:
> 277)
>         at org.apache.activemq.broker.TransportConnector.start(TransportConnector.java:245)
>         at org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:1853)
>         at org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:1801)
>         at org.apache.activemq.broker.BrokerService.start(BrokerService.java:455)
>         at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:50)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowi
> reCapableBeanFactory.java:1288)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireC
> apableBeanFactory.java:1257)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCap
> ableBeanFactory.java:438)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBea
> nFactory.java:383)
>         at java.security.AccessController.doPrivileged(AccessController.java:197)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab
> leBeanFactory.java:353)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegis
> try.java:169)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListable
> BeanFactory.java:400)
>         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplic
> ationContext.java:736)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:96)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:52)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>         at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:111)
>         at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:73)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>         at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:129)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>         at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:79)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:618)
>         at org.apache.activemq.console.Main.runTaskClass(Main.java:222)
>         at org.apache.activemq.console.Main.main(Main.java:106)
> ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: org.springframework.beans.factory.BeanCreationE
> xception: Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0'
defined in class path resource
> [activemq.xml]: Invocation of init method failed; nested exception is java.net.SocketException:
The socket name is not a
> vailable on this system.
> java.lang.RuntimeException: Failed to execute start task. Reason: org.springframework.beans.factory.BeanCreationExceptio
> n: Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined
in class path resource [active
> mq.xml]: Invocation of init method failed; nested exception is java.net.SocketException:
The socket name is not availabl
> e on this system.
>         at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:98)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>         at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:129)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>         at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:79)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:618)
>         at org.apache.activemq.console.Main.runTaskClass(Main.java:222)
>         at org.apache.activemq.console.Main.main(Main.java:106)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.x
> bean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Invocation
of init method failed; nested excep
> tion is java.net.SocketException: The socket name is not available on this system.
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireC
> apableBeanFactory.java:1260)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCap
> ableBeanFactory.java:438)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBea
> nFactory.java:383)
>         at java.security.AccessController.doPrivileged(AccessController.java:197)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab
> leBeanFactory.java:353)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegis
> try.java:169)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListable
> BeanFactory.java:400)
>         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplic
> ationContext.java:736)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:96)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:52)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>         at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:111)
>         at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:73)
>         ... 10 more
> Caused by: java.net.SocketException: The socket name is not available on this system.
>         at java.net.PlainDatagramSocketImpl.join(Native Method)
>         at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:220)
>         at java.net.MulticastSocket.joinGroup(MulticastSocket.java:288)
>         at org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryAgent.start(MulticastDiscoveryAgent.java:
> 277)
>         at org.apache.activemq.broker.TransportConnector.start(TransportConnector.java:245)
>         at org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:1853)
>         at org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:1801)
>         at org.apache.activemq.broker.BrokerService.start(BrokerService.java:455)
>         at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:50)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowi
> reCapableBeanFactory.java:1288)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireC
> apableBeanFactory.java:1257)
>         ... 29 more
> ERROR: java.lang.Exception: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.
> apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]:
Invocation of init method fai
> led; nested exception is java.net.SocketException: The socket name is not available on
this system.
> java.lang.Exception: org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.
> activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Invocation
of init method failed; ne
> sted exception is java.net.SocketException: The socket name is not available on this
system.
>         at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:99)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>         at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:129)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>         at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:79)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:618)
>         at org.apache.activemq.console.Main.runTaskClass(Main.java:222)
>         at org.apache.activemq.console.Main.main(Main.java:106)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.x
> bean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Invocation
of init method failed; nested excep
> tion is java.net.SocketException: The socket name is not available on this system.
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireC
> apableBeanFactory.java:1260)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCap
> ableBeanFactory.java:438)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBea
> nFactory.java:383)
>         at java.security.AccessController.doPrivileged(AccessController.java:197)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab
> leBeanFactory.java:353)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegis
> try.java:169)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListable
> BeanFactory.java:400)
>         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplic
> ationContext.java:736)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:96)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:52)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>         at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:111)
>         at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:73)
>         ... 10 more
> Caused by: java.net.SocketException: The socket name is not available on this system.
>         at java.net.PlainDatagramSocketImpl.join(Native Method)
>         at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:220)
>         at java.net.MulticastSocket.joinGroup(MulticastSocket.java:288)
>         at org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryAgent.start(MulticastDiscoveryAgent.java:
> 277)
>         at org.apache.activemq.broker.TransportConnector.start(TransportConnector.java:245)
>         at org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:1853)
>         at org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:1801)
>         at org.apache.activemq.broker.BrokerService.start(BrokerService.java:455)
>         at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:50)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowi
> reCapableBeanFactory.java:1288)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireC
> apableBeanFactory.java:1257)
>         ... 29 more
> INFO  BrokerService                  - ActiveMQ Message Broker (localhost, null) is shutting
down
> INFO  NetworkConnector               - Network Connector default-nc Stopped
> ERROR MulticastDiscoveryAgent        - Failed to advertise our service: default.ActiveMQ-4.dead.%localhost%tcp://ngcrmif
> t:61616
> java.io.IOException: Cannot reach the destination network.
>         at java.net.PlainDatagramSocketImpl.send(Native Method)
>         at java.net.PlainDatagramSocketImpl.send(PlainDatagramSocketImpl.java:134)
>         at java.net.DatagramSocket.send(DatagramSocket.java:624)
>         at org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryAgent.doAdvertizeSelf(MulticastDiscoveryA
> gent.java:361)
>         at org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryAgent.stop(MulticastDiscoveryAgent.java:2
> 94)
>         at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
>         at org.apache.activemq.broker.TransportConnector.stop(TransportConnector.java:258)
>         at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
>         at org.apache.activemq.broker.BrokerService.stopAllConnectors(BrokerService.java:1379)
>         at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:483)
>         at org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:1724)
>         at org.apache.activemq.broker.BrokerService$3.run(BrokerService.java:1702)
> INFO  TransportConnector             - Connector openwire Stopped
> INFO  TransportConnector             - Connector ssl Stopped
> INFO  TransportConnector             - Connector stomp Stopped
> INFO  TransportConnector             - Connector xmpp Stopped
> INFO  BrokerService                  - ActiveMQ JMS Message Broker (localhost, null)
stopped
> $
> What happened?????

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message