You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Anthony Kocherov (Jira)" <ji...@apache.org> on 2020/03/26 06:50:00 UTC

[jira] [Created] (AMQ-7453) Duplex networkConnector failure with mKahaDB after inactive destinations deleted

Anthony Kocherov created AMQ-7453:
-------------------------------------

             Summary: Duplex networkConnector failure with mKahaDB after inactive destinations deleted
                 Key: AMQ-7453
                 URL: https://issues.apache.org/jira/browse/AMQ-7453
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker, KahaDB
    Affects Versions: 5.15.12
         Environment: Windows 10 Home 64-bit
Java 1.8.0_45-b14
ActiveMQ 5.15.12
            Reporter: Anthony Kocherov
         Attachments: bad-remote-activemq.xml, bad-remote-wrapper.log, good-remote-activemq.xml, good-remote-wrapper.log, local-activemq.xml

Cannot re-establish duplex network connection on remote broker with following error:

 
{noformat}
INFO | jvm 1 | 2020/03/21 14:41:32 | ERROR | Failed to create responder end of duplex network bridge Q-bridge@ID:LHC-59471-1584794492297-0:1
INFO | jvm 1 | 2020/03/21 14:41:32 | java.lang.IllegalStateException: PageFile is not loaded
INFO | jvm 1 | 2020/03/21 14:41:32 | at org.apache.activemq.store.kahadb.disk.page.PageFile.assertLoaded(PageFile.java:906)[activemq-kahadb-store-5.15.12.jar:5.15.12]
...{noformat}
{{}}

 

Remote broker is configured to [delete inactive destinations|https://activemq.apache.org/delete-inactive-destinations.html] and uses mKahaDB persistence adapters for different destinations [Automatic Per Destination Persistence Adapter|https://activemq.apache.org/kahadb].

Same setup, but single kahaDB persistence adapter on remote broker is not causing the issue.

See attached files for detailed configuration and logs.

 

*Use case*

Simulate network connection loss and then re-establish duplex communication after remote broker destinations were purged due to inactivity:

start remote broker
start local broker
destination queue created automatically on remote (active consumer from local broker is also shown correctly in web-console)
stop local broker
wait for a while until destination is deleted on remote due to inactivity
start local broker again

 

Original discussion here: [http://activemq.2283324.n4.nabble.com/Duplex-networkConnector-error-with-mKahaDB-after-inactive-destinations-deleted-td4755827.html]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)