0 Replies Latest reply on Jul 17, 2014 2:55 AM by satkumvnr

    Jboss EAP 6.2 & IBM HTTP Webserver - Multiple Virtual hosts & Multiple applications - Conflict issues

    satkumvnr

      HI Friends,

       

      We are using Jboss EAP 6.2 in Domain - HA cluster mode with Domain controller, Host1 and Host 2 all in different hosts. Our frontend is configured with the IBM HTTP Webserver.We have configured the jgroup to tcpping,mapped the proxy list and made Advertise off.

       

      We have 3 webservers environments all on same host with the different Virutal IPs for various testing purpose.

       

      Webserver 1

      *************

      Application ABC_R.1.1 is mapped through modcluster proxylist

       

       

      <VirtualHost 10.234.123.24:80>

      <Directory />

      Order Allow,Deny

      Allow from all

      </Directory>

      <Location /mc>

      SetHandler mod_cluster-manager

      Order Allow,Deny

      Allow from all

      </Location>

      </VirtualHost>

       

      <VirtualHost 10.234.123.24:8700>

      <Directory />

      Order Allow,Deny

      Allow from all

      </Directory>

      ServerAdvertise off

      EnableMCPMReceive

      </VirtualHost>

       

       

      Webserver 2

      *************

      Application ABC_R.1.2 is mapped through modcluster proxylist. Same application with another release deployed.

       

      <VirtualHost 10.234.123.25:80>

      <Directory />

      Order Allow,Deny

      Allow from all

      </Directory>

      <Location /mc>

      SetHandler mod_cluster-manager

      Order Allow,Deny

      Allow from all

      </Location>

      </VirtualHost>

       

      <VirtualHost 10.234.123.25:8800>

      <Directory />

      Order Allow,Deny

      Allow from all

      </Directory>

      ServerAdvertise off

      EnableMCPMReceive

      </VirtualHost>

       

      Webserver 3

      *************

      Application AAA_R.1.1 is mapped through modcluster proxylist.

       

       

      <VirtualHost 10.234.123.26:80>

      <Directory />

      Order Allow,Deny

      Allow from all

      </Directory>

      <Location /mc>

      SetHandler mod_cluster-manager

      Order Allow,Deny

      Allow from all

      </Location>

      </VirtualHost>

       

      <VirtualHost 10.234.123.26:8900>

      <Directory />

      Order Allow,Deny

      Allow from all

      </Directory>

      ServerAdvertise off

      EnableMCPMReceive

      </VirtualHost>

       

       

      After configuration, I am testing the mod cluster manager for the above webservers.

      http://10.234.123.24/mc

      http://10.234.123.25/mc

      http://10.234.123.26/mc

       

       

      The above output shows the context of all the above applications with all the nodes.

       

      Due to this, from all the 3 webserver, all the 3 application are accessible.

      In above we are having two application with same context root with different application release versions.

      So we are redirected to the wrong application when we access from Webserver.

       

       

      Pls provide your assistance on this ?