Steps to Upgrade Tomcat 6 to Tomcat 7

Four Easy Step to migrate Tomcat 6 to Tomcat 7 :

Initial Condition :

1.Install Tomcat 7 into your system.

 

Step 1 : In Tomcat 6 look at the configuration in tld file ::

 

        "https://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">

    1.0

    1.1

    XXX-tags

    https://XXX/XXX-tags-1.0

 

Step 2 :In Tomcat 7 change the specific version in tld file::

"https://java.sun.com/xml/ns/javaee"

                xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"

                xsi:schemaLocation="https://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"

                version="2.1">

               

    1.0

    1.2

    XXX-tags

    https://XXX/XXX-tags-1.0  

 

Step 3 In Tomcat 6 look at the configuratio in Web.xml::

  id="WebApp_ID" version="2.5">

        /WEB-INF/xxx-tags.tld

        /WEB-INF/tld/xxx-tags.tld

   

   

        /WEB-INF/xxx-table.tld

        /WEB-INF/tld/xxx-table.tld

   

 

Step 4 :In Tomcat 7 change the specific version in web.xml::

version="3.0" id="WebApp_ID"

         xmlns="https://java.sun.com/xml/ns/javaee"

         xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"

         xsi:schemaLocation="https://java.sun.com/xml/ns/javaee https://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">

   

        /WEB-INF/XXX-tags.tld

        /WEB-INF/tld/XXX-tags.tld       

   

   

        /WEB-INF/XXX-table.tld

        /WEB-INF/tld/XXX-table.tld

   

       

Search site

© 2011 All rights reserved.