Hi, I'm not an expert but just thinking out loud here:
If in the long run you are not going to make - distinguishing the requests coming from either of the Apache instances - into a requirement. Then I do not see why you would need more than 1 JK connector. If there is absolutely never going to be a bias in how to serve the requests or treat them differently then the JK connector itself couldn't care less if 10 apache instances are hitting it right? When it runs on the tomcat side, to it (JK conn itself) everything coming in ... is just another request. [If I'm wrong about this notion of mine...then I'd like to hear about it from others on the list and be corrected] Now if you DO see yourself needing/wanting to treat the requests differently... 1st I doubt you will treat them differently on a HTTP server basis ... most likely you will want to handle them differently on a webapp basis so again ... you don't need multiple connectors listening on the tomcat side. Now if u do care about which HTTPD (apache web server) your users come through... well then you could have 2 JK connectors I guess ...but ... but ... I wouldn't know if that would be the right way to go about distiguishing and applying policies to incoming requests... may be someone else far more knowledgeable than me can comment on that. Cheers, - Pulkit On 8/25/06, tomcat <[EMAIL PROTECTED]> wrote:
Hello, Hopefully someone can clarify a setup query I have as after lots of searching I cannot find a definitive answer. Although I'm configuring a much more complex system the problem I have boils down to this. I want to configure two Apache instances running on separate servers to talk to a single Tomcat instance (on its own server) but need clarification on the number of Connectors I need to define on the Tomcat side (server.xml). Is it a Connector listening on individual ports for each web server or one Connetor for all web servers? Apache 2.0.59 mod_jk 1.2.18 Tomcat 5.5.17 Thanks in advance J --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]