Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A6EFC200A5B for ; Wed, 25 May 2016 11:59:54 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A5E1F160A18; Wed, 25 May 2016 09:59:54 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EB912160A17 for ; Wed, 25 May 2016 11:59:53 +0200 (CEST) Received: (qmail 89450 invoked by uid 500); 25 May 2016 09:59:48 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 89439 invoked by uid 99); 25 May 2016 09:59:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2016 09:59:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5E9961804C3 for ; Wed, 25 May 2016 09:59:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.966 X-Spam-Level: *** X-Spam-Status: No, score=3.966 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.652, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id R5a8HhxWY2DG for ; Wed, 25 May 2016 09:59:45 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTP id 04CA75F3F2 for ; Wed, 25 May 2016 09:59:44 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mbob.nabble.com (Postfix) with ESMTP id 32096284EBDD for ; Wed, 25 May 2016 02:42:25 -0700 (PDT) Date: Wed, 25 May 2016 02:22:53 -0700 (PDT) From: bmo To: users@activemq.apache.org Message-ID: <1464168173532-4712344.post@n4.nabble.com> Subject: activemq cluster Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6052_544182989.1464168173535" archived-at: Wed, 25 May 2016 09:59:54 -0000 ------=_Part_6052_544182989.1464168173535 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. ------=_Part_6052_544182989.1464168173535--