activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <bur...@spinn3r.com>
Subject Re: Replicated LevelDB store issues
Date Tue, 23 Sep 2014 16:28:52 GMT
Look at the cause … see below.

It’s a NoSuchMethodError…

You have the wrong version of guava sitting around… or one of the .jars
you’re using is newer and compiled for a newer version of guava :-(

I know.. not fun.  I think this is an issue regarding 17 removing this
method but 15 having it and a LOT of libraries use this version.

But if you have a newer jar using 17 you would have to regress...

> Caused by: java.lang.NoSuchMethodError:
com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
        at org.iq80.leveldb.impl.MMapLogWriter.close(MMapLogWriter.java:83)
        at
org.iq80.leveldb.impl.VersionSet.initializeIfNeeded(VersionSet.java:111)
        at org.iq80.leveldb.impl.VersionSet.<init>(VersionSet.java:91)
        at org.iq80.leveldb.impl.DbImpl.<init>(DbImpl.java:178)
        at org.iq80.leveldb.impl.Iq80DBFactory.open(Iq80DBFactory.java:59)
        at
org.apache.activemq.leveldb.LevelDBClient$$anonfun$replay_
init$2.apply$mcV$sp(LevelDBClient.scala:661)
        at
org.apache.activemq.leveldb.LevelDBClient$$anonfun$replay_
init$2.apply(LevelDBClient.scala:657)
        at
org.apache.activemq.leveldb.LevelDBClient$$anonfun$replay_
init$2.apply(LevelDBClient.scala:657)
        at
org.apache.activemq.leveldb.LevelDBClient.might_fail(
LevelDBClient.scala:549)
        ... 11 more

On Tue, Sep 23, 2014 at 2:29 AM, davidvg77 <david.visiedo@gmail.com> wrote:

> Hi all,
>
>
> I'm getting this exception when starting ActiveMQ with following
> persistence
> configuration.
> Currently, an instance is elected as a master, but in that moment, i get
> this exception:
>
> java.io.IOException:
> com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
>         at
>
> org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:39)
>         at
>
> org.apache.activemq.leveldb.LevelDBClient.might_fail(LevelDBClient.scala:552)
>         at
>
> org.apache.activemq.leveldb.LevelDBClient.replay_init(LevelDBClient.scala:657)
>         at
> org.apache.activemq.leveldb.LevelDBClient.start(LevelDBClient.scala:558)
>         at org.apache.activemq.leveldb.DBManager.start(DBManager.scala:648)
>         at
> org.apache.activemq.leveldb.LevelDBStore.doStart(LevelDBStore.scala:235)
>         at
>
> org.apache.activemq.leveldb.replicated.MasterLevelDBStore.doStart(MasterLevelDBStore.scala:110)
>         at
> org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)
>         at
>
> org.apache.activemq.leveldb.replicated.ElectingLevelDBStore$$anonfun$start_master$1.apply$mcV$sp(ElectingLevelDBStore.scala:226)
>         at
> org.fusesource.hawtdispatch.package$$anon$4.run(hawtdispatch.scala:330)
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:701)
> Caused by: java.lang.NoSuchMethodError:
> com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
>         at org.iq80.leveldb.impl.MMapLogWriter.close(MMapLogWriter.java:83)
>         at
> org.iq80.leveldb.impl.VersionSet.initializeIfNeeded(VersionSet.java:111)
>         at org.iq80.leveldb.impl.VersionSet.<init>(VersionSet.java:91)
>         at org.iq80.leveldb.impl.DbImpl.<init>(DbImpl.java:178)
>         at org.iq80.leveldb.impl.Iq80DBFactory.open(Iq80DBFactory.java:59)
>         at
>
> org.apache.activemq.leveldb.LevelDBClient$$anonfun$replay_init$2.apply$mcV$sp(LevelDBClient.scala:661)
>         at
>
> org.apache.activemq.leveldb.LevelDBClient$$anonfun$replay_init$2.apply(LevelDBClient.scala:657)
>         at
>
> org.apache.activemq.leveldb.LevelDBClient$$anonfun$replay_init$2.apply(LevelDBClient.scala:657)
>         at
>
> org.apache.activemq.leveldb.LevelDBClient.might_fail(LevelDBClient.scala:549)
>         ... 11 more
>
> Persistence configuration:
>         <persistenceAdapter>
>
>                 <replicatedLevelDB
>                       directory="activemq-data"
>                       replicas="3"
>                       bind="tcp://0.0.0.0:8888"
>                       zkAddress="172.0.3.25:2181"
>                       zkPassword=""
>                         securityToken="abcd"
>                       zkPath="/activemq/leveldb-stores"
>               />
>
>         </persistenceAdapter>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Replicated-LevelDB-store-issues-tp4685793.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message