activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "madderla prem kumar (JIRA)" <>
Subject [jira] Created: (AMQ-2270) Activemq lost messages on restart
Date Thu, 28 May 2009 23:32:51 GMT
Activemq lost messages on restart

                 Key: AMQ-2270
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.2.0
            Reporter: madderla prem kumar

Hi , 
   Have two brokers in network AMQ1 and AMQ2 and have lots of virtual topics configured ,
Some consumers exists on some queues on AMQ1 and vice versa . On some queues AMQ2 have a consumers
with a selector and hence consume a certain percentage of messages and the queue gets filled
up every time my test program runs . After a certain number of test runs when the queues on
AMQ2 have about 2800 pending messages , I have observerd that the messages got forwarded over
to AMQ1 though AMQ1 have no consumers on these queues .
After certain point producer cannot send any more messages to AMQ1 and dint see any exceptions
on the producer side (no activity on Queues in admin console) .
Killed AMQ1 and tried to restart it , It took long time to restart and issued a kill command
again and then restarted .
Now all my pending messages on AMQ1 have disappeared and this is what i see on console during
start up .

INFO  BrokerService                  - Using Persistence Adapter: AMQPersistenceAdapter(/home/prem/software/apache-activemq-5.2.0/data.1)
INFO  AMQPersistenceAdapter          - AMQStore starting using directory: /home/prem/software/apache-activemq-5.2.0/data.1
INFO  KahaStore                      - Kaha Store using data directory /home/prem/software/apache-activemq-5.2.0/data.1/kr-store/state
INFO  AMQPersistenceAdapter          - Active data files: []
WARN  AMQPersistenceAdapter          - The ReferenceStore is not valid - recovering ...
INFO  KahaStore                      - Kaha Store successfully deleted data directory /home/prem/software/apache-activemq-5.2.0/data.1/kr-store/data
INFO  AMQPersistenceAdapter          - Journal Recovery Started from: DataManager:(data-)
INFO  KahaStore                      - Kaha Store using data directory /home/prem/software/apache-activemq-5.2.0/data.1/kr-store/data

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message