Using JBoss 3.2.6 with an EAR application tied to the /app context, I'd like to set up a situation where I have a number of JBoss instances running on the same machine (using different port-bindings), and use Apache to forward requests to the different instances using a different URL. For instance:
http://localhost/default/app would forward to one instance
http://localhost/alternative/app would forward to second instance.
I'm not trying to load balance or otherwise, I'd just like to be able to use Apache to forward requests with different root URLs to different JBoss instances running the same web application on the same host. I can set up AJP1.3 without any problems, but because of the way JkMount works, the root URI is forwarded to JBoss where it complains that /default/app context is not known. Effectively I'd like some way of stripping off the /default when it gets to tomcat.
Is this possible?
See apache's mod_proxy