For some reason your platform is not allowing multicast to be used.
You might want to disable the multicast & discovery settings from your
activemq.xml.

i.e. using the following inside the <broker> element...

  <transportConnectors>
      <transportConnector name="openwire" uri="tcp://localhost:61616"/>
   </transportConnectors>

   <networkConnectors>
   </networkConnectors>


On 4/30/07, tonyc <[EMAIL PROTECTED]> wrote:

Hi,

when trying to start ACTIVEMQ I keep getting an error message as shown
below. i do not have a clue
what this means. any ideas?

tony

error:
=====

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\anthonyc>cd c:\jms

C:\jms>cd apache-activemq-4.1.1

C:\jms\apache-activemq-4.1.1>bin\activemq

Warning: JAVA_HOME environment variable is not set.

ACTIVEMQ_HOME: C:\jms\apache-activemq-4.1.1\bin\..
ACTIVEMQ_BASE: C:\jms\apache-activemq-4.1.1\bin\..
Loading message broker from: xbean:activemq.xml
INFO  BrokerService                  - ActiveMQ 4.1.1 JMS Message Broker
(localh
ost) 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:r
mi:///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.ap
[EMAIL PROTECTED]
INFO  JournalPersistenceAdapter      - Journal Recovery Started from: Active
Jou
rnal: using 5 x 20.0 Megs at:
C:\jms\apache-activemq-4.1.1\activemq-data\journal

INFO  JournalPersistenceAdapter      - Journal Recovered: 0 message(s) in
transa
ctions recovered.
INFO  TransportServerThreadSupport   - Listening for connections at:
tcp://Hoff-
AnothonyXP:61616
ERROR BrokerService                  - Failed to start ActiveMQ JMS Message
Brok
er. 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(Unknown Source)
        at java.net.MulticastSocket.joinGroup(Unknown Source)
        at
org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryA
gent.start(MulticastDiscoveryAgent.java:223)
        at
org.apache.activemq.broker.TransportConnector.start(TransportConnecto
r.java:225)
        at
org.apache.activemq.broker.BrokerService.startTransportConnector(Brok
erService.java:1519)
        at
org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerSer
vice.java:1471)
        at
org.apache.activemq.broker.BrokerService.start(BrokerService.java:402
)
        at
org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBean
BrokerService.java:47)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:420)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:245)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.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.refres
h(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(XBeanBroker
Factory.java:41)
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.j
ava:57)
        at
org.apache.activemq.console.command.StartCommand.startBroker(StartCom
mand.java:82)
  ....
--
View this message in context: 
http://www.nabble.com/ERROR-STARTING-BROKER-tf3668801s2354.html#a10250992
Sent from the ActiveMQ - User mailing list archive at Nabble.com.




--
James
-------
http://macstrac.blogspot.com/

Reply via email to