Created attachment 575183 [details] HornetQ configuration patch file When one uses -b argument to run.sh to set the bind address to the server with value of "0.0.0.0" JMS clients are unable to connect to the JMS server and following exception ("javax.jms.JMSException: Failed to create session factory") is thrown when HornetQ is used as JMS provider. [java] Caused by: HornetQException[errorCode=2 message=Cannot connect to server(s). Tried with all available servers.] [java] at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:779) [java] at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:601) [java] ... 18 more This is caused by connectors' and acceptors' host taken from "jboss.bind.address" property. It should rather use "jboss.esb.bind.address" property instead. Attached is a patch for hornetq-configuration.xml that fixes the issue.
Resolved with revision 11137 of: soa-p/src/main/patches/eap/patch_hornetq_conf.xml Commit message: BZ 809916 Replace: ${jboss.bind.address:localhost} with: ${jboss.esb.bind.address:localhost} in all hornetq-configuration.xml files.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: An exception is thrown when attempting to connect to the JMS server with HornetQ. The error occurs when the server's address is bound to 0.0.0.0. It is caused by connectors' and acceptors' host taken from "jboss.bind.address" property.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -An exception is thrown when attempting to connect to the JMS server with HornetQ. The error occurs when the server's address is bound to 0.0.0.0. It is caused by connectors' and acceptors' host taken from "jboss.bind.address" property.+An exception was thrown when attempting to connect to the JMS server with HornetQ. The error occurred when the server's address was bound to 0.0.0.0. It was caused by the connectors' and acceptors' host being derived from the "jboss.bind.address" property.
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.