. . ..:: Upgrading Tomcat ::.. . .

2001-05-09 Thread Mike Spisak

I want to remedy the "view source code" bug in Tomcat 3.x...

I have searched around and cannot find anything on how to upgrade my tomcat 
instance from 3.2.1 to 4 ..

Is it as simple as unzipping the new tomcat code over my 3.2.1 install?? I 
dont want to do anything that will mess up my original configuration..

If upgrading is a bad idea, are there any other suggestions other than 
upgrading to fix the %70 "view jsp source" bug?

Thanks in advance..

Current Configuration:

OS: Win2k
WebEngine: IIS5
Tomcat v3.2.1
DB: mySQL

FYI: the above config is working very nicely (except for the tomcat bug..)

Thanks!

| m i k e |




Upgrading tomcat

2001-07-26 Thread Tia Haenni

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,

Tia




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

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 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 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 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 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

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




Upgrading Tomcat 5

2003-07-14 Thread Gerry Reno
  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]



Question about upgrading Tomcat

2002-07-19 Thread Eric Leung

Hi All,

This is my first question post to this mailing list.
I'm trying to upgrade the application written for tomcat 3.1.x to 3.2.4 or
3.3.1
But I found that there are codes written specifically for v3.1 and they are
deprecated.

The following code segment is from a very first servlet called for the web
site.
.
.
.

import javax.servlet.GenericServlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.ServletException;

import org.apache.tomcat.core.Context;
import org.apache.tomcat.core.ServletContextFacade;


public class InitServlet extends GenericServlet {

private static Hashtable obj_table;
private static String CONFIG_NAME = "xxx.properties";


public InitServlet() {
super();
}

public void init(ServletConfig conf) throws ServletException {
super.init(conf);

obj_table = new Hashtable();

// Get the context of this servlet
Context context = ((ServletContextFacade) conf.getServletContext()).
getRealContext();

obj_table.put(context.getClass().getName(), context);

String conf_filename = context.getContextManager().getTomcatHome() +

File.separator + "conf" + File.separator + CONFIG_NAME;

if (! new File(conf_filename).exists()) {
// Configuration file doesn't exist; tell user
log("Configuration file: " + conf_filename + " does not
exist");
log("Please make sure file exist for the xxx application");
System.err.println("Configuration file: " + conf_filename +
" does not exist");
return;
}

.
.
.
}

.
.
.

Since the org.apache.tomcat.core.Context and
org.apache.tomcat.core.ServletContextFacade have been deprecated,
do you know how should I modify the servlet to make it work in 3.2 or 3.3?

Any suggestion, advice, comment, or pointers are greatly appreciated.
Thanks,
Eric Leung




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 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
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 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-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-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]



Upgrading Tomcat to 4.1.27

2003-08-26 Thread Bond


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]



upgrading tomcat to 4.1.7

2004-12-14 Thread john corcoran
Hello ,
I am trying to upgrade tomcat 4.0.5 to tomcat 4.1.7
I've searched the net and website and cannot find upgrade 
instructionscan someone help me out ?

Thanks
-J
_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

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


Re: Question about upgrading Tomcat

2002-07-19 Thread Henner Zeller


Hi,
>   Context context = ((ServletContextFacade) conf.getServletContext()).
>   getRealContext();
..
 
conf.getServletContext().getRealPath("/my/path/to/the/config/file.xyz");

resolves names relative to your context. This is part of the servlet spec.

ciao,
 -hen


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Upgrading Tomcat to fix bug...

2001-05-09 Thread Mike Spisak

I want to remedy the "view source code" bug in Tomcat 3.x...

I have searched around and cannot find anything on how to upgrade my tomcat 
instance from 3.2.1 to 4 ..

Is it as simple as unzipping the new tomcat code over my 3.2.1 install?? I 
dont want to do anything that will mess up my original configuration..

If upgrading is a bad idea, are there any other suggestions other than 
upgrading to fix the %70 "view jsp source" bug?

Thanks in advance..

Current Configuration:
OS: Win2k
WebEngine: IIS5
Tomcat v3.2.1
DB: mySQL

FYI: the above config is working very nicely (except for the tomcat bug..)
Thanks!

|  m i k e  |




Upgrading tomcat 3.2.1 to 3.2.2

2001-06-01 Thread Brandon Cruz

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 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 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 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-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-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]



Upgrading tomcat 5 on Windows

2004-06-09 Thread Tim Penhey
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





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



Problems upgrading Tomcat with JAXP 1.1

2001-05-18 Thread Christian Rauh

Dear People,

I had to upgrade the JAXP on Tomcat from the bundled version, 1.0, to 1.1.
Everything works fine except that now I cannot use international characters
like "ã" or "ú" on the web.xml files.

When I use those characters I get an exception:

-- start of exception output --

ERROR reading D:\java\gssi\cadastro\server\WEB-INF\web.xml
At org.apache.crimson.parser/P-076 Malformed UTF-8 char -- is an XML
encoding declaration missing?

ERROR reading d:\java\gssi\cadastro\server\WEB-INF\web.xml
org.xml.sax.SAXParseException: org.apache.crimson.parser/P-076
Malformed UTF-8 char -- is an XML encoding declaration missing?
  at org.apache.crimson.parser.InputEntity.fatal(InputEntity.java:1038)
  at org.apache.crimson.parser.InputEntity.fillbuf(InputEntity.java:1010)
  at org.apache.crimson.parser.InputEntity.peek(InputEntity.java:841)
  at org.apache.crimson.parser.Parser2.peek(Parser2.java:2927)
  at org.apache.crimson.parser.Parser2.maybeXmlDecl(Parser2.java:999)
[ etc. ]

-- end of exception output --

Does anyone have an idea as to how to solve this problem?

Christian



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





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 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





A word of caution upgrading Tomcat

2004-04-23 Thread John H
I hate to open a can of worms, but I see no other choice. Something needs to
be done about features that appear and disappear seemingly randomly between
versions.

Here are a few examples. Despite what the documentation says (which may or
may not be accurate), these features really worked, and now don't.

In TC 4.0.4, you could put  and  directives in a
. This is no longer true in TC4.1.24, and you are forced to
put the  stuff in , despite what the
documentation said (and still says) in
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/defaultcontext.html

In addition, in 4.1.24 you could put context descriptors (XML files
describing your context) in the appBase of your , and they would load.
In TC5.0.19 that feature has been removed, and you must now use META-INF or
[Catalina_home]/conf//. I've verified this in the code.

I beleive that TC5 was branched at 4.1.7. If this feature was added post
4.1.7, why did it not get integrated into the 5.0 tree? How many other post
4.1.7 features/bug fixes have been left out?

No one seems to care about these loss of features. For the second loss of
functionality above, I entered a bug in bugzilla which was promptly closed
and I was told to RTFM. I did RTFM, and while it is confusing, it does
indirectly say I can no longer do what I could in 4.1.24 (by telling me what
I CAN do). No mention of this feature's deprecation or any reason why (even
after I asked). Forgive me for not wanting to change my current structure,
especcially since I don't see any reason why it would change.

I suppose I'll be flamed for complaining about a free product, but the
Apache organization, of which Tomcat is a member, is known for high quailty
open-source development. These missteps seem very out of character, and I
think the development team should address them,

I hope that I'm not a lone in my feelings here. If I am, I'll gladly crawl
back into my hole and mumble under my breath, and perhaps consider another
JSP/Servlet container.

Thanks for listening,

John


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



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 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]



Errors after upgrading Tomcat to 5.0.28

2005-02-28 Thread Varley, Roger
Hi

I have upgraded from Tomcat 4.3.31 to 5.0.28. While testing, a previously 
running application now fails with the error 
"org.apache.jasper.JasperException: Cannot find any information on property 
'tcCheckBoxErrorMessage' in a bean of type 
'uk.co.brakes.CustomerRegistrationFormData'"

Can anyone give me a pointer as to why this message is appearing when the only 
thing thats changed is upgrading Tomcat and what I need to do about it.

Regards
Roger


__
This e-mail and the documents attached are confidential and intended 
solely for the addressee; it may also be privileged. If you receive this 
e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin group 
liability cannot be triggered for the message content. Although the 
sender endeavours to maintain a computer virus-free network, the sender 
does not warrant that this transmission is virus-free and will not be 
liable for any damages resulting from any virus transmitted.
__

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



upgrading tomcat 3.2.2 to 3.2.4 on win2k

2002-07-11 Thread duffy

I am testing video conferencing soft and the administrative portion was 
done in tomcat. It is version 3.2.2. I guess there is a security hole 
in this version. I would like to find the easiest method of moving to 
3.2.4. I know its not the even close to the newest, but I thought that 
keeping it closely related would reduce the amount of problems. Someone 
told me there were patches to do this, is that true? I was thinking of 
installing a 3.2.4 next to where 3.2.2 is and then copying their files 
over, might this work? Any suggestions would be appreciated. 

Thank you,

Scott Duffy



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: A word of caution upgrading Tomcat

2004-04-23 Thread Parsons Technical Services
John,

I am in no way an expert on Tomcat, but I do know that some things are
driven by the spec and not the developers. I am also sure that some things
have come and gone in versions.

For feature one, I would submit a bug report on the documentation, not the
software, and outline in detail as you have here. Some of the documentation
is carried over from previous versions and fails to get updated when changes
occur. Simply ask that a notation be added that the feature no longer
functions after a certain version. Minor notes are often acted upon quicker
than a major rewrite.

As for feature two, this is a spec issue. To support 2.4 this feature was
added. As for removal of the other feature I can only guess why it no longer
remains, but my money would be on, its not by spec and thus Tomcat specific.

It has been noted on the list several times that there are features that are
not per spec and may be removed at any time. So the safe way to do things is
to follow the spec. When one likes to be on the bleeding edge, one must be
prepared to bleed at times.

I do not mean to flame you in any way. Only to share my opinion. But, if you
do consider a different package, you will still have to change your
structure, because the other package will not support it either.

Read the spec, feel the spec, be the spec. If you find something that does
not follow the spec then, by all means let 'em have it!

IMHO
Delete at will.

Doug
- Original Message - 
From: "John H" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, April 23, 2004 2:37 PM
Subject: A word of caution upgrading Tomcat


> I hate to open a can of worms, but I see no other choice. Something needs
to
> be done about features that appear and disappear seemingly randomly
between
> versions.
>
> Here are a few examples. Despite what the documentation says (which may or
> may not be accurate), these features really worked, and now don't.
>
> In TC 4.0.4, you could put  and  directives in a
> . This is no longer true in TC4.1.24, and you are forced
to
> put the  stuff in , despite what the
> documentation said (and still says) in
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/defaultcontext.html
>
> In addition, in 4.1.24 you could put context descriptors (XML files
> describing your context) in the appBase of your , and they would
load.
> In TC5.0.19 that feature has been removed, and you must now use META-INF
or
> [Catalina_home]/conf//. I've verified this in the code.
>
> I beleive that TC5 was branched at 4.1.7. If this feature was added post
> 4.1.7, why did it not get integrated into the 5.0 tree? How many other
post
> 4.1.7 features/bug fixes have been left out?
>
> No one seems to care about these loss of features. For the second loss of
> functionality above, I entered a bug in bugzilla which was promptly closed
> and I was told to RTFM. I did RTFM, and while it is confusing, it does
> indirectly say I can no longer do what I could in 4.1.24 (by telling me
what
> I CAN do). No mention of this feature's deprecation or any reason why
(even
> after I asked). Forgive me for not wanting to change my current structure,
> especcially since I don't see any reason why it would change.
>
> I suppose I'll be flamed for complaining about a free product, but the
> Apache organization, of which Tomcat is a member, is known for high
quailty
> open-source development. These missteps seem very out of character, and I
> think the development team should address them,
>
> I hope that I'm not a lone in my feelings here. If I am, I'll gladly crawl
> back into my hole and mumble under my breath, and perhaps consider another
> JSP/Servlet container.
>
> Thanks for listening,
>
> John
>
>
> -
> 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: A word of caution upgrading Tomcat

2004-04-23 Thread QM
On Fri, Apr 23, 2004 at 02:37:04PM -0400, John H wrote:
: I hate to open a can of worms, but I see no other choice. Something needs to
: be done about features that appear and disappear seemingly randomly between
: versions.

This isn't a flame, so please don't take it as such:

Products evolve.  

As noted by another poster, sometimes it's per the spec.
(SingleThreadModel, anyone?)  Other times, it's just a necessity.
(Perhaps the lead dev on a given feature no longer has the time/energy
to support it, and no one else picked up the torch.)

Even commercial products make dramatic changes between releases, some of
them not well-documented.  I've handled SunOS->Solaris, WebLogic 5->8,
etc.  Some apps had to be rebuilt, even recoded, but frustrations were
kept to a minimum when we didn't expect slam-dunk-then-Miller-Time. ;)

-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
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: Errors after upgrading Tomcat to 5.0.28

2005-02-28 Thread Varley, Roger
> 
> I have upgraded from Tomcat 4.3.31 to 5.0.28. While testing, 
> a previously running application now fails with the error 
> "org.apache.jasper.JasperException: Cannot find any 
> information on property 'tcCheckBoxErrorMessage' in a bean of 
> type 'uk.co.brakes.CustomerRegistrationFormData'"
> 

Please ignore this. Upgrading Tomcat was *not* the only thing that changed. I 
should have checked before posting. Please accept my apologies.

Regards
Roger


__
This e-mail and the documents attached are confidential and intended 
solely for the addressee; it may also be privileged. If you receive this 
e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin group 
liability cannot be triggered for the message content. Although the 
sender endeavours to maintain a computer virus-free network, the sender 
does not warrant that this transmission is virus-free and will not be 
liable for any damages resulting from any virus transmitted.
__

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



Upgrading Tomcat from 4.1.x to 5.0.x

2004-02-27 Thread Rhino



I've been using Tomcat 4.124 and now Tomcat 4.1.29 with good results but 
I'm thinking it might be time to upgrade to Tomcat 5.0.x.
 
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.
 
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.
 
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?
Rhino---rhino1 AT sympatico DOT ca"If you want the best 
seat in the house, you'll have to move the cat."


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]



Need help on upgrading Tomcat from 3.1 to 4.1.x

2003-07-15 Thread Eric Leung
Dear All Tomcat Users,

I'm working on upgrading Tomcat from a very old version to 4.1.x
Currently, we have a servlet being run at the start of the web (specified in
web.xml ).
But this servlet may have some objects obsoleted in ver 4.1.x.

Does anyone know how should I change this servlet in order to make it runs
on Tomcat 4.1.x?

THANKS IN ADVANCE!!

Here is the code:

package com.xxx.common;
.
import 
import 
import 

...
..
.

import java.util.Hashtable;
import java.util.Properties;
import java.io.File;
import java.io.IOException;

import javax.mail.Session;
import javax.servlet.GenericServlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.ServletException;

import org.apache.tomcat.core.Context;
import org.apache.tomcat.core.ServletContextFacade;


/**
 * InitServlet is a "faceless" servlet that is automatically started when
 * the servlet container starts. InitServlet requires only one initial
parameter
 * at startup: config.  This parameter refers to the property that will
contain
 * all the tunables for the site.
 *
 * ...
 * ...
 */
 
public class InitServlet extends GenericServlet {

private static Hashtable obj_table;
private static String CONFIG_NAME = "xxx.properties";


public InitServlet() {
super();
}


/**
 * Initialization routine to startup services for xxx
 *
 * @param conf configuration for this servlet
 * @exception ServletException not used in this method
 */
public void init(ServletConfig conf) throws ServletException {
super.init(conf);

obj_table = new Hashtable();

// Get the context of this servlet
Context context = ((ServletContextFacade) conf.getServletContext()).
getRealContext();

obj_table.put(context.getClass().getName(), context);

String conf_filename = context.getContextManager().getTomcatHome() +

File.separator + "conf" + File.separator + CONFIG_NAME;

if (! new File(conf_filename).exists()) {
// Configuration file doesn't exist; tell user
log("Configuration file: " + conf_filename + " does not
exist");
log("Please make sure file exist for the iSteelAsia.com
application");
System.err.println("Configuration file: " + conf_filename +
" does not exist");
System.err.println("Please make sure file exist for the
iSteelAsia.com application");
return;
}


...
..
.
}

/**
 * Retrieves an object out of the object hash table.
 *
 * @param name the given name of the object
 * @return the actual object
 */
public static Object getObject(String name) {
if (obj_table == null) {
return null;
}

return obj_table.get(name);
}


/**
 * Inserts an object into the object hash table.
 *
 * @param name the name of the object
 * @param key the object itself
 */
public static void setObject(String name, Object key) {
if (obj_table == null) {
return;
}

obj_table.put(name, key);
}

/**
 * The service method is blank, meaning that this servlet will do nothing
other then
 * a faceless init. This servlet will return no data.
 *
 * @param request javax.servlet.ServletRequest servlet request object
 * @param response javax.servlet.ServletResponse sevlet response object
 */
public void service(ServletRequest request, ServletResponse response) 
throws ServletException, IOException { }

} /* InitServlet */



Upgrading Tomcat from 4.1.24 to 5.0.18 on Solaris 9 Platform

2005-04-01 Thread Linnabary, Paul
I'm a new user to the tomcat-user group. I installed Tomcat 4.1.24 on a
Solaris 9 platform last January.  I am doing an Arbortext application
upgrade on Monday.  I am being asked to upgrade my Tomcat to version
5.0.18.  I have downloaded the package from the Apache archives, but I
don't have a clue as how to properly upgrade Tomcat to the newer version
as I can't find any documentation.  Thanks!  Paul

Paul E. Linnabary
Systems Design and Integration Specialist
The Boeing Company
Wichita, KS  67210
316-526-7367

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



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

2004-02-17 Thread fhbib webmaster
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 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]