1 Reply Latest reply on Aug 30, 2012 3:26 AM by jfclere

    forwarding non http/https traffic

    marrrck

      Hi there,

       

      I'm pretty new to mod_cluster and httpd in general, so my apologies if this is a stupid question. I'm using mod_cluster to load balance traffic to a JBoss as7.1 cluster. Our application also heavily uses HornetQ and accepts STOMP messages on port 61613. Is there a way to tell mod_cluster to forward socket connections coming in to the same port on one of the jboss instances that it manages?

       

      I tried adding to the apache2 configuration in my local environment, but it seems like it is just forwarding that to the jboss http port (8080), not to 61613.

       

          Listen 127.0.0.1:61613

          <VirtualHost 127.0.0.1:61613 >

              <Location />

                  Order deny,allow

                  Allow from all

              </Location>

              ProxyPass / balancer://mycluster

              ProxyPassReverse / balancer://mycluster

          </VirtualHost>

       

      Is there a way to get this to work with mod_cluster?

       

      Thanks for your help!

       

      Marc