activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Nygma" <profoundmyst...@gmail.com>
Subject Re: Exception when starting activemq 4.1.1
Date Thu, 31 May 2007 11:52:58 GMT
Thanks a lot Jonas. The annoying exception message has gone away after
making the suggested change.

-Eric.

On 5/31/07, Jonas Lim <jlim@exist.com> wrote:
>
> Hi,
>
> Try disabling mulitcast discovery in the activemq.xml :
>
>     <transportConnectors>
>        <transportConnector name="openwire" uri="tcp://localhost:61616"/>
>   <!--  discoveryUri="multicast://default"/-->
>     </transportConnectors>
>
>
> Regards,
> Jonas
>
> Eric Nygma wrote:
> > Hi,
> >
> > I have downloaded Apache ActiveMQ 4.1.1 on windows.After following the
> > setup
> > instructions. I executed the apache-activemq-4.1.1/bin/activemq.bat
> > script :
> > I got the following output :
> >
> > ACTIVEMQ_HOME: D:\installs\apache-activemq-4.1.1\bin\..
> > ACTIVEMQ_BASE: D:\installs\apache-activemq-4.1.1\bin\..
> > Loading message broker from: xbean:activemq.xml
> > INFO  BrokerService                  - ActiveMQ 4.1.1 JMS Message Broker
> > (localhost) is starting
> > INFO  BrokerService                  - For help or more information
> > please
> > see: http://incubator.apache.org/activemq/
> > INFO  ManagementContext              - JMX consoles can connect to
> > service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
> > INFO  JDBCPersistenceAdapter         - Database driver recognized:
> > [apache_derby_embedded_jdbc_driver]
> > INFO  DefaultDatabaseLocker          - Attempting to acquire the
> > exclusive
> > lock to become the Master broker
> > INFO  DefaultDatabaseLocker          - Becoming the master on
> dataSource:
> > org.apache.derby.jdbc.EmbeddedDataSource@63a721
> > INFO  JournalPersistenceAdapter      - Journal Recovery Started from:
> > Active
> > Journal: using 5 x 20.0 Megs at: D:\installs\apache-
> > activemq-4.1.1\activemq-data\journal
> > INFO  JournalPersistenceAdapter      - Journal Recovered: 0 message(s)
> in
> > transactions recovered.
> > INFO  TransportServerThreadSupport   - Listening for connections at:
> > tcp://MCNAME-PC:61616
> > ERROR MulticastDiscoveryAgent        - Failed to advertise our service:
> > default.ActiveMQ-4.alive.%localhost%tcp://MCNAME-PC:61616
> > java.net.BindException: Cannot assign requested address: Datagram send
> > failed
> >    at java.net.PlainDatagramSocketImpl.send(Native Method)
> >    at java.net.DatagramSocket.send(DatagramSocket.java:612)
> >    at
> >
> org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryAgent.doAdvertizeSelf
> >
> > (MulticastDiscoveryAgent.java:311)
> >    at
> >
> org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryAgent.start
> >
> > (MulticastDiscoveryAgent.java:229)
> >    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)
> >    at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(
> > XBeanBrokerService.java:47)
> >    at
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods
> >
> > (AbstractAutowireCapableBeanFactory.java:1062)
> >    at
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean
> >
> > (AbstractAutowireCapableBeanFactory.java:1029)
> >    at
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean
> >
> > (AbstractAutowireCapableBeanFactory.java:420)
> >    at
> >
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(
> >
> > AbstractBeanFactory.java:245)
> >    at
> >
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton
> >
> > (DefaultSingletonBeanRegistry.java:141)
> >    at
> > org.springframework.beans.factory.support.AbstractBeanFactory.getBean
> > (AbstractBeanFactory.java:242)
> >    at
> > org.springframework.beans.factory.support.AbstractBeanFactory.getBean
> > (AbstractBeanFactory.java:156)
> >    at
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons
> >
> > (DefaultListableBeanFactory.java:290)
> >    at
> > org.springframework.context.support.AbstractApplicationContext.refresh(
> > AbstractApplicationContext.java:348)
> >    at org.apache.xbean.spring.context.ClassPathXmlApplicationContext
> > .<init>(ClassPathXmlApplicationContext.java:161)
> >    at org.apache.xbean.spring.context.ClassPathXmlApplicationContext
> > .<init>(ClassPathXmlApplicationContext.java:51)
> >    at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(
> > XBeanBrokerFactory.java:41)
> >    at org.apache.activemq.broker.BrokerFactory.createBroker(
> > BrokerFactory.java:57)
> >    at org.apache.activemq.console.command.StartCommand.startBroker(
> > StartCommand.java:82)
> >    at org.apache.activemq.console.command.StartCommand.runTask(
> > StartCommand.java:47)
> >    at org.apache.activemq.console.command.AbstractCommand.execute(
> > AbstractCommand.java:50)
> >    at org.apache.activemq.console.command.ShellCommand.runTask(
> > ShellCommand.java:65)
> >    at org.apache.activemq.console.command.AbstractCommand.execute(
> > AbstractCommand.java:50)
> >    at org.apache.activemq.console.command.ShellCommand.main(
> > ShellCommand.java:46)
> >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >    at sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:39)
> >    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:25)
> >    at java.lang.reflect.Method.invoke(Method.java:585)
> >    at org.apache.activemq.console.Main.runTaskClass(Main.java:202)
> >    at org.apache.activemq.console.Main.main(Main.java:91)
> > INFO  TransportConnector             - Connector openwire Started
> > INFO  TransportServerThreadSupport   - Listening for connections at:
> > ssl://MCNAME-PC:61617
> > INFO  TransportConnector             - Connector ssl Started
> > INFO  TransportServerThreadSupport   - Listening for connections at:
> > stomp://MCNAME-PC:61613
> > INFO  TransportConnector             - Connector stomp Started
> > INFO  NetworkConnector               - Network Connector default-nc
> > Started
> > INFO  BrokerService                  - ActiveMQ JMS Message Broker
> > (localhost, ID:MCNAMEX-PC-53927-1180609067076-1:0) started
> >
> > Are the exceptions above serious. How can they be overcome ?
> >
> > Thanks in advance.
> > Regards
> > E/
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message