You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Raghu Nagaraj Setty (JIRA)" <ji...@apache.org> on 2013/10/21 10:44:43 UTC
[jira] [Commented] (APLO-123) IQ80 LevelDB implementation used on
Windows hangs the broker
[ https://issues.apache.org/jira/browse/APLO-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800470#comment-13800470 ]
Raghu Nagaraj Setty commented on APLO-123:
------------------------------------------
Hi Hiram,
Currently I am using active mq 5.8.0 and i want to use jni based driver for the levelDB persistence adapter. But I am unable to do it. Even after assigning
<persistenceAdapter>
<levelDB directory="D:/workspace/AMQ5.8.0Data/leveldb" indexFactory="org.fusesource.leveldbjni.JniDBFactory"/>
</persistenceAdapter>
in the activemq.xml it throws the following exception.
ERROR | Failed to start Apache ActiveMQ (localhost, null). Reason: java.lang.Exception: Could not load any of the index factory classes: org.fusesource.leveldbjni.JniDBFactory | org.apache.activemq.broker.BrokerService | main
java.lang.Exception: Could not load any of the index factory classes: org.fusesource.leveldbjni.JniDBFactory
at org.apache.activemq.leveldb.LevelDBClient$$anonfun$start$6.apply(LevelDBClient.scala:499)
at org.apache.activemq.leveldb.LevelDBClient$$anonfun$start$6.apply(LevelDBClient.scala:499)
at scala.Option.getOrElse(Option.scala:120)
at org.apache.activemq.leveldb.LevelDBClient.start(LevelDBClient.scala:499)
at org.apache.activemq.leveldb.DBManager.start(DBManager.scala:547)
at org.apache.activemq.leveldb.LevelDBStore.doStart(LevelDBStore.scala:209)
at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)
at org.apache.activemq.broker.BrokerService.doStartPersistenceAdapter(BrokerService.java:598)
at org.apache.activemq.broker.BrokerService.startPersistenceAdapter(BrokerService.java:587)
at org.apache.activemq.broker.BrokerService.start(BrokerService.java:552)
at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43
> IQ80 LevelDB implementation used on Windows hangs the broker
> ------------------------------------------------------------
>
> Key: APLO-123
> URL: https://issues.apache.org/jira/browse/APLO-123
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Components: apollo-leveldb
> Environment: Windows, and any other OS not supported by the leveldb-jni module.
> Reporter: Hiram Chirino
> Assignee: Hiram Chirino
> Fix For: 1.0
>
>
> If the leveldb-jni module cannot be loaded (typically because the JNI bits have not been compiled for your OS), then Apollo falls back to a pure java implementation of leveldb: https://github.com/dain/leveldb
> Currently issue #4 at https://github.com/dain/leveldb/issues/4
> Is causing the implementation to lockup, which in turn causes Apollo to lockup when it's doing persistence operations.
--
This message was sent by Atlassian JIRA
(v6.1#6144)