You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nathan Smith <na...@labpro2000.com> on 2002/07/29 05:46:59 UTC

How to migrate for Tomcat 3.3.1 to Tomcat 4.x?

    Have I been living under a rock or something? 

Does anybody know of information for migrating a Tomcat 3.3.1 web application to Tomcat 4.x and up. I have had Tomcat 4.0 able to start in the past and had the logon screen loaded but after logging in an exception is thrown for the next page. Both pages are jsp's. 

What is needed to have the web application working under Tomcat 4.x and if anything what needs to be changed. I know that the Servlet and JSP specifications have changed regarding the web.xml, which has to have all elements in the correct order and the most of the elements for taglib tld files now have '-' in them.

Is their something quite important I have missed or forgotten about, it's sure not a simple task of copying the web application from one tomcat to another.

Nathan.

Re: How to migrate for Tomcat 3.3.1 to Tomcat 4.x?

Posted by "Michael E. Locasto" <lo...@cs.columbia.edu>.
Nathan,

The Tomcat homepage says that "Version 4.0 implements the final released
versions of the Servlet 2.3 and JSP 1.2 specifications. As required by the
specifications, Tomcat 4.0 also supports web applications built for the
Servlet 2.2 and JSP 1.1 specifications with no changes."

So it looks like 4.0 will support your webapps. Check out the new server.xml
and the docs.

You can read the specs here:

http://jcp.org/aboutJava/communityprocess/first/jsr053/index.html

A check of bugzilla for any outstanding or serious bugs against the version
of Tomcat 4 you are thinking of migrating to would be helpful.

Beyond that, your best bet would be to download it and see what breaks when
you move your webapps to the development environment.

Regards,
Michael


----- Original Message -----
From: "Nathan Smith" <na...@labpro2000.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Sunday, July 28, 2002 11:46 PM
Subject: How to migrate for Tomcat 3.3.1 to Tomcat 4.x?


    Have I been living under a rock or something?

Does anybody know of information for migrating a Tomcat 3.3.1 web
application to Tomcat 4.x and up. I have had Tomcat 4.0 able to start in the
past and had the logon screen loaded but after logging in an exception is
thrown for the next page. Both pages are jsp's.

What is needed to have the web application working under Tomcat 4.x and if
anything what needs to be changed. I know that the Servlet and JSP
specifications have changed regarding the web.xml, which has to have all
elements in the correct order and the most of the elements for taglib tld
files now have '-' in them.

Is their something quite important I have missed or forgotten about, it's
sure not a simple task of copying the web application from one tomcat to
another.

Nathan.



----------------------------------------------------------------------------
----


> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: How to migrate for Tomcat 3.3.1 to Tomcat 4.x?

Posted by Andrew Conrad <an...@msn.com>.
Nathan,

The 4.x spec says it will support Servlet 2.2, JSP 1.1 w/o modification.
Work with a Tomcat 4.x test page to make sure everything works before
trying to debug your app.  Also, can you turn off HTML in your emails. 

Thx,

Andrew




-----Original Message-----
From: Nathan Smith [mailto:nathan@labpro2000.com] 
Sent: Sunday, July 28, 2002 11:47 PM
To: Tomcat Users List
Subject: How to migrate for Tomcat 3.3.1 to Tomcat 4.x?


    Have I been living under a rock or something? 

Does anybody know of information for migrating a Tomcat 3.3.1 web
application to Tomcat 4.x and up. I have had Tomcat 4.0 able to start in
the past and had the logon screen loaded but after logging in an
exception is thrown for the next page. Both pages are jsp's. 

What is needed to have the web application working under Tomcat 4.x and
if anything what needs to be changed. I know that the Servlet and JSP
specifications have changed regarding the web.xml, which has to have all
elements in the correct order and the most of the elements for taglib
tld files now have '-' in them.

Is their something quite important I have missed or forgotten about,
it's sure not a simple task of copying the web application from one
tomcat to another.

Nathan.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>