I am just trying to get varnish in front of Glassfish instances, which are load balanced with the mod_jk connector in Apache. But I don't really know how to combine them. The AJP_Ports for instances are e.g. 8009, 8010, 8011. I am not able to access them via the browser, but I can access the normal HTTP ports like 28080. For the 28080 ports I can put varnish in front of them. For the AJP_ports it's not possible.
Do you know a way where I can load balancer glassfish instances which are cached using varnish? Is it impossible to do this with mod_jk?