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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • httpd 2.4.29 DR3
    • httpd 2.4.23 GA
    • httpd
    • None
    • Documentation (Ref Guide, User Guide, etc.), Release Notes, User Experience
    • 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>
    • Documented as Resolved Issue
    • 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'

      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.

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

              gzaronik@redhat.com George Zaronikas
              rhn-support-jbaesner Joerg Baesner
              Karm Karm Karm Karm
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: