RE: Upgrading tomcat 5 on Windows

2004-06-09 Thread Shapira, Yoav

Hi,
Please, never ever install any product on top of another.  Install
tomcat 5.0.25 to a clean directory, configure it as you need.  You can
try copying over configuration files if you want, but don't install on
top, you risk library mismatch nightmares.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Michiel Toneman [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, June 09, 2004 8:22 AM
>To: Tomcat Users List
>Subject: Re: Upgrading tomcat 5 on Windows
>
>Hi Tim,
>
>Without giving any specific advice:
>
>Rule 1 of system administration: Always back up configuration files.
>
>Michiel
>
>Tim Penhey wrote:
>
>>Hi All,
>>
>>I have Tomcat 5.0.18 running on one machine with a number of
configured
>webapps.
>>If I install the 5.0.25 over the top will all the configuration files
stay
>or should I
>>back them up?
>>
>>Tim
>>
>>
>--
>Michiel Toneman  Software Engineer   Bibit Global Payment Services
>Regulierenring 10  3981 LB  Bunnik   [EMAIL PROTECTED]
>Tel. +31-30-6595168  Fax +31-30-6564464  http://www.bibit.com/
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Vedr.: Re: Upgrading tomcat 5 on Windows

2004-06-09 Thread Thomas Nybro Bolding
Upon uninstalling Tomcat you are prompted whether you want remove any work 
done. Say no to this and you should be able to install in the same 
directory keeping your webapps. Not sure about the server.xml, 
jk2.properties and workers2.properties though (cant remember).
Anyway I would like to add
Rule 2 of system administration: Always, always back up configuration 
files

Btw think theres a 3rd rule as well...

/Thomas





Michiel Toneman <[EMAIL PROTECTED]>
09-06-2004 14:21
Besvar venligst til "Tomcat Users List"

 
Til:Tomcat Users List <[EMAIL PROTECTED]>
    cc: 
    Vedr.:  Re: Upgrading tomcat 5 on Windows



Hi Tim,

Without giving any specific advice:

Rule 1 of system administration: Always back up configuration files.

Michiel

Tim Penhey wrote:

>Hi All,
>
>I have Tomcat 5.0.18 running on one machine with a number of configured 
webapps.
>If I install the 5.0.25 over the top will all the configuration files 
stay or should I
>back them up?
>
>Tim
> 
>
-- 
Michiel Toneman  Software Engineer   Bibit Global Payment Services
Regulierenring 10  3981 LB  Bunnik   [EMAIL PROTECTED]
Tel. +31-30-6595168  Fax +31-30-6564464  http://www.bibit.com/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





___
Vi goer opmaerksom paa, at denne e-mail kan indeholde fortrolig information. Hvis du 
ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om 
fejlen ved at bruge svar-funktionen. Samtidig beder vi dig slette e-mailen i dit 
system uden at videresende eller kopiere den.
Selv om e-mailen og ethvert vedhaeftet bilag efter vores overbevisning er fri for 
virus og andre fejl, som kan paavirke computeren eller it-systemet, hvori den modtages 
og laeses, aabnes den paa modtagerens eget ansvar. Vi paatager os ikke noget ansvar 
for tab og skade, som er opstaaet i forbindelse med at modtage og bruge e-mailen.
___
Please note that this message may contain confidential information. If you have 
received this message by mistake, please inform the sender of the mistake by sending a 
reply, then delete the message from your system without making, distributing or 
retaining any copies of it.
Although we believe that the message and any attachments are free from viruses and 
other errors that might affect the computer or IT system where it is received and 
read, the recipient opens the message at his or her own risk. We assume no 
responsibility for any loss or damage arising from the receipt or use of this message.




Re: Upgrading tomcat 5 on Windows

2004-06-09 Thread Michiel Toneman
Hi Tim,
Without giving any specific advice:
Rule 1 of system administration: Always back up configuration files.
Michiel
Tim Penhey wrote:
Hi All,
I have Tomcat 5.0.18 running on one machine with a number of configured webapps.
If I install the 5.0.25 over the top will all the configuration files stay or should I
back them up?
Tim
 

--
Michiel Toneman  Software Engineer   Bibit Global Payment Services
Regulierenring 10  3981 LB  Bunnik   [EMAIL PROTECTED]
Tel. +31-30-6595168  Fax +31-30-6564464  http://www.bibit.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Upgrading Tomcat from 4.1.x to 5.0.x

2004-03-01 Thread Shapira, Yoav

Hi,

>Are there any cautions/warnings/problems or just differences that I should >expect 
>between the two? For instance, will my servlets need to change in >any way to run in 
>5.0.x? Will administration of the servlets change in any >way? If there is anything I 
>should do to prepare for the upgrade, >particularly steps that minimize problems, I'd 
>like to do so.

You don't have to change your servlets/listeners/filters/JSPs etc.  There are 
differences in the server configuration, e.g. the automatic creation of context .xml 
files in the conf/[engine name]/[host name] directory under certain circumstances.  If 
you have an unusual or very intricate custom tomcat configuration, i.e. a lot of 
things setup in server.xml, you might have a slightly more difficult migration.  But 
your webapp itself won't need to be changed.

>Am I right in believing that I should normally not remove old versions 
>>before installing newer versions of Tomcat; that new versions simply go on >"in 
>parallel", i.e. they are put in different directories than the old >versions? That's 
>what I did when going from 4.1.24 to 4.1.29 in Windows XP.

Doesn't matter.  You can remove the old version if you want, no harm there.  You will 
probably want to keep it until the new one is all set up and tested, however.
 
>However, we also have Tomcat on our Linux Mandrake 9.1 server and the >administrator 
>wants to use urpm to simply overlay 4.1.24 on Linux with >5.0.x. Is that safe or 
>should we do it some other way?

I'm not an expert on RPMs, but I dislike overlaying installations to the same 
directory.  Use a different directory if possible.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Upgrading Tomcat 3 to 4 with Apache 1.3.24 and OpenSSL 0.9.6c

2004-02-17 Thread Bill Barker
JServ isn't supported in any version higher than 3.3.  You will have to use
mod_jk.

"fhbib webmaster" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Apache 1.3.24 can be used with Tomcat 3.3
> on Win32 by using the Apache JServ
> communication module (port 8007).
>
> Is it possible to upgrade a configuration
> running Tomcat 3.3 and Apache 1.3.24 using
> OpenSSL 9.9.6c to use Tomcat 4.1.29?
>
> If so, is there an FAQ, etc,
> with the detailed How To?
>
> Much Thanks for any help!
>
>
> __
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Upgrading Tomcat to 4.1.27

2003-09-10 Thread Shapira, Yoav

Howdy,
That's not a good idea.  It might work, I'm not sure, but I'd prefer to
just install 4.1.27, deploy webapps to it, then start it on some unused
port, get all the JSPs compiled, then restart it on the actual user
port.

Alternatively, use JspC to compile to JSPs offline ;)

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Euan Guttridge [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, September 10, 2003 6:00 AM
>To: 'Tomcat Users List'
>Subject: RE: Upgrading Tomcat to 4.1.27
>
>Is it considered safe to also move the /work directory from your 24
>installation to the 27 installation in order to retain your jsp cache?
>
>Thanks
>
>-Original Message-
>From: Tarun Gandhi [mailto:[EMAIL PROTECTED]
>Sent: 26 August 2003 15:17
>To: Tomcat Users List
>Subject: Re: Upgrading Tomcat to 4.1.27
>
>
>Hi,
>
>You can take the backup of your existing directory and install the
4.1.27
>version . After installing you can move your webapps, modjk conf, libs
etc
>from the earlier version to this one.
>
>Tarun
>
>- Original Message -
>From: "Bond" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, August 26, 2003 7:27 PM
>Subject: Upgrading Tomcat to 4.1.27
>
>
>>
>>
>> Hello Everyone, I have a question,
>>
>>   I want to upgrade our current Tomcat instalation
>> 4.1.14 to the newer 4.1.27.   However I can't find any
>> "How Tos" on this topic.  Do I just install the new
>> version on top of my old one or is it a new install???
>>  Not sure how to proceed, any advice would be
>> appreciated.
>>
>> Thanks in advance,
>>
>>
>> Miguel
>>
>> __
>> Do you Yahoo!?
>> Yahoo! SiteBuilder - Free, easy-to-use web site design software
>> http://sitebuilder.yahoo.com
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Upgrading Tomcat to 4.1.27

2003-09-10 Thread Euan Guttridge
Is it considered safe to also move the /work directory from your 24
installation to the 27 installation in order to retain your jsp cache?

Thanks

-Original Message-
From: Tarun Gandhi [mailto:[EMAIL PROTECTED] 
Sent: 26 August 2003 15:17
To: Tomcat Users List
Subject: Re: Upgrading Tomcat to 4.1.27


Hi,

You can take the backup of your existing directory and install the 4.1.27
version . After installing you can move your webapps, modjk conf, libs etc
from the earlier version to this one.

Tarun

- Original Message -
From: "Bond" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 26, 2003 7:27 PM
Subject: Upgrading Tomcat to 4.1.27


>
>
> Hello Everyone, I have a question,
>
>   I want to upgrade our current Tomcat instalation
> 4.1.14 to the newer 4.1.27.   However I can't find any
> "How Tos" on this topic.  Do I just install the new
> version on top of my old one or is it a new install???
>  Not sure how to proceed, any advice would be
> appreciated.
>
> Thanks in advance,
>
>
> Miguel
>
> __
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software 
> http://sitebuilder.yahoo.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Upgrading Tomcat to 4.1.27

2003-08-26 Thread Tarun Gandhi
Hi,

You can take the backup of your existing directory and install the 4.1.27
version . After installing you can move your webapps, modjk conf, libs etc
from the earlier version to this one.

Tarun

- Original Message -
From: "Bond" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 26, 2003 7:27 PM
Subject: Upgrading Tomcat to 4.1.27


>
>
> Hello Everyone, I have a question,
>
>   I want to upgrade our current Tomcat instalation
> 4.1.14 to the newer 4.1.27.   However I can't find any
> "How Tos" on this topic.  Do I just install the new
> version on top of my old one or is it a new install???
>  Not sure how to proceed, any advice would be
> appreciated.
>
> Thanks in advance,
>
>
> Miguel
>
> __
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Upgrading Tomcat to 4.1.27

2003-08-26 Thread Shapira, Yoav

Howdy,
Always do a new clean install.  Don't overwrite the old one, don't
simply copy jars from one place to another.  If you don't need the old
one, remove it.  Install the new one as if you didn't have a tomcat
installation before.  This is the safest route.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Bond [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, August 26, 2003 9:58 AM
>To: [EMAIL PROTECTED]
>Subject: Upgrading Tomcat to 4.1.27
>
>
>
>Hello Everyone, I have a question,
>
>  I want to upgrade our current Tomcat instalation
>4.1.14 to the newer 4.1.27.   However I can't find any
>"How Tos" on this topic.  Do I just install the new
>version on top of my old one or is it a new install???
> Not sure how to proceed, any advice would be
>appreciated.
>
>Thanks in advance,
>
>
>Miguel
>
>__
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free, easy-to-use web site design software
>http://sitebuilder.yahoo.com
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Upgrading Tomcat to 4.1.27

2003-08-26 Thread Purvis Robert
Its best to uninstall before installing the new version. But you must make
sure you keep copies of server.xml, web.xml, webapps, and things you've put
into common/lib and common/classes so you ca restore these into the new
Tomcat directories.

Don't just copy your old conf/server.xml and conf/web.xml back into the conf
directory - edit the new files and put your changes into the new files.
There are sometimes changes in these conf/*.xml files which you need to
keep.

Another point if you are using Linux and have installed RPMs - if you've
added users into the tomcat4 group you should remove them from the group
before uninstalling the RPM. If you don't then the tomcat4 group stays and
subsequent RPM installs won't work properly. (But there isn't yet a 4.1.27
RPM - as I mentioned in my earlier e-mail).

I have done this a number of times as we've progressed through most versions
of tomcat since 4.0.2.

Good luck.

Rob

-Original Message-
From: Bond [mailto:[EMAIL PROTECTED] 
Sent: 26 August 2003 14:58
To: [EMAIL PROTECTED]
Subject: Upgrading Tomcat to 4.1.27




Hello Everyone, I have a question,

  I want to upgrade our current Tomcat instalation
4.1.14 to the newer 4.1.27.   However I can't find any
"How Tos" on this topic.  Do I just install the new
version on top of my old one or is it a new install???
 Not sure how to proceed, any advice would be
appreciated.

Thanks in advance,


Miguel

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This e-mail is confidential and privileged.  If you are not the intended
recipient please accept our apologies;  please do not disclose, copy or
distribute information in this e-mail or take any action in reliance on its
contents:  to do so is strictly prohibited and may be unlawful.  Please
inform us that this message has gone astray before deleting it.  Thank you
for your co-operation.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Upgrading Tomcat 5

2003-07-15 Thread Gerry Reno
Tim,
  For config files what about having Tomcat use variable constructions
like we see in Ant scripts: $catalina.home, rather than fixed paths. 
Then Tomcat could write out server.xml with constructions like
configFile="$catalina.home/conf/Catalina/www.vhost.com/ROOT.xml".  This
would make upgrading easier.

Gerry Reno


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Upgrading Tomcat 5

2003-07-15 Thread Tim Funk
I haven't played (much) with the new deployer functionality yet. So I am 
unfamiliar with the minor details (and issues) of the path based dependencies.

Running a script on config files is not a big deal for an upgrade. Most 
commercial software probably does that with (or without) our acknowledgement. 
  If the script were consistent it could always be packaged with tomcat to 
aid in upgrades.

The way apps are deployed (configured) is new and will have gotchas like 
this. But the code is open for anyone to say "I don't like that" and propose 
their change. (Or fork if you change isn't made)

-Tim

Gerry Reno wrote:
Tim,
  Is this definitive?  I was hoping this would not be the case.  I
think that requiring users to run content replacement scripts against
their config files to accomplish an upgrade will definitely end up
being problematic.
Gerry



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Upgrading Tomcat 5

2003-07-14 Thread Ralph Einfeldt
I prefer a different setup.

We separate the tomcat installation from the site.

With this approach the conf files are placed outside of
the tomcat directory tree. As long as the config files 
are compatible, an upgrade is just a matter of setting a 
different CATALINA_HOME.

Althoug we didn't use tomcat 5 by now the following 
should be appliable:

(An updated version of a post from yesterday)

We install different versions of jdk/tomcat like this:

/usr/local/java/jdk/ibm1.3
/usr/local/java/jdk/sun1.3
/usr/local/java/jdk/sun1.3.1
/usr/local/java/jdk/sun1.4

/usr/local/java/tomcat-4.0.3
/usr/local/java/tomcat-4.1.10

For each site we have something like this:

/www/online/
the base directory for a tomcat instance (In our case typically a 
site, as we don't use vhosts withe different webapps)

/www/online//log
directory for the log file

/www/online//conf
web.xml
server.xml
  and other files that contain the site/instance specific setup 
  for tomcat (tailored versions of the files that are provided by 
  tomcat)
  make shure that all combinations of IP and port are unique for
  each instance of tomcat. 
...

/www/online//work
Directory where tomcat stores the generated files and classes

/www/online//webapps
 Directories for the contexts

/www/online//bin
start.sh
  Script that calls the tomcat version that we want to use for 
  this site/instance with the environment for this site/instance:

  JAVA_HOME=/usr/local/java/jdk/sun1.3.1
  CATALINA_HOME=/usr/local/java/tomcat-4.0.3
  CATALINA_BASE=/www/online/

  export JAVA_HOME CATALINA_HOME CATALINA_BASE
  ${CATALINA_HOME}/bin/startup.sh

/www/online//???
 Depending on the tomcat version there may be further directories 
 that are needed on this level

This way we can have different versions of tomcat at the same time, 
all sites that use the same tomcat version use the same 'executable'
but different processes and individual configuration. If we want to 
use another version of tomcat we just have to change CATALINA_HOME 
in start.sh (unless the config files are incompatible between these 
versions)

> -Original Message-
> From: Gerry Reno [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 15, 2003 4:42 AM
> To: Tomcat Users List
> Subject: Re: Upgrading Tomcat 5
> 
> 
> Tim,
>   Is this definitive?  I was hoping this would not be the case.  I
> think that requiring users to run content replacement scripts against
> their config files to accomplish an upgrade will definitely end up
> being problematic.
> 
> Gerry
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Upgrading Tomcat 5

2003-07-14 Thread Gerry Reno
Tim,
  Is this definitive?  I was hoping this would not be the case.  I
think that requiring users to run content replacement scripts against
their config files to accomplish an upgrade will definitely end up
being problematic.

Gerry

--- Tim Funk <[EMAIL PROTECTED]> wrote:
> I don't think it is. But it might be as easy as:
> 
> X=/usr/local/tomcat-5.0.3/conf/Catalina/www.vhost.com
> Y=/usr/local/tomcat-5.0.4/conf/Catalina/www.vhost.com
> cp -r $X $Y
> perl -pi -e "s|$X|$Y|" $Y/*.xml
> 
> 
> -Tim
> 
> Gerry Reno wrote:
> >   One problem that I see with copying the conf/Catalina tree and
> these
> > .xml files is with paths that are declared within the
> > .xml files:  For example:
> > 
> > in ROOT.xml
> > 
> >  ...
> >
>
configFile="/usr/local/tomcat-5.0.3/conf/Catalina/www.vhost.com/ROOT.xml"
> >  ...
> > 
> > 
> > Does Tomcat know to adjust these paths to the current
> $CATALINA_HOME
> > which soon would be /usr/local/tomcat-5.0.4?
> > 
> > Gerry Reno
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Upgrading Tomcat 5

2003-07-14 Thread Tim Funk
I don't think it is. But it might be as easy as:

X=/usr/local/tomcat-5.0.3/conf/Catalina/www.vhost.com
Y=/usr/local/tomcat-5.0.4/conf/Catalina/www.vhost.com
cp -r $X $Y
perl -pi -e "s|$X|$Y|" $Y/*.xml
-Tim

Gerry Reno wrote:
  One problem that I see with copying the conf/Catalina tree and these
.xml files is with paths that are declared within the
.xml files:  For example:
in ROOT.xml

 ...
configFile="/usr/local/tomcat-5.0.3/conf/Catalina/www.vhost.com/ROOT.xml"
 ...


Does Tomcat know to adjust these paths to the current $CATALINA_HOME
which soon would be /usr/local/tomcat-5.0.4?
Gerry Reno


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Upgrading Tomcat 5

2003-07-14 Thread Gerry Reno
  One problem that I see with copying the conf/Catalina tree and these
.xml files is with paths that are declared within the
.xml files:  For example:

in ROOT.xml

 ...
configFile="/usr/local/tomcat-5.0.3/conf/Catalina/www.vhost.com/ROOT.xml"
 ...


Does Tomcat know to adjust these paths to the current $CATALINA_HOME
which soon would be /usr/local/tomcat-5.0.4?

Gerry Reno

--- Gerry Reno <[EMAIL PROTECTED]> wrote:
>   Since Tomcat 5 will be removing vhost contexts from server.xml and
> writing them out to conf/Catalina//.xml what will be
> the procedure for upgrading Tomcat 5?  Right now under Tomcat 4, I
> install a new version, change my CATALINA_HOME, move my webapps to
> the
> new version and move all my vhost entries in server.xml to the new
> server.xml.  Under Tomcat 5 when upgrading will I also need to copy
> the
> conf/Catalina tree to the new version?
> 
> thx,
> Gerry Reno
> 
> 
> __
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Upgrading tomcat

2001-07-26 Thread Tia Haenni

Well, then, what am I waiting for? Thanks for the input.

Tia

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 6:53 PM
To: [EMAIL PROTECTED]
Subject: Re: Upgrading tomcat




On Thu, 26 Jul 2001, Charles Baker wrote:

> Another question, do apps developed under the 3.2.x (
> jsp 1.1/servlet 2.2 ) work well with Tomcat 4.0 and
> the newer servlet/jsp specs?
> 

The servlet 2.3 and JSP 1.2 specs *require* backwards compatibility, even
to the point of requiring 2.3/1.2 containers to recognize valid 2.2/1.1
deployment descriptors and tag libraries.  In addition, no
non-backwards-compatible API changes were made.

Therefore, as long as your app does not rely on:

* Non-spec features of Tomcat 3.2 that are different in
  Tomcat 4.0.

* Areas where the 2.2/1.1 specs were silent and the 2.3/1.2
  specs have created some specific behavior that is different
  than what Tomcat 3.2 did.

* Bugs in Tomcat 3.2.

then you should be fine.  In practice, I have found *very* few cases where
I bumped into any of these issues.  Just as one simple example of this,
all of the web applications shipped with Struts
<http://jakarta.apache.org/struts/> run just fine under both 3.2 and 4.0.

Craig McClanahan




Re: Upgrading tomcat

2001-07-26 Thread Craig R. McClanahan



On Thu, 26 Jul 2001, Charles Baker wrote:

> Another question, do apps developed under the 3.2.x (
> jsp 1.1/servlet 2.2 ) work well with Tomcat 4.0 and
> the newer servlet/jsp specs?
> 

The servlet 2.3 and JSP 1.2 specs *require* backwards compatibility, even
to the point of requiring 2.3/1.2 containers to recognize valid 2.2/1.1
deployment descriptors and tag libraries.  In addition, no
non-backwards-compatible API changes were made.

Therefore, as long as your app does not rely on:

* Non-spec features of Tomcat 3.2 that are different in
  Tomcat 4.0.

* Areas where the 2.2/1.1 specs were silent and the 2.3/1.2
  specs have created some specific behavior that is different
  than what Tomcat 3.2 did.

* Bugs in Tomcat 3.2.

then you should be fine.  In practice, I have found *very* few cases where
I bumped into any of these issues.  Just as one simple example of this,
all of the web applications shipped with Struts
 run just fine under both 3.2 and 4.0.

Craig McClanahan




RE: Upgrading tomcat

2001-07-26 Thread Tia Haenni

Exactly! I know I need to upgrade from 3.2.1. I heard 3.3.2 fixed some
security issues. Just when I got things running smoothly with 3.2.1.here
we go again! Maybe 3.3 or 4.0 will go smoother.

-Original Message-
From: Charles Baker [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 6:38 PM
To: [EMAIL PROTECTED]
Subject: Re: Upgrading tomcat


Another question, do apps developed under the 3.2.x (
jsp 1.1/servlet 2.2 ) work well with Tomcat 4.0 and
the newer servlet/jsp specs?

--- John Hebert <[EMAIL PROTECTED]> wrote:
> Tia Haenni wrote:
>
> > Has anyone gone from 3.2.1 up to 3.3? Does it
> require a complete uninstall
> > of previous versions? Is it best to go with 3.3 or
> wait for 4.0? Thanks,
>
>
> On a Linux box, an uninstall is not needed. I assume
> it is the same on
> an MS-Windows box. The different versions of Tomcat
> are simply installed
> parallel to each other. You do have to shutdown the
> old install, as the
> new install will try to use the same port numbers
> (8007, 8009, 8080, etc).
>
>
> --
> John Alex Hebert
> [EMAIL PROTECTED]
> System Engineer


=
-
[EMAIL PROTECTED]
Hacking is a "Good Thing!"
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/




Re: Upgrading tomcat

2001-07-26 Thread Charles Baker

Another question, do apps developed under the 3.2.x (
jsp 1.1/servlet 2.2 ) work well with Tomcat 4.0 and
the newer servlet/jsp specs?

--- John Hebert <[EMAIL PROTECTED]> wrote:
> Tia Haenni wrote:
> 
> > Has anyone gone from 3.2.1 up to 3.3? Does it
> require a complete uninstall
> > of previous versions? Is it best to go with 3.3 or
> wait for 4.0? Thanks,
> 
> 
> On a Linux box, an uninstall is not needed. I assume
> it is the same on 
> an MS-Windows box. The different versions of Tomcat
> are simply installed 
> parallel to each other. You do have to shutdown the
> old install, as the 
> new install will try to use the same port numbers
> (8007, 8009, 8080, etc).
> 
> 
> -- 
> John Alex Hebert
> [EMAIL PROTECTED]
> System Engineer


=
-
[EMAIL PROTECTED]
Hacking is a "Good Thing!"
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



Re: Upgrading tomcat

2001-07-26 Thread John Hebert

Tia Haenni wrote:

> Has anyone gone from 3.2.1 up to 3.3? Does it require a complete uninstall
> of previous versions? Is it best to go with 3.3 or wait for 4.0? Thanks,


On a Linux box, an uninstall is not needed. I assume it is the same on 
an MS-Windows box. The different versions of Tomcat are simply installed 
parallel to each other. You do have to shutdown the old install, as the 
new install will try to use the same port numbers (8007, 8009, 8080, etc).


-- 
John Alex Hebert
[EMAIL PROTECTED]
System Engineer



Re: Upgrading tomcat

2001-07-26 Thread Pier P. Fumagalli

Pier P. Fumagalli at [EMAIL PROTECTED] wrote:

> Tia Haenni at [EMAIL PROTECTED] wrote:
> 
>> Has anyone gone from 3.2.1 up to 3.3? Does it require a complete uninstall
>> of previous versions? Is it best to go with 3.3 or wait for 4.0? Thanks,
> 
> 3.3 is still under heavy development (I believe they reached their first
> milestone lately, but no beta versions yet), while 4.0 (at its 6th beta) can
> be considered fairly stable and complete.

FIRST->FOURTH... Sorry :)

Pier




Re: Upgrading tomcat

2001-07-26 Thread Pier P. Fumagalli

Tia Haenni at [EMAIL PROTECTED] wrote:

> Has anyone gone from 3.2.1 up to 3.3? Does it require a complete uninstall
> of previous versions? Is it best to go with 3.3 or wait for 4.0? Thanks,

3.3 is still under heavy development (I believe they reached their first
milestone lately, but no beta versions yet), while 4.0 (at its 6th beta) can
be considered fairly stable and complete.

Pier




RE: Upgrading tomcat 3.2.1 to 3.2.2

2001-06-01 Thread Roytman, Alex
Title: RE: Upgrading tomcat 3.2.1 to 3.2.2





Did it for RedHat Linux 7.1 and Win2k (Apache server 1.3.19) today took 15 min each. Did stress test for an hour on linux - no problems

-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 01, 2001 4:49 PM
To: [EMAIL PROTECTED]
Subject: Upgrading tomcat 3.2.1 to 3.2.2



Has anyone gone though an upgrade of Tomcat 3.2.1 to 3.2.2?  I am using
3.2.1 connected via mod_jk to Apache and using Apj12.  If I want to perform
this upgrade, is it going to take a very long time?  I seem to remember
having quite a bit of difficulty setting everything up in the first place,
compiling mod_jk, etc.  Does anyone have any good or bad news relating to
their experiences upgrading?  Any helpful hints or warnings?


Brandon Cruz





Re: Upgrading tomcat 3.2.1 to 3.2.2

2001-06-01 Thread David Lennartsson

On Fri, 1 Jun 2001, Brandon Cruz wrote:

> Has anyone gone though an upgrade of Tomcat 3.2.1 to 3.2.2?  I am using
> 3.2.1 connected via mod_jk to Apache and using Apj12.  If I want to perform
> this upgrade, is it going to take a very long time?  I seem to remember
> having quite a bit of difficulty setting everything up in the first place,
> compiling mod_jk, etc.  Does anyone have any good or bad news relating to
> their experiences upgrading?  Any helpful hints or warnings?

Did that one today. I used the same mod_jk.so in the same location. No
changes in mod_jk.conf and no changes to the server.xml files. Very
smooth.

/david




RE: Upgrading tomcat 3.2.1 to 3.2.2

2001-06-01 Thread Skidmore, Walt
Title: RE: Upgrading tomcat 3.2.1 to 3.2.2





I just saved all my necessary conf files and other files (jsps, classes, libs, etc), and put it over the top...  Then I put them back in...  So, it wasn't very difficult for me.  I'm running standalone, though.

-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 01, 2001 1:49 PM
To: [EMAIL PROTECTED]
Subject: Upgrading tomcat 3.2.1 to 3.2.2



Has anyone gone though an upgrade of Tomcat 3.2.1 to 3.2.2?  I am using
3.2.1 connected via mod_jk to Apache and using Apj12.  If I want to perform
this upgrade, is it going to take a very long time?  I seem to remember
having quite a bit of difficulty setting everything up in the first place,
compiling mod_jk, etc.  Does anyone have any good or bad news relating to
their experiences upgrading?  Any helpful hints or warnings?


Brandon Cruz