I working on configuring Qpid Java Broker 0.28 for high availability. The 
problem is that the HA server socket does not appear to be listening for 
connections. Qpid starts and I can send and receive messages but a second node 
also starts active. Using netstat to see the listening sockets does not show 
the HA server socket listening.

Here are the portions of the config files I think are needed:

config.json:
  "virtualhosts" : [ {
    "name" : "default",
    "id" : "515b8d5b-e7bc-480f-b02a-b49ebc49e355",
    "type" : "BDB_HA",
    "configPath" : "/opt/emx/qpid/conf/virtualhosts.xml"
  } ]

virtualhosts.xml:
<virtualhosts>
                <virtualhost>
                                <name>default</name>
                                <default>
                                                <store>
                                                                
<class>org.apache.qpid.server.store.berkeleydb.BDBMessageStore</class>
                                                                
<environment-path>/opt/emx/qpid/data/default</environment-path>
                                                                <envConfig>
                                                                                
<name>je.cleaner.threads</name>
                                                                                
<value>2</value>
                                                                </envConfig>
                                                                <envConfig>
                                                                                
<name>je.log.fileMax</name>
                                                                                
<value>5000000</value>
                                                                </envConfig>
                                                                
<highAvailability>
                                                                                
<groupName>emx</groupName>
                                                                                
<nodeName>QpidNode1</nodeName>
                                                                                
<nodeHostPort>localhost:5001</nodeHostPort>
                                                                                
<helperHostPort>localhost:5001</helperHostPort>
                                                                                
<designatedPrimary>true</designatedPrimary>
                                                                
</highAvailability>
                                                </store>
                                </default>
                </virtualhost>
</virtualhosts>

Any ideas what I'm missing?

Thanks, Mark


 NOTICE: This email message is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information. Any unauthorized 
review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email and destroy all 
copies of the original message.

Reply via email to