Bug 779557 (SOA-1933) - HttpGateway add support for different connectors
Summary: HttpGateway add support for different connectors
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-1933
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBossESB
Version: 5.0.0 ER1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 5.0.2
Assignee: Kevin Conner
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-08 02:00 UTC by Eric Zhang
Modified: 2010-06-09 19:36 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-06-09 19:36:46 UTC
Type: Feature Request
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-1933 0 None None None Never

Description Eric Zhang 2010-02-08 02:00:53 UTC
Affects: Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial
Date of First Response: 2010-05-12 07:37:07
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/483553
project_key: SOA

In JBoss SOA-P 5.0 the new HttpGateway states that it takes its connection information (bind and port address) from the jboss web container itself. However if the web container has more than one http connectors configured in the jbossweb.sar/server.xml (eg, one on 8080 the other on 8081), the HttpGateway does not support for different connectors.

Comment 1 Kevin Conner 2010-04-29 15:35:48 UTC
Link: Added: This issue depends JBESB-3296


Comment 2 Magesh Bojan 2010-05-12 11:34:18 UTC
Affects: Added: [Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial]


Comment 3 Magesh Bojan 2010-05-12 11:37:07 UTC
Updated in ESB codebase, will be in next merge.

Comment 4 David Le Sage 2010-06-06 22:35:29 UTC
The following draft text has been added to the Release Notes:


https://jira.jboss.org/browse/JBESB-3296

    The HttpGateway could not support multiple connectors if more than one was configured in
    jbossweb.sar/server.xml. Support for multiple connectors bound to different port addresses
    has now been added.


Comment 5 Len DiMaggio 2010-06-09 15:28:21 UTC
Information on the allowedPorts property is yet in the ESB (or SOA-P) programmers' guide. We should point the readers/users to the http-gateway quickstart for an example:

        <service category="PortFilter01" name="List" description="" invmScope="GLOBAL">
            <listeners>
                <!-- Receives: http://<host>:8081/Quickstart_http_gateway/http/ports01/*
                               Uses the default http bus configuration
                               The requests with http://<host>:8080/* will be returned with Status 404... -->
                <http-gateway name="PortFilter01" urlPattern="ports01/*">
                    <property name="allowedPorts" value="8081"/>
                </http-gateway>
            </listeners>
            <actions mep="RequestResponse">
                <action name="print" class="org.jboss.soa.esb.samples.quickstart.httpgateway.MyAction"/>
            </actions>
        </service>


Comment 6 Len DiMaggio 2010-06-09 19:36:46 UTC
Verified in SOA-P 5.0.2 CR1 build


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