activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davidvg77 <david.visi...@gmail.com>
Subject Replicated LevelDB store issues
Date Tue, 23 Sep 2014 09:29:51 GMT
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.

Mime
View raw message