English 中文(简体)
Access particular server behind load-balanced tomcat
原标题:

I m building production configuration where 2 tomcats are sitting behind the apache with load-balancer and mod_proxy. What I need is the script which checks whether particular instance of tomcat is running. The problem is I use AJP connector in tomcat. Is it possible to issue HTTP request to apache somehow that I make sure only needed instance of tomcat will respond?

问题回答

Take a look at mod_proxy_balancer But most parts of balancer are documented in mod_proxy

If you revers proxy to a balancer, the balancer will choose a backend which is available.





相关问题
Tomcat´s server.xml dynamic configuration

My web application uses the same database configuration as the application XYZ. I have a resource declaration for a context in server.xml, so I have a duplicated configuration (once for web ...

session transfer issue from Tomcat to ASP.Net

I am using Tomcat to host JSP and using IIS 7.0 to host aspx (C# + .Net 3.5 + VSTS 2008), and I have some session transfer issue from JSP page to ASPX page. JSP page is in one domain and all other ...

JSP exception - class not found (tomcat)

I m setting up an existing application on a new Tomcat 5.5 server connecting to a Postgres database (running on Debian Lenny). When I access it I get a series of stack traces with the following root ...

热门标签