activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bmo <baraa.moha...@yansys-medical.fr>
Subject Re: activemq cluster Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0'
Date Thu, 26 May 2016 06:27:31 GMT
Thank you very much for your answer that helped me a lot, I'll try to add
the needed dependencies for the mongoDB.
For the moment I deactivated my plugin in order to test the activemq
cluster first.
I have a question which is more related to activemq cluster I'll open a new
post for that.

Thank you again,
Baraa

Baraa MOHAMAD
Chef de projet, Architecte d'application

<http://yansys-medical.fr/>
YANSYS SAS
BIOPARC-VICHY
03270 HAUTERIVE

2016-05-25 14:20 GMT+02:00 Tim Bain [via ActiveMQ] <
ml-node+s2283324n4712352h59@n4.nabble.com>:

> With nested exceptions, the deepest-nested one (the one at the bottom of
> the list) is the actual problem.  So for your stack traces, the actual
> problem is java.lang.NoClassDefFoundError: org/bson/codecs/Decoder
>
> Googling for that, this is the first hit:
>
> http://stackoverflow.com/questions/29729331/how-to-resolve-classnotfoundexception-com-mongodb-connection-bufferprovider
>
> Hopefully that link helps; if not you can do your own search.  Either way,
> your problem is related to MongoDB, not ActiveMQ, so if you have further
> questions, ask them, not us.
> On May 25, 2016 3:59 AM, "bmo" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4712352&i=0>> wrote:
>
> > 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.
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://activemq.2283324.n4.nabble.com/activemq-cluster-Error-creating-bean-with-name-org-apache-activemq-xbean-XBeanBrokerService-0-tp4712344p4712352.html
> To unsubscribe from activemq cluster Error creating bean with name
> 'org.apache.activemq.xbean.XBeanBrokerService#0', click here
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4712344&code=YmFyYWEubW9oYW1hZEB5YW5zeXMtbWVkaWNhbC5mcnw0NzEyMzQ0fDE0MjI1MTAyMjc=>
> .
> NAML
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




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