Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-254

httpd must be able to work as 'reverse proxy' for http-remoting calls

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: httpd 2.4.23 GA
    • Fix Version/s: httpd 2.4.29 DR3
    • Component/s: httpd
    • Labels:
      None
    • Target Release:
    • Steps to Reproduce:
      Hide
      • deploy a simple EJB application providing a bean with a remote interface on an EAP7 (default http port is 8080)
      • configure httpd as reverse proxy like:
      • Listen 8282
      • LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
      • ProxyPass "/" "jboss-remoting://localhost:8080/"
      • use a remote client which uses 'http-remoting' to invoke the EJB on port 8282 using the 'reverse proxy'
      Show
      deploy a simple EJB application providing a bean with a remote interface on an EAP7 (default http port is 8080) configure httpd as reverse proxy like: Listen 8282 LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so ProxyPass "/" "jboss-remoting://localhost:8080/" use a remote client which uses 'http-remoting' to invoke the EJB on port 8282 using the 'reverse proxy'
    • Affects:
      Documentation (Ref Guide, User Guide, etc.), Release Notes, User Experience
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • Release Notes Text:
      Hide
      LoadModule proxy_module modules/mod_proxy.so
      LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
      LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
      LoadModule proxy_http_module modules/mod_proxy_http.so
      LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so

      ProxyRequests Off
      ProxyPass / balancer://mycluster
      ProxyPassReverse / balancer://mycluster
      <Proxy balancer://mycluster>
          BalancerMember ws://192.168.122.172:8080/ upgrade=jboss-remoting
      </Proxy>
      Show
      LoadModule proxy_module modules/mod_proxy.so LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so ProxyRequests Off ProxyPass / balancer://mycluster ProxyPassReverse / balancer://mycluster <Proxy balancer://mycluster >     BalancerMember ws://192.168.122.172:8080/ upgrade=jboss-remoting </Proxy>

      Description

      When using mod_proxy_wstunnel as 'reverse proxy' configuration a request with the protocol 'http-remoting' is declined.

      As this module is acting as a tunnel for web sockets, it could possibly allow the usage of this protocol as well.

        Gliffy Diagrams

          Attachments

          1. patch.txt
            1 kB
          2. playground.zip
            41 kB

            Issue Links

              Activity

                People

                • Assignee:
                  gzaronikas George Zaronikas
                  Reporter:
                  jbaesner Joerg Baesner
                  Tester:
                  Michal Karm
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: