FAQ
Setup:
3 servers each with apache-activemq-5.9-20130517.104100-65-bin and
Zookeeper-3.4.5 running.

         <persistenceAdapter>
             <replicatedLevelDB
                     directory="${activemq.data}"
                     replicas="1"
                     bind="tcp://0.0.0.0:61619"
                     zkAddress="10.0.0.1:2181,10.0.0.2:2181,10.0.0.3:2181"
                     zkPath="/activemq/leveldb-stores"
                     />
         </persistenceAdapter>

When I start my first amq it becomes a master, then I start node 2 and its
connects/replicates and becomes a slave. When I start my node 3 I get errors
on both slaves:

jvm 1 | WARN | Unexpected session error: java.io.IOException: Connection
reset by peer
jvm 1 | INFO | Connecting to master...
jvm 1 | INFO | Connecting catchup session...
jvm 1 | INFO | Catchup session connected...
jvm 1 | INFO | Slave skipping download of: log/00000000000000b5.log
jvm 1 | INFO | Slave requested: 00000000000000b5.index/MANIFEST-000002
jvm 1 | INFO | Slave requested: 00000000000000b5.index/000003.log
jvm 1 | INFO | Slave requested: 00000000000000b5.index/CURRENT
jvm 1 | INFO | Slave downloaded: log/activemq.log (337604 bytes)
jvm 1 | INFO | Slave downloaded: log/audit.log (0 bytes)
jvm 1 | INFO | Slave downloaded: log/wrapper.log (305182 bytes)
jvm 1 | INFO | Slave downloaded: 00000000000000b5.index/MANIFEST-000002
(50 bytes)
jvm 1 | INFO | Slave downloaded: 00000000000000b5.index/000003.log (553
bytes)
jvm 1 | INFO | Slave downloaded: 00000000000000b5.index/CURRENT (16
bytes)
jvm 1 | INFO | Slave has now caught up

over and over and over...

I do not see errors in any of my syslog,zookeeper.out or activemq.log ...

any ideas?



--
View this message in context: http://activemq.2283324.n4.nabble.com/Trying-out-5-9-with-LevelDB-replication-and-have-errors-tp4667192.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 4 | next ›
Discussion Overview
groupusers @
categoriesactivemq
postedMay 18, '13 at 6:52p
activeMay 19, '13 at 12:24a
posts4
users2
websiteactivemq.apache.org

2 users in discussion

Heimdull: 2 posts Christian Posta: 2 posts

People

Translate

site design / logo © 2022 Grokbase