activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TC <thiam.che...@gmail.com>
Subject Cannot start ActiveMQ network broker
Date Wed, 21 Sep 2016 06:15:12 GMT
Hi, 

After creating the network of brokers, i.e. about 4 of them on the same
laptop. 
I can start them without any problem. 

Not sure what I have changed in between - not it doesnt start. 

Here is error exception - any guides on how to troubleshoot more


Loading message broker from: xbean:activemq.xml
ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
java.io
.IOException: Could not load xbean factory:java.lang.NoClassDefFoundError:
org/s
pringframework/beans/BeansException
java.lang.RuntimeException: Failed to execute start task. Reason:
java.io.IOExce
ption: Could not load xbean factory:java.lang.NoClassDefFoundError:
org/springfr
amework/beans/BeansException
        at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand
.java:91)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
ommand.java:57)
        at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand
.java:150)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
ommand.java:57)
        at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.ja
va:104)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
        at org.apache.activemq.console.Main.main(Main.java:115)
Caused by: java.io.IOException: Could not load xbean
factory:java.lang.NoClassDe
fFoundError: org/springframework/beans/BeansException
        at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport
.java:27)
        at
org.apache.activemq.broker.BrokerFactory.createBrokerFactoryHandler(B
rokerFactory.java:43)
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.j
ava:70)
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.j
ava:54)
        at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand
.java:87)
        ... 10 more
Caused by: java.lang.NoClassDefFoundError:
org/springframework/beans/BeansExcept
ion
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
        at java.lang.Class.getConstructor0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at
org.apache.activemq.util.FactoryFinder$StandaloneObjectFactory.create
(FactoryFinder.java:61)
        at
org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder.java
:146)
        at
org.apache.activemq.broker.BrokerFactory.createBrokerFactoryHandler(B
rokerFactory.java:41)
        ... 13 more
Caused by: java.lang.ClassNotFoundException:
org.springframework.beans.BeansExce
ption
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 20 more
ERROR: java.io.IOException: Could not load xbean
factory:java.lang.NoClassDefFou
ndError: org/springframework/beans/BeansException
java.io.IOException: Could not load xbean
factory:java.lang.NoClassDefFoundError
: org/springframework/beans/BeansException
        at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport
.java:27)
        at
org.apache.activemq.broker.BrokerFactory.createBrokerFactoryHandler(B
rokerFactory.java:43)
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.j
ava:70)
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.j
ava:54)
        at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand
.java:87)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
ommand.java:57)
        at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand
.java:150)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
ommand.java:57)
        at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.ja
va:104)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
        at org.apache.activemq.console.Main.main(Main.java:115)
Caused by: java.lang.NoClassDefFoundError:
org/springframework/beans/BeansExcept
ion
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
        at java.lang.Class.getConstructor0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at
org.apache.activemq.util.FactoryFinder$StandaloneObjectFactory.create
(FactoryFinder.java:61)
        at
org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder.java
:146)
        at
org.apache.activemq.broker.BrokerFactory.createBrokerFactoryHandler(B
rokerFactory.java:41)
        ... 13 more
Caused by: java.lang.ClassNotFoundException:
org.springframework.beans.BeansExce
ption
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 20 more


Thanks 





--
View this message in context: http://activemq.2283324.n4.nabble.com/Cannot-start-ActiveMQ-network-broker-tp4716679.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message