activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bmo <baraa.moha...@yansys-medical.fr>
Subject activemq cluster Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0'
Date Wed, 25 May 2016 09:22:53 GMT
I'm trying to deploy a jwebsocket cluster which uses activemq cluster. I've
configured my activemq.xml as in the attached file. I've added the needed
plugins : jWebSocketActiveMQPlugIn-1.0.jar,jWebSocketJMSPlugIn-1.0.jar,
mongodb-driver-3.2.2.jar to my lib folder in the activemq installation
folder. When I try to "./activemq start" I get the following errors in the
log file.  Error creating bean with name
'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path
resource [activemq.xml]: Cannot create inner bean 'jwsClusterPlugIn' of type
[org.jwebsocket.amq.AMQClusterPlugIn] while setting bean property 'plugins'
with key [0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jwsClusterPlugIn' defined in class path resource [activemq.xml]:
Cannot create inner bean 'mongodbConnection0' of type
[com.mongodb.MongoClient] while setting bean property 'mongo'; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'mongodbConnection0' defined in class path resource
[activemq.xml]: Resolution of declared constructors on bean Class
[com.mongodb.MongoClient] from ClassLoader
[java.net.URLClassLoader@39582e88] failed; nested exception is
java.lang.NoClassDefFoundError: org/bson/codecs/Decoder |
org.apache.activemq.xbean.XBeanBrokerFactory$1 | mainError creating bean
with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class
path resource [activemq.xml]: Cannot create inner bean 'jwsClusterPlugIn' of
type [org.jwebsocket.amq.AMQClusterPlugIn] while setting bean property
'plugins' with key [0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jwsClusterPlugIn' defined in class path resource [activemq.xml]:
Cannot create inner bean 'mongodbConnection0' of type
[com.mongodb.MongoClient] while setting bean property 'mongo'; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'mongodbConnection0' defined in class path resource
[activemq.xml]: Resolution of declared constructors on bean Class
[com.mongodb.MongoClient] from ClassLoader
[java.net.URLClassLoader@39582e88] failed; nested exception is
java.lang.NoClassDefFoundError: org/bson/codecs/Decoder |
org.apache.activemq.xbean.XBeanBrokerFactory | mainError creating bean with
name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path
resource [activemq.xml]: Cannot create inner bean 'jwsClusterPlugIn' of type
[org.jwebsocket.amq.AMQClusterPlugIn] while setting bean property 'plugins'
with key [0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jwsClusterPlugIn' defined in class path resource [activemq.xml]:
Cannot create inner bean 'mongodbConnection0' of type
[com.mongodb.MongoClient] while setting bean property 'mongo'; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'mongodbConnection0' defined in class path resource
[activemq.xml]: Resolution of declared constructors on bean Class
[com.mongodb.MongoClient] from ClassLoader
[java.net.URLClassLoader@39582e88] failed; nested exception is
java.lang.NoClassDefFoundError: org/bson/codecs/DecoderI can post the whole
error message of needed. I don't know what I'm doing wrong and I really need
your help please, Thanks in advance, Baraa



--
View this message in context: http://activemq.2283324.n4.nabble.com/activemq-cluster-Error-creating-bean-with-name-org-apache-activemq-xbean-XBeanBrokerService-0-tp4712344.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message