Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
5.10.0
-
None
-
None
-
jdk: 1.7.0_60-b19
zookeeper: 3.4.6
centos: 6.5
Description
Are configured as follows:(I used this configuration in version of 5.9.1 is ok.)
<persistenceAdapter>
<replicatedLevelDB directory="${activemq.data}/leveldb" replicas="3" bind="tcp://0.0.0.0:0" zkAddress="192.168.65.183:2181,192.168.65.184:2181,192.168.65.185:2181" zkPath="/activemq/leveldb-stores" weight="2"/>
<!-- <kahaDB directory="${activemq.data}/kahadb"/> -->
</persistenceAdapter>
startup log:
[amq@lin-mongo-65-181 bin]$ ./activemq console
INFO: Using default configuration
(you can configure options in one of these file: /etc/default/activemq /home/amq/.activemqrc)
INFO: Invoke the following command to create a configuration file
./activemq setup [ /etc/default/activemq | /home/amq/.activemqrc ]
INFO: Using java '/usr/bin/java'
INFO: Starting in foreground, this is just for debugging purposes (stop process by pressing CTRL+C)
Java Runtime: Oracle Corporation 1.7.0_60 /usr/java/jdk1.7.0_60/jre
Heap sizes: current=2010624k free=1979104k max=5592576k
JVM args: -Xms2G -Xmx6G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=/home/amq/apache-activemq-5.10.0/conf/login.config -Dcom.sun.management.jmxremote.port=11099 -Dcom.sun.management.jmxremote.password.file=/home/amq/apache-activemq-5.10.0/conf/jmx.password -Dcom.sun.management.jmxremote.access.file=/home/amq/apache-activemq-5.10.0/conf/jmx.access -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote -Djava.awt.headless=true -Djava.io.tmpdir=/home/amq/apache-activemq-5.10.0/tmp -Dactivemq.classpath=/home/amq/apache-activemq-5.10.0/conf; -Dactivemq.home=/home/amq/apache-activemq-5.10.0 -Dactivemq.base=/home/amq/apache-activemq-5.10.0 -Dactivemq.conf=/home/amq/apache-activemq-5.10.0/conf -Dactivemq.data=/amq_data
Extensions classpath:
[/home/amq/apache-activemq-5.10.0/lib,/home/amq/apache-activemq-5.10.0/lib/camel,/home/amq/apache-activemq-5.10.0/lib/optional,/home/amq/apache-activemq-5.10.0/lib/web,/home/amq/apache-activemq-5.10.0/lib/extra]
ACTIVEMQ_HOME: /home/amq/apache-activemq-5.10.0
ACTIVEMQ_BASE: /home/amq/apache-activemq-5.10.0
ACTIVEMQ_CONF: /home/amq/apache-activemq-5.10.0/conf
ACTIVEMQ_DATA: /amq_data
Loading message broker from: xbean:activemq.xml
INFO |AbstractApplicationContext.java:510| Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@781efa43: startup date [Wed Jul 02 14:43:11 CST 2014]; root of context hierarchy
INFO |BrokerService.java:636| Using Persistence Adapter: Replicated LevelDB[/amq_data/leveldb, 192.168.65.183:2181,192.168.65.184:2181,192.168.65.185:2181//activemq/leveldb-stores]
INFO |ZKClient.java:343| Starting StateChangeDispatcher
INFO |Environment.java:100| Client environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT
INFO |Environment.java:100| Client environment:host.name=lin-mongo-65-181.ofcardnis
INFO |Environment.java:100| Client environment:java.version=1.7.0_60
INFO |Environment.java:100| Client environment:java.vendor=Oracle Corporation
INFO |Environment.java:100| Client environment:java.home=/usr/java/jdk1.7.0_60/jre
INFO |Environment.java:100| Client environment:java.class.path=/home/amq/apache-activemq-5.10.0/bin/activemq.jar
INFO |Environment.java:100| Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
INFO |Environment.java:100| Client environment:java.io.tmpdir=/home/amq/apache-activemq-5.10.0/tmp
INFO |Environment.java:100| Client environment:java.compiler=<NA>
INFO |Environment.java:100| Client environment:os.name=Linux
INFO |Environment.java:100| Client environment:os.arch=amd64
INFO |Environment.java:100| Client environment:os.version=2.6.32-431.el6.x86_64
INFO |Environment.java:100| Client environment:user.name=amq
INFO |Environment.java:100| Client environment:user.home=/home/amq
INFO |Environment.java:100| Client environment:user.dir=/home/amq/apache-activemq-5.10.0/bin
INFO |ZooKeeper.java:438| Initiating client connection, connectString=192.168.65.183:2181,192.168.65.184:2181,192.168.65.185:2181 sessionTimeout=2000 watcher=org.apache.activemq.leveldb.replicated.groups.ZKClient@63a06d20
WARN |ClientCnxn.java:949| SASL configuration failed: javax.security.auth.login.LoginException: No JAAS configuration section named 'Client' was found in specified JAAS configuration file: '/home/amq/apache-activemq-5.10.0/conf/login.config'. Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it.
INFO |ClientCnxn.java:966| Opening socket connection to server 192.168.65.185/192.168.65.185:2181
WARN |ZKClient.java:222| unprocessed event state: AuthFailed
INFO |ClientCnxn.java:849| Socket connection established to 192.168.65.185/192.168.65.185:2181, initiating session
INFO |ClientCnxn.java:1207| Session establishment complete on server 192.168.65.185/192.168.65.185:2181, sessionid = 0x346e18687c1164c, negotiated timeout = 4000
INFO |Log.scala:93| Not enough cluster members connected to elect a master.
INFO |Log.scala:93| Not enough cluster members connected to elect a master.
INFO |Log.scala:93| Not enough cluster members have reported their update positions yet.
INFO |Log.scala:93| Promoted to master
WARN |ChangeListener.scala:102| listeners are taking too long to process the events
WARN |ChangeListener.scala:102| listeners are taking too long to process the events
INFO |Log.scala:93| Using the pure java LevelDB implementation.
INFO |BrokerService.java:2561| No IOExceptionHandler registered, ignoring IO exception
java.io.IOException: com.google.common.base.Objects.firstNonNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:39)[activemq-client-5.10.0.jar:5.10.0]
at org.apache.activemq.leveldb.LevelDBClient.might_fail(LevelDBClient.scala:552)[activemq-leveldb-store-5.10.0.jar:5.10.0]
at org.apache.activemq.leveldb.LevelDBClient.replay_init(LevelDBClient.scala:657)[activemq-leveldb-store-5.10.0.jar:5.10.0]
at org.apache.activemq.leveldb.LevelDBClient.start(LevelDBClient.scala:558)[activemq-leveldb-store-5.10.0.jar:5.10.0]
at org.apache.activemq.leveldb.DBManager.start(DBManager.scala:648)[activemq-leveldb-store-5.10.0.jar:5.10.0]
at org.apache.activemq.leveldb.LevelDBStore.doStart(LevelDBStore.scala:235)[activemq-leveldb-store-5.10.0.jar:5.10.0]
at org.apache.activemq.leveldb.replicated.MasterLevelDBStore.doStart(MasterLevelDBStore.scala:110)[activemq-leveldb-store-5.10.0.jar:5.10.0]
at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)[activemq-client-5.10.0.jar:5.10.0]
at org.apache.activemq.leveldb.replicated.ElectingLevelDBStore$$anonfun$start_master$1.apply$mcV$sp(ElectingLevelDBStore.scala:226)[activemq-leveldb-store-5.10.0.jar:5.10.0]
at org.fusesource.hawtdispatch.package$$anon$4.run(hawtdispatch.scala:330)[hawtdispatch-scala-2.11-1.21.jar:1.21]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_60]
at java.lang.Thread.run(Thread.java:745)[:1.7.0_60]
INFO |Log.scala:93| Stopped LevelDB[/amq_data/leveldb]
Attachments
Issue Links
- duplicates
-
AMQ-5105 leveldb fails to startup because of NoSuchMethodError
- Resolved