hi Chris, thank you for your prompt response.

I should have clarified in my original email that:

  1) I am running Tomcat as a Windows service

  2) my goal is to have something like this:

C:\Programs\Tomcat-conf <== /conf folder goes here, unchanged with an upgrade

C:\Programs\Tomcat-bin <== /bin and /lib go here, updated when there is a new point-release

from the README.txt/advanced that you cited I see that I can use CATALINA_BASE for the Tomcat-conf folder above, and CATALINA_HOME for the Tomcat-bin, and specifying the env values when installing the service, as documented at
http://tomcat.apache.org/tomcat-8.0-doc/windows-service-howto.html#Multiple_Instances

do you think that this would work for a Windows service setup?

thanks again,


Igal

On 8/26/2014 8:16 AM, Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Igal,

On 8/26/14, 11:05 AM, Igal @ getRailo.org wrote:
is it possible to specify the path to the /conf folder?  if yes,
how? if no, why?

I like upgrading Tomcat when a new update is available, and it
would be much easier if I could keep all of my config files in one
place, without having to move files with each upgrade.  (actually,
I overwrite the /bin and /lib folders when upgrading a minor
version, but that's beside the point).
Take a look at the "Advanced" section of RUNNING.txt in any Tomcat
distribution's root. It will explain how you can use CATALINA_BASE and
CATALINA_HOME environment variables to have a single deployment
directory that doesn't (usually) have to change between point-releases
(e.g. 7.0.50 -> 7.0.51). It also allows you to install multiple Tomcat
versions side-by-side and choose which one to use at launch.

This will allow you to install a new version of Tomcat, launch with
it, and then easily roll-back to the prior version if you decide that
the upgrade is not working for you for some reason.

Hope that helps,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJT/KTVAAoJEBzwKT+lPKRYx/IP/3+IJyjg/lgqAwv1fIvyz8MT
uFKPkmOSkq8nsxgnQb12oYRMgOW3bvDOWywdkNV5cfzGm+vbFbPkoqks0C0o/62I
I5gXwPoKDye+Jun8p21U2pP2sOAwTxTOJtFeNbX5wZ88uGShvjyLeJnsCaWEQVf7
P2lwZJjxilRB+ElgBzk7tyX0/YM80PINKIi+CZuyoKNGtqZa/jT5tJzQ6p1kFCuv
2/6in1tVZOPJ4bkVqhI0vSErrFrMQhCpFiKIVOw+FXMD0WJTNEs+bEPBG7TTr+7Z
SOH/x47tPrA+fco6IKfZcWAMTy26raqS1helA3vb0Shepi0Oa7eIKWG4FCRd5cqv
F5cjXAYdf7uL7ue9sFhXCplDoATamkv9fBAGzS7jbl9xKYLsDEXf7dvVuSDa2mk7
KbgUsqy8qWn8sZFKr449wtyJTIoRqYioki+5ZnypujQG/5WF0mdSgORrvVHqBK0b
G358Vc0Wtcs5R1JpGCN/SBMPNtfprt3wJITXpNdZSaE8g/qbQxMZnVfjSDAnmb1p
BA8n0a0DXcceeZvp6LjrEtchzqVNVxs2vHUJqrTiQKaeqze9ZM8zlQxiFMEcw4x3
OtO6A5Xrfm/+thwX7db8fJIrdMVcJkQiBV1GftkAc5riW6D8utcoZTrx9UA+gSSf
0cIOW4rqrr/OIIpiMXP1
=/13l
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


--
Igal Sapir
Railo Core Developer
http://getRailo.org/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to