activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@apache.org>
Subject [jira] Closed: (AMQ-2926) NoSuchMethod exception in KahaDB launching 5.4
Date Sun, 19 Sep 2010 19:06:40 GMT

     [ 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.


Mime
View raw message