tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Multiple tomcat Instances on Same Server and One Apache Instance
Date Tue, 15 May 2012 14:04:33 GMT
Hash: SHA1


On 5/14/12 9:54 PM, Vickie Troy-McKoy wrote:
> I just want to forward based on the port that the Tomcat instance
> is running on.  The 2 tomcat instances running on the same server
> is really the same application--but different versions.  And, I
> thought that I could use the existing Apache instance to forward
> requests to the new version of the app running on tomcat as well.
> But, if I want (e.g. the tsademo app)  the tomcat instance running
> on port 8009; and tsademo is being forwarded to both ports--how can
> I be sure that I would get the tsademo running on port 8009 and not
> the one running on 7009?   I tried using the Virtual host in
> Apache; but, ran into issues with that.  Or, should I just go ahead
> and create an entirely new apache instance for the new tomcat
> instance?

It sounds like you really don't have a good idea of what your
requirements really are. Around here, we call that "do-what-I-mean
semantics": you want the software to do the "right" thing but you
can't explain what the "right" thing actually is.

Try to express your requirements in simpler language. For instance,
you have two versions of your software: one one port 8009 and one on
port 7009. Under what conditions should a particular user be sent to
either of those versions?

If you are using sessions, the load-balancer will keep a client
associated with the right version *after* the first request, but you
still need to decide under which circumstances a *new* client should
be sent to one or the other. Once you can answer that, we can help you
configure it.

- -chris
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools -
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message