I have a win server which hosts an ASP (old-style) application. Now I have to deploy a Java webapp under Tomcat.
I yet setup Tomcat, IIS and the isapi_redirect.dll to pass requests through IIS to Tomcat. No problem in that.
The server is not a powerfull machine, so I was trying to reduce memory usage.
As now my Tomcat respond with the deployed application i.e.:
If I had to deploy another Java webapp I should create a new Tomcat instance, which consumes memory.
To avoid that I was wondering if there was a way to have a worker map a particular webapp under Tomcat, something that forwads a request like www.mywebapp2.com --> localhost:8080/mywebapp2
I hope I could explain clearly (as English is not my native language)
I cannot speak for IIS-to-Tomcat connections, but when using Apache as the frontend webserver, what you do is indicate a remapping connection. For example, you might redirect URLs from "www.host-uno.com to an internal Tomcat app at localhost:8090/webapp1. Then you might set up another virtual host that routes URLs addressing www.host-due.com to localhost:8090/webapp2.
I think you may be confused because your original setup had just one Tomcat webapp, located at the root context. But that's one reason why I rarely place my Tomcat webapps there - there can be only one root per Tomcat host, but Tomcat can host many webapps, each under a different URL context name.
When it comes to destroying a civilization, gas chambers cannot hold a candle to echo chambers.