Discussions

Web tier: servlets, JSP, Web frameworks: Apache load balancing https request

  1. Apache load balancing https request (1 messages)

    I want to use Apache to load balance client request to 2 JBoss Tomcat instance (I use mod_jk to connect Apache and JBoss Tomcat). I setup Apache server on one machine with IP 192.168.62.1, the 1st JBoss server is on 192.168.62.2 and the 2nd JBoss is on 192.168.62.3. Apache load balances very well with http request, but with https request, it fails!? For example, when client click on the "login" link, this link will redirect client to secured address "https://192.168.62.1:8443/login.do", but this link is NOT available. When I try this link directly to a JBoss Tomcat server, i.e. "https://192.168.62.2:8443/login.do" or "https://192.168.62.3:8443/login.do", this link works normally. Apache does not forward https request to Tomcat server. I try to change many things and search very long time on google but I could not find any solution for how to make Apache forward https request to JBoss Tomcat. Please help me! Thanks so much!
  2. Re: Apache load balancing https request[ Go to top ]

    Intercept the https request with Apache But while forwarding them to Tomcat forward them as simple http requests not as https. Since you have an Apache do not configure https in Tomcat.