You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Raffaele Viola <ra...@gmail.com> on 2007/01/15 10:10:03 UTC
different version of java
Hi all,
I have two different web application under tomcat 5.5.17. Can I use a
different version of java for each of application.
In example:
webapps1 -> java1.4
webapps2 -> java 1.5
Thanks all
Raffo
Re: different version of java
Posted by Leon Rosenberg <ro...@googlemail.com>.
Well, not until you distribute your conf directory, because otherwise
they'd be listening to the same port. But if start with such
complicating things, why not just copy the installation? I mean
hd-space is cheap.
leon
On 1/16/07, Christopher Schultz <ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Leon,
>
> Leon Rosenberg wrote:
> > yes, but you can't run them both at the same time.
>
> Uh... you /can/ run two VMs are the same time from the same Tomcat
> installation, and they do not have to be the same version of VM.
>
> - -chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFrOaC9CaO5/Lv0PARAsYhAJ4ybRM+CkY3mKMipl6iVnlTwR3BJwCgt+iq
> 9KRXiMR3WVMA73ePBdSn3xk=
> =q1YK
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: [OT] different version of java
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Leon Rosenberg [mailto:rosenberg.leon@googlemail.com]
> Subject: Re: [OT] different version of java
>
> I think you are running two different installations which
> share server/libs :-)
The procedure Chris describes is documented in RUNNING.txt under
Advanced Configuration - Multiple Tomcat Instances as "a single copy of
a Tomcat binary distribution"; more is shared than just the server
directory.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: [OT] different version of java
Posted by Leon Rosenberg <ro...@googlemail.com>.
On 1/16/07, Christopher Schultz <ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> David,
>
> David Delbecq wrote:
> > If you run two tomcat instances, from same location, at same time you
> > will run into various troubles
>
> I think Peter Crowther hit the nail on the head: we are being imprecise
> in our terminology.
>
> I've been talking about a single installation (i.e. only one binary copy
> of Tomcat) but using several customized instances (separate conf,
> webapps, etc. directories).
where does an installation starts...?
>
> There is no trouble with doing this. I do it myself, although with only
> a single JVM version, but I know that it is possible. Another poster is
> also doing exactly what I describe and it's working just fine.
>
> > 1) The second VM will have problems binding to ports, as the first one
> > will already have claimed the port. You can argue to use different
> > config, but then it's 2 different installations.
>
> I suppose this is a matter of semantics. When I upgrade my single
> installation, I only have to do it once. If I had two copies of that
> install, then I would have to upgrade twice (one for each install).
> That's why I call this a single installation and not multiple installs.
>
> > 2) Compiling jsp might end up in java 5 format .class, which the java
> > 1.4 JVM is unable to load.
>
> Certainly, which is why you want to be careful about not accidentally
> running your 1.5-compiled stuff in 1.4, which is unlikely to happen,
> given that the OPs requirement is that one of his webapps /always/ runs
> under 1.4.
>
> > 3) you will have concurrent access to the work directory by 2 process,
> > which can lead to corrupted files.
>
> There are separate work directories, so this is not an issue.
I think you are running two different installations which share server/libs :-)
regards
Leon
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFrO6V9CaO5/Lv0PARAnMRAKCQRXbwizOG4ftKH+ZY7DZRTc5EtgCZAQeJ
> YH9tltH3uhK/0OMJVtTv0uI=
> =RKdn
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: [OT] different version of java
Posted by David Delbecq <de...@oma.be>.
En l'instant précis du 01/16/07 16:26, Christopher Schultz s'exprimait
dans toute sa noblesse:
>
>
> I think Peter Crowther hit the nail on the head: we are being imprecise
> in our terminology.
>
> I've been talking about a single installation (i.e. only one binary copy
> of Tomcat) but using several customized instances (separate conf,
> webapps, etc. directories).
Ok misunderstood that part.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: [OT] different version of java
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David,
David Delbecq wrote:
> If you run two tomcat instances, from same location, at same time you
> will run into various troubles
I think Peter Crowther hit the nail on the head: we are being imprecise
in our terminology.
I've been talking about a single installation (i.e. only one binary copy
of Tomcat) but using several customized instances (separate conf,
webapps, etc. directories).
There is no trouble with doing this. I do it myself, although with only
a single JVM version, but I know that it is possible. Another poster is
also doing exactly what I describe and it's working just fine.
> 1) The second VM will have problems binding to ports, as the first one
> will already have claimed the port. You can argue to use different
> config, but then it's 2 different installations.
I suppose this is a matter of semantics. When I upgrade my single
installation, I only have to do it once. If I had two copies of that
install, then I would have to upgrade twice (one for each install).
That's why I call this a single installation and not multiple installs.
> 2) Compiling jsp might end up in java 5 format .class, which the java
> 1.4 JVM is unable to load.
Certainly, which is why you want to be careful about not accidentally
running your 1.5-compiled stuff in 1.4, which is unlikely to happen,
given that the OPs requirement is that one of his webapps /always/ runs
under 1.4.
> 3) you will have concurrent access to the work directory by 2 process,
> which can lead to corrupted files.
There are separate work directories, so this is not an issue.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFrO6V9CaO5/Lv0PARAnMRAKCQRXbwizOG4ftKH+ZY7DZRTc5EtgCZAQeJ
YH9tltH3uhK/0OMJVtTv0uI=
=RKdn
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: different version of java
Posted by David Delbecq <de...@oma.be>.
If you run two tomcat instances, from same location, at same time you
will run into various troubles
1) The second VM will have problems binding to ports, as the first one
will already have claimed the port. You can argue to use different
config, but then it's 2 different installations.
2) Compiling jsp might end up in java 5 format .class, which the java
1.4 JVM is unable to load.
3) you will have concurrent access to the work directory by 2 process,
which can lead to corrupted files.
En l'instant précis du 01/16/07 15:51, Christopher Schultz s'exprimait
dans toute sa noblesse:
> Leon,
>
> Leon Rosenberg wrote:
> > yes, but you can't run them both at the same time.
>
> Uh... you /can/ run two VMs are the same time from the same Tomcat
> installation, and they do not have to be the same version of VM.
>
> -chris
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: different version of java
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Leon,
Leon Rosenberg wrote:
> yes, but you can't run them both at the same time.
Uh... you /can/ run two VMs are the same time from the same Tomcat
installation, and they do not have to be the same version of VM.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFrOaC9CaO5/Lv0PARAsYhAJ4ybRM+CkY3mKMipl6iVnlTwR3BJwCgt+iq
9KRXiMR3WVMA73ePBdSn3xk=
=q1YK
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: different version of java
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Leon Rosenberg [mailto:rosenberg.leon@googlemail.com]
> Subject: Re: different version of java
>
> yes, but you can't run them both at the same time.
Well, you can, but it would be ugly. You could have the secondary
Tomcat configured with different ports, and a dummy secondary app in the
primary Tomcat that redirects to the real secondary app in the secondary
Tomcat. More trouble than it's worth. I'd spend my time verifying the
1.4 app on 1.5.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: different version of java
Posted by Leon Rosenberg <ro...@googlemail.com>.
yes, but you can't run them both at the same time.
regards
Leon
On 1/15/07, Christopher Schultz <ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Leon,
>
> Leon Rosenberg wrote:
> > Aehm... and how exactly you suppose to run one tomcat instance in two
> > different jvms at the same time? :-)
>
> You said two separate installations. You can use the same install with
> multiple JVMs by using TOMCAT_HOME, CATALINA_BASE, and JAVA_HOME
> environment variables set.
>
> One installation, but you can choose your VM, etc.
>
> - -chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFq7KX9CaO5/Lv0PARAuYPAKDAVUK6vpeQLHkdmw5PvnfQnsIW8QCbBwEs
> MhTOq8s0O6kO2qCnCaK+2YM=
> =B1Hl
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: different version of java
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Leon,
Leon Rosenberg wrote:
> Aehm... and how exactly you suppose to run one tomcat instance in two
> different jvms at the same time? :-)
You said two separate installations. You can use the same install with
multiple JVMs by using TOMCAT_HOME, CATALINA_BASE, and JAVA_HOME
environment variables set.
One installation, but you can choose your VM, etc.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFq7KX9CaO5/Lv0PARAuYPAKDAVUK6vpeQLHkdmw5PvnfQnsIW8QCbBwEs
MhTOq8s0O6kO2qCnCaK+2YM=
=B1Hl
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: different version of java
Posted by Leon Rosenberg <ro...@googlemail.com>.
On 1/15/07, Christopher Schultz <ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Leon,
>
> Leon Rosenberg wrote:
> > no.
> > you need two separate tomcat installations.
>
> Technically, Raffo can use a single Tomcat installation but he must use
> two different instances of his JVMs in order to do this. There's also
> the "1.4 compatibility library" monkey-wrench thrown in that makes this
> a challenge, and just having two separate installs might have everything
> easaier.
Aehm... and how exactly you suppose to run one tomcat instance in two
different jvms at the same time? :-)
Leon
>
> - -chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFq6fs9CaO5/Lv0PARAtwYAJ44W4Ns0sDIfKmAFlRN5wlESkNYxACgo6tT
> GehnvGt52ST23TjekFFp0WI=
> =cXYP
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: different version of java
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Leon,
Leon Rosenberg wrote:
> no.
> you need two separate tomcat installations.
Technically, Raffo can use a single Tomcat installation but he must use
two different instances of his JVMs in order to do this. There's also
the "1.4 compatibility library" monkey-wrench thrown in that makes this
a challenge, and just having two separate installs might have everything
easaier.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFq6fs9CaO5/Lv0PARAtwYAJ44W4Ns0sDIfKmAFlRN5wlESkNYxACgo6tT
GehnvGt52ST23TjekFFp0WI=
=cXYP
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: different version of java
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Pid [mailto:p@pidster.com]
> Subject: Re: different version of java
>
> if the OP wants to run the 1.4 jvm, he'll need the compatibility pack
> for 5.5 and therefore 2 separate installations, i think(?).
This is getting rather esoteric, but since each Tomcat instance would
use its own conf directory, the catalina.properties file for the 1.5
version could be modified to not look in common/endorsed (where the
compatibility jars go). The time would be much better spent verifying
the older app on 1.5.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: different version of java
Posted by Pid <p...@pidster.com>.
yes, quite agree.
but unless i read something wrong, both 1.5 and the servlet specs are
backward compatible - so testing should be the route we encourage in
this case, if the OP is able to take that route.
note that he's running tomcat 5.5, and was enquiring about the 1.4 and
1.5 jvms.
if the OP wants to run the 1.4 jvm, he'll need the compatibility pack
for 5.5 and therefore 2 separate installations, i think(?).
in all likelyhood, if testing has been completed in 1.4 for the one
webapp, he ought to be testing again to deploy it on 5.5, regardless of
the jvm.
(which is why I asked the OP why he thought he wanted two jvms, rather
than speculative reasons why it might be a requirement)
David Kerber wrote:
> It's not the code port that is time-consuming; it's the testing and
> verification of correct operation of every function in that code.
>
>
> fausto mancini wrote:
>
>> The problem is for 'which' servlet specification your applications are
>> designed for...
>> I do not see too much effort in porting a J2EE application in a new
>> JEE compliant web-container (TOMCAT included)...
>>
>> On Mon, 15 Jan 2007, Raffaele Viola wrote:
>>
>>> Date: Mon, 15 Jan 2007 17:31:43 +0100
>>> From: Raffaele Viola <ra...@gmail.com>
>>> Reply-To: Tomcat Users List <us...@tomcat.apache.org>
>>> To: Tomcat Users List <us...@tomcat.apache.org>
>>> Subject: Re: different version of java
>>>
>>> Pid wrote:
>>>
>>>> > can you explain why you need different versions of java, Raffaele?
>>>>
>>>> He might have an application that has been fully tested in one
>>>> environment (1.4?) and not in the latest (1.5). I have apps that are
>>>> stuck running in Tomcat 4.1 because migration testing takes a
>>>> /looooong/
>>>> time.
>>>>
>>>>
>>> Yes this is the problem. I've installed two different tomcat, one
>>> using the
>>> java1.4 and the other using the java1.5 because I have two
>>> application one
>>> tested for 1.4 and one tested for 1.5. And I want to know if I can
>>> use only
>>> one installation of tomcat.
>>>
>>> Regards
>>> Raffo
>>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: different version of java
Posted by David Kerber <dc...@verizon.net>.
It's not the code port that is time-consuming; it's the testing and
verification of correct operation of every function in that code.
fausto mancini wrote:
> The problem is for 'which' servlet specification your applications are
> designed for...
> I do not see too much effort in porting a J2EE application in a new
> JEE compliant web-container (TOMCAT included)...
>
> On Mon, 15 Jan 2007, Raffaele Viola wrote:
>
>> Date: Mon, 15 Jan 2007 17:31:43 +0100
>> From: Raffaele Viola <ra...@gmail.com>
>> Reply-To: Tomcat Users List <us...@tomcat.apache.org>
>> To: Tomcat Users List <us...@tomcat.apache.org>
>> Subject: Re: different version of java
>>
>> Pid wrote:
>>
>>> > can you explain why you need different versions of java, Raffaele?
>>>
>>> He might have an application that has been fully tested in one
>>> environment (1.4?) and not in the latest (1.5). I have apps that are
>>> stuck running in Tomcat 4.1 because migration testing takes a
>>> /looooong/
>>> time.
>>>
>>>
>> Yes this is the problem. I've installed two different tomcat, one
>> using the
>> java1.4 and the other using the java1.5 because I have two
>> application one
>> tested for 1.4 and one tested for 1.5. And I want to know if I can
>> use only
>> one installation of tomcat.
>>
>> Regards
>> Raffo
>>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: different version of java
Posted by fausto mancini <fa...@ictechnology.it>.
The problem is for 'which' servlet specification your applications are
designed for...
I do not see too much effort in porting a J2EE application in a new JEE
compliant web-container (TOMCAT included)...
On Mon, 15 Jan 2007, Raffaele Viola wrote:
> Date: Mon, 15 Jan 2007 17:31:43 +0100
> From: Raffaele Viola <ra...@gmail.com>
> Reply-To: Tomcat Users List <us...@tomcat.apache.org>
> To: Tomcat Users List <us...@tomcat.apache.org>
> Subject: Re: different version of java
>
> Pid wrote:
>
>> > can you explain why you need different versions of java, Raffaele?
>>
>> He might have an application that has been fully tested in one
>> environment (1.4?) and not in the latest (1.5). I have apps that are
>> stuck running in Tomcat 4.1 because migration testing takes a /looooong/
>> time.
>>
>>
> Yes this is the problem. I've installed two different tomcat, one using the
> java1.4 and the other using the java1.5 because I have two application one
> tested for 1.4 and one tested for 1.5. And I want to know if I can use only
> one installation of tomcat.
>
> Regards
> Raffo
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: different version of java
Posted by Raffaele Viola <ra...@gmail.com>.
Pid wrote:
> > can you explain why you need different versions of java, Raffaele?
>
> He might have an application that has been fully tested in one
> environment (1.4?) and not in the latest (1.5). I have apps that are
> stuck running in Tomcat 4.1 because migration testing takes a /looooong/
> time.
>
>
Yes this is the problem. I've installed two different tomcat, one using the
java1.4 and the other using the java1.5 because I have two application one
tested for 1.4 and one tested for 1.5. And I want to know if I can use only
one installation of tomcat.
Regards
Raffo
Re: different version of java
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Pid,
Pid wrote:
> can you explain why you need different versions of java, Raffaele?
He might have an application that has been fully tested in one
environment (1.4?) and not in the latest (1.5). I have apps that are
stuck running in Tomcat 4.1 because migration testing takes a /looooong/
time.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFq6g69CaO5/Lv0PARAlSDAJ9jwD62x0hUDsjFKLd2UaHgYwjKkACgpj+V
vjT6f1+OiGMM4QUWSHlnLGU=
=D8s/
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: different version of java
Posted by Pid <p...@pidster.com>.
of course, if the question is actually "can i use jars compiled for 1.4
in a webapp on a tomcat 5.5 installation" then the answer is 'yes'.
can you explain why you need different versions of java, Raffaele?
p
Leon Rosenberg wrote:
> no.
> you need two separate tomcat installations.
>
> regards
> Leon
>
> On 1/15/07, Raffaele Viola <ra...@gmail.com> wrote:
>> Hi all,
>>
>> I have two different web application under tomcat 5.5.17. Can I use a
>> different version of java for each of application.
>> In example:
>> webapps1 -> java1.4
>> webapps2 -> java 1.5
>>
>> Thanks all
>>
>> Raffo
>>
>>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: different version of java
Posted by Leon Rosenberg <ro...@googlemail.com>.
no.
you need two separate tomcat installations.
regards
Leon
On 1/15/07, Raffaele Viola <ra...@gmail.com> wrote:
> Hi all,
>
> I have two different web application under tomcat 5.5.17. Can I use a
> different version of java for each of application.
> In example:
> webapps1 -> java1.4
> webapps2 -> java 1.5
>
> Thanks all
>
> Raffo
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org