activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Black (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-4214) PageFile is not loaded
Date Sat, 08 Dec 2012 12:47:20 GMT
Michael Black created AMQ-4214:
----------------------------------

             Summary: PageFile is not loaded
                 Key: AMQ-4214
                 URL: https://issues.apache.org/jira/browse/AMQ-4214
             Project: ActiveMQ
          Issue Type: Bug
          Components: Message Store
    Affects Versions: 5.7.0
         Environment: Red Hat Enterprise Linux Server release 5.7 (Tikanga)
System had been up for 15 days.
The "Messages Enqueued" in the Topics tab for our topic was negative (~-63000)
The Subscriber tab showed about 14,000 in the Pending Queue Size and was not decreasing. 
Messages Enqueued/Dequeued were incrementing and messages were being delivered (this is a
real-time queue).
So I deleted the Q.  Then we could not recreate the Q and got the message below.
Other topics in the system appeared to be fine.
I had been doing a fair amount of testing on client error recover dropping port connections
and IP connections using the firewall so was aborting connections frequently (though not doing
a lot at once).
A number of times (due to a bug) tried to make a duplication connection to the Q.  I'm not
sure exactly when the topic went haywire.
We are running over a WAN with about 30ms latency.
Can't think of anything else we were doing different than anybody else.
Here's our connection
            ActiveMQConnectionFactory tcf =new ActiveMQConnectionFactory(cs);
            conn = tcf.createTopicConnection();
            String iName = prop.getTopicSubscriberName();
            conn.setClientID(iName);
            session = conn.createTopicSession(false,TopicSession.AUTO_ACKNOWLEDGE);
            topic = session.createTopic(prop.getBigDataRepositoryTopicName());
            conn.start();
            String sName = iName;
            subscriber = session.createDurableSubscriber(topic, sName);


            Reporter: Michael Black


2012-12-07 13:07:06,317 | WARN  | Failed to browse Topic: AllDocumentsTopic | org.apache.activemq.broker.region.Topic
| ActiveMQ Broker[localhost] Scheduler
java.lang.IllegalStateException: PageFile is not loaded
        at org.apache.kahadb.page.PageFile.assertLoaded(PageFile.java:809)
        at org.apache.kahadb.page.PageFile.tx(PageFile.java:303)
        at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore.recover(KahaDBStore.java:523)
        at org.apache.activemq.store.ProxyTopicMessageStore.recover(ProxyTopicMessageStore.java:62)
        at org.apache.activemq.store.ProxyTopicMessageStore.recover(ProxyTopicMessageStore.java:62)
        at org.apache.activemq.broker.region.Topic.doBrowse(Topic.java:570)
        at org.apache.activemq.broker.region.Topic.access$100(Topic.java:63)
        at org.apache.activemq.broker.region.Topic$6.run(Topic.java:695)
        at org.apache.activemq.thread.SchedulerTimerTask.run(SchedulerTimerTask.java:33)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message