From dev-return-22423-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Sun Sep 19 19:07:21 2010 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 33654 invoked from network); 19 Sep 2010 19:07:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Sep 2010 19:07:21 -0000 Received: (qmail 79177 invoked by uid 500); 19 Sep 2010 19:07:21 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 79162 invoked by uid 500); 19 Sep 2010 19:07:20 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 79147 invoked by uid 99); 19 Sep 2010 19:07:20 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Sep 2010 19:07:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Sep 2010 19:07:02 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8JJ6fDi026089 for ; Sun, 19 Sep 2010 19:06:41 GMT Message-ID: <26969559.24701284923200991.JavaMail.jira@thor> Date: Sun, 19 Sep 2010 15:06:40 -0400 (EDT) From: "Benson Margulies (JIRA)" To: dev@activemq.apache.org Subject: [jira] Closed: (AMQ-2926) NoSuchMethod exception in KahaDB launching 5.4 In-Reply-To: <4153747.24681284922720371.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benson Margulies closed AMQ-2926. --------------------------------- Resolution: Working as Designed This results from two versions of AMQ in the classpath. > NoSuchMethod exception in KahaDB launching 5.4 > ---------------------------------------------- > > Key: AMQ-2926 > URL: https://issues.apache.org/activemq/browse/AMQ-2926 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.4.0 > Reporter: Benson Margulies > > Attempting to launch the broker with 5.4.0 spills a rather scary exception into the console. It also appears that this prevents results in a non-working environment. > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at demo.server.ServerJMS.main(ServerJMS.java:53) > Caused by: java.lang.NoSuchMethodError: org.apache.kahadb.journal.Journal.setSizeAccumulator(Ljava/util/concurrent/atomic/AtomicLong;)V > at org.apache.activemq.store.kahadb.MessageDatabase.createJournal(MessageDatabase.java:1638) > at org.apache.activemq.store.kahadb.MessageDatabase.getJournal(MessageDatabase.java:1743) > at org.apache.activemq.store.kahadb.MessageDatabase.open(MessageDatabase.java:308) > at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:353) > at org.apache.activemq.store.kahadb.MessageDatabase.doStart(MessageDatabase.java:217) > at org.apache.activemq.store.kahadb.KahaDBStore.doStart(KahaDBStore.java:178) > at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53) > at org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.start(KahaDBPersistenceAdapter.java:186) > at org.apache.activemq.broker.BrokerService.start(BrokerService.java:482) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.