-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Zsolt,

Zsolt Koppany wrote:
| Our customer has two tomcats because one instance is the production
version
| of our application and the second one is a test instance of the new
version
| of the same application. Because of that the context-pathes are the same.

How do you know where the first request (say, to http://host/theApp)
should go -- production or test? This seems like a weird configuration.
Can you explain it a little more?

| I understand, that context-path can be changed but means more hacking for
| the customer. The other problem is that the customer stored in our wiki
| pages URL-s with context path (but without port). It could be discussed
| whether or not this is lucky but this is the case.

If you were to use something like Apache httpd out front, you might be
able to use a cookie or URL parameter to track which version of the
application the user is using (prod vs. test) and then use mod_rewrite
or a similar module to modify the port connecting to Tomcat.

Just a thought.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhbu9UACgkQ9CaO5/Lv0PC/0wCfSQKU2x3F0iMSU3w1n9P8ye3U
d2UAnA03vZ9W7SGU6BNKj92yhN05R3nH
=Z75a
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to