-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

To whom it may concern,

On 8/19/14, 1:32 PM, NEW IT wrote:
> Besides setting for the 2 different ports, how do deal with the 
> Environment Variables of Path, CATALINA_HOME? They are having the 
> values for the 7 for now and JAVA_HOME could be using the the same
> one for Tomcat 7 and 6?

You can do anything you want, here.

CATALINA_HOME specifies where the Tomcat installation is.
CATALINA_BASE specifies where your "local" deployment goes: this
allows you to use a single CATALINA_HOME with multiple Tomcat
instances running with separate configurations (those with different
CATALINA_BASEs).
JAVA_HOME specifies the JVM to use.

You can set the above environment variables, launch Tomcat, then set
them to other values and launch another instance of Tomcat. You can
change your JVM, Tomcat version, etc. whenever you want. Once the JVM
is launched, that process is independent of the shell you used to
launch it.

On our development servers, we have multiple developers with multiple
per-webapp JVMs running all off the same CATALINA_HOME under different
JVMs. All you have to worry about is the port settings in each
CATALINA_BASE/conf/server.xml.

Hope that helps,
- -chris

> On Sun, Aug 17, 2014 at 4:54 AM, André Warnier <a...@ice-sa.com>
> wrote:
>> NEW IT wrote:
>>> 
>>> Thanks Sapir for the fast and helpful answer!
>>> 
>>> On Sat, Aug 16, 2014 at 11:50 PM, Igal Sapir
>>> <i...@getrailo.org> wrote:
>>>> 
>>>> Sure, as long as each instance listens on a unique IP:port
>>>> combination. On Aug 16, 2014 11:25 PM, "NEW IT"
>>>> <newi...@gmail.com> wrote:
>>>> 
>>>>> Hello experts,
>>>>> 
>>>>> For development purpose, I wonder if I could install and
>>>>> run Tomcat 6 and 7 the same time on my same development
>>>>> box?
>>>>> 
>>>>> 
>> 
>> You probably also want to use 2 different ports here : <Server
>> port="8005" shutdown="SHUTDOWN"> (see conf/server.xml)
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>>
>> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>> 
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJT84zPAAoJEBzwKT+lPKRYkvwQALKYC9UCd6qCimR3GroDjocr
sfwhvaD2HSaNYYDU4ilwjiiI4FH+gwAemo6v2AwxAb/tiM8/53bRv4DnXKLs+XP9
SdveJNbrD2X01s9NtFTWolS2HQQeD+j4XKaggSjmD7f7+FdnYtKDm6oydisDpyvz
FK0IwpYKl/xeuTuw6IXNleDP2N+Oy4iHY3Q54iJlPCGzKGXP7jtseQg2FseP6iUI
gUHguDBkH60LzI3U1ancnrW2vRqXidBWPoxJXV6+64qqzfD1BmWQ6a0ecwzY+vEN
a89bq5OmhCnBQ4szKKI4F37m0Azy64YBhH7H1kh5Fs20/uj4DByliWI5RdNnz//B
AcHhLLHghsxKF6XNPQndydRVBvbAEXApw/H0+2dUFCGp8gbnt5WJ7Fevjd2seahz
fjlD+wTtBT/rwMUddIoAVs3ldBNGrsq9aKP5heIYzliZhqwdG8XtiyZdZu97/ZkU
KJ572id6N5JVPVLf6XUcEumeLTKhBk3BPo/2f47qTktxOWnSiu8fQvIp2xsy0waJ
3/WdPSvSX6Pb+gq3h54Og86Jnv0ycbfGGMsjxmhYex34Ni5ermRMauR+CejsRPkB
npG3g5Vj3SWKFU6TkPD5pbESgFSDblV1kV4SV9wYI01eY8xuSdaPEaPRA4QEDqXh
OAolbAOLdPurN/4AdNps
=SuPT
-----END PGP SIGNATURE-----

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

Reply via email to