Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 75139 invoked from network); 25 May 2006 07:33:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 May 2006 07:33:35 -0000 Received: (qmail 8952 invoked by uid 500); 25 May 2006 07:33:35 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 8760 invoked by uid 500); 25 May 2006 07:33:34 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 8751 invoked by uid 99); 25 May 2006 07:33:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 00:33:34 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of james.strachan@gmail.com designates 64.233.166.183 as permitted sender) Received: from [64.233.166.183] (HELO py-out-1112.google.com) (64.233.166.183) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 00:33:33 -0700 Received: by py-out-1112.google.com with SMTP id z59so2562857pyg for ; Thu, 25 May 2006 00:33:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CrTVWaZmi+zfr4OJa8WWyntkcxyLnFXRIl97MKKFM1BjOVMcOl/mktoY6j8bNXLE5mHdaYClCMcr69QFzeU0l6YTzFrNg+FB4USYCZZdsbczmMDE9BP9cC1l2q7l3kRFXPi8PURGTXodZs6tzA7LSU3XktERqgbhtSNynfeK7L8= Received: by 10.35.127.7 with SMTP id e7mr1136753pyn; Thu, 25 May 2006 00:33:12 -0700 (PDT) Received: by 10.35.113.2 with HTTP; Thu, 25 May 2006 00:33:12 -0700 (PDT) Message-ID: Date: Thu, 25 May 2006 08:33:12 +0100 From: "James Strachan" To: activemq-users@geronimo.apache.org Subject: Re: activemq gbean deployment with java.lang.NoSuchMethodError In-Reply-To: <4554112.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4554112.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Which version of the activemq-gbean module are you using? On 5/25/06, SP Liu wrote: > > Recently I try to deploy Activemq 4.0-gbean within Geronimo after ActiveM= Q > 3.0 is disabled.I have already added activemq-core dependency in plan.xml= as > below: > > incubator-activemq > activemq-core > 4.0-RC2 > > > but it is always throwing exception when deployment: > ... > 15:00:06,062 ERROR [GBeanInstanceState] Error while starting; GBean is no= w > in the FAILED state: > objectName=3D"geronimo.server:name=3DActiveMQFour,J2EEServer=3Dgeronimo,J= 2EEApplication=3Dnull,j2eeType=3DJMSServer,J2EEModule=3DMyJMSBroker" > java.lang.NoSuchMethodError: > org.apache.activemq.broker.BrokerService.getPersistenceFactory()Lorg/apac= he/activemq/store/PersistenceAdapterFactory; > at > org.apache.activemq.gbean.BrokerServiceGBeanImpl.doStart(BrokerServiceGBe= anImpl.java:64) > ... > > It is clear that PersistenceAdapterFactory class exists in activemq-core > archive.If i deleted three lines about "persistenceFactory" in > BrokerServiceGBeanImpl.doStart() method and maven the project,the error w= ill > not occur.How to solve this problem? > Thanks! > > SP liu > -- > View this message in context: http://www.nabble.com/activemq+gbean+deploy= ment+with+java.lang.NoSuchMethodError-t1679385.html#a4554112 > Sent from the ActiveMQ - User forum at Nabble.com. > > --=20 James ------- http://radio.weblogs.com/0112098/