We have several J2EE applications deployed into Tomcat running on different machines, for example,
- App1 -> Tomcat1
- App2 -> Tomcat1
- App3 -> Tomcat2
- App4 -> Tomcat3
- AppN -> TomcatM
and one Apache running on another machine.
We want to use Apache as front-end and connect per PHP script to one, and only one, Tomcat back-end, but the host address is determined by php.ini.
Request: java.hosts and java.servlet can be overrided per PHP script?