Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-15301

pax.web.undertow does not treat multiple http-listeners

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • fuse-7.9-GA
    • fuse-7.7-GA
    • Karaf
    • None
    • False
    • False
    • % %
    • Undefined
    • Fuse Standalone
    • Hide
      • unzip fuse-karaf-7.7.0.fuse-770009-redhat-00002.zip
      • modify ${KARAF_HOME}/etc/undertow.xml to add another http-listner as follows:
      <server name="default-server">
        <!-- HTTP(S) Listener references Socket Binding (and indirectly - Interfaces) -->
        <http-listener name="http" socket-binding="http" />
        <http-listener name="samplehttp" socket-binding="samplehttp" />
        ~~skip~~
      <socket-binding name="http" interface="default" port="${org.osgi.service.http.port}" />
      <socket-binding name="samplehttp" interface="default" port="8282" />
      • start karaf
      • check the listen port to listen both 8181 and 8282
      Show
      unzip fuse-karaf-7.7.0.fuse-770009-redhat-00002.zip modify ${KARAF_HOME}/etc/undertow.xml to add another http-listner as follows: <server name="default-server"> <!-- HTTP(S) Listener references Socket Binding (and indirectly - Interfaces) --> <http-listener name="http" socket-binding="http" /> <http-listener name="samplehttp" socket-binding="samplehttp" /> ~~skip~~ <socket-binding name="http" interface="default" port="${org.osgi.service.http.port}" /> <socket-binding name="samplehttp" interface="default" port="8282" /> start karaf check the listen port to listen both 8181 and 8282

    Description

      Although EAP's undertow works as expected, pax.web.undertow comes with Fuse does not treat multiple http-listeners in ${KARAF_HOME}/etc/undertow.xml.

      There is a use case to use multiple ports on the managed undertow instance on karaf, this impact users development.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-hfuruich Hisao Furuichi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: