Bug 781082 (SOA-3572) - Incorrect host used in ESB binding service
Summary: Incorrect host used in ESB binding service
Keywords:
Status: VERIFIED
Alias: SOA-3572
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBossESB
Version: 5.2.0 GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER1
: 5.3.0 GA
Assignee: Nobody
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-10 15:51 UTC by Pavel Macik
Modified: 2021-10-15 11:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The incorrect host was used in the ESB binding service. The value of esbHost was set to jboss.bind.address instead of jboss.esb.bind.address.This caused a problem when the server was started with the -b 0.0.0.0 option,(allowing it to bind to any interface). To fix this problem, the name was changed and binding now works as expected.
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBESB-3733 0 Major Closed Incorrect host used in ESB binding service 2012-11-12 14:05:07 UTC
Red Hat Issue Tracker SOA-3572 0 Major Closed Incorrect host used in ESB binding service 2012-11-12 14:05:09 UTC

Description Pavel Macik 2011-11-10 15:51:48 UTC
Workaround: Workaround Exists
Workaround Description: Edit conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml and replace the esbHost definitions so that they refer to jboss.esb.bind.address i.e.

               <map keyClass="java.lang.String" valueClass="java.lang.String">
                   <entry>
                      <key>esbHost</key>
                      <value>${jboss.esb.bind.address}</value>
                   </entry>
               </map>

and

              <map keyClass="java.lang.String" valueClass="java.lang.String">
                  <entry>
                     <key>esbHost</key>
                     <value>${jboss.esb.bind.address}</value>
                  </entry>
                  <entry>
                      <key>webPort</key>
                      <value>${org.jboss.esb.web.port}</value>
                   </entry>
              </map>
project_key: SOA

The binding information for the ESB services refers to jboss.bind.address as the value of esbHost rather than jboss.esb.bind.address.

The difference between the two is evident when the server is started with the -b 0.0.0.0 option, i.e. binding to any interface, as the value of the processed esb.juddi.properties and jbossesb-properties.xml will contain 0.0.0.0 for juddi.server.baseurl and 
org.jboss.soa.esb.jndi.server.url respectively.

The ESB should be using an explicit interface which is what the jboss.esb.bind.address represents.

Comment 1 Kevin Conner 2011-11-10 15:53:56 UTC
Workaround Description: Added: Edit conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml and replace the esbHost definitions so that they refer to jboss.esb.bind.address i.e.

               <map keyClass="java.lang.String" valueClass="java.lang.String">
                   <entry>
                      <key>esbHost</key>
                      <value>${jboss.esb.bind.address}</value>
                   </entry>
               </map>

and

              <map keyClass="java.lang.String" valueClass="java.lang.String">
                  <entry>
                     <key>esbHost</key>
                     <value>${jboss.esb.bind.address}</value>
                  </entry>
                  <entry>
                      <key>webPort</key>
                      <value>${org.jboss.esb.web.port}</value>
                   </entry>
              </map>
Workaround: Added: Workaround Exists


Comment 2 JBoss JIRA Server 2012-02-16 18:52:18 UTC
Tom Cunningham <tcunning> updated the status of jira JBESB-3733 to Resolved

Comment 3 JBoss JIRA Server 2012-02-16 18:52:18 UTC
Tom Cunningham <tcunning> made a comment on jira JBESB-3733

Changed references to jboss.bind.address.

Comment 4 JBoss JIRA Server 2012-02-16 18:52:23 UTC
Tom Cunningham <tcunning> updated the status of jira JBESB-3733 to Closed

Comment 5 JBoss JIRA Server 2012-02-16 18:52:38 UTC
Tom Cunningham <tcunning> updated the status of jira JBESB-3733 to Reopened

Comment 6 JBoss JIRA Server 2012-02-16 18:52:43 UTC
Tom Cunningham <tcunning> updated the status of jira JBESB-3733 to Resolved

Comment 7 JBoss JIRA Server 2012-02-16 18:52:47 UTC
Tom Cunningham <tcunning> updated the status of jira JBESB-3733 to Closed

Comment 8 tcunning 2012-04-05 15:48:22 UTC
Should be in ER1, see JBESB-3733 for details.

Comment 9 David Le Sage 2012-06-06 04:41:10 UTC
    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:
The incorrect host was used in the ESB binding service.  The value of esbHost was set to jboss.bind.address instead of  jboss.esb.bind.address.This caused a problem when the server was started with the  -b 0.0.0.0 option,(allowing it to bind to any interface). To fix this problem, the name was changed and binding now works as expected.


Note You need to log in before you can comment on or make changes to this bug.