DWP Tomcat Upgrade from version 7 to version 8

Version 2
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    MyIT Digital Workplace



    QUESTION:

    We are running MyIT on version tomcat 7.x and want to upgrade to tomcat 8.x. What are the steps necessary to upgrade ?


    ANSWER:

    1.) Stop Tomcat and all related services (Social, openfire, etc)

    2.) Download the Tomcat from the official source : http://tomcat.apache.org/download-80.cgi

    3.) Backup the following Tomcat folders :
            <Tomcat_HOME>/lib
            <Tomcat_HOME>/conf
            <Tomcat_HOME>/bin

    4.) From lib folder remove all except the following jars :
            spring-tomcat-weaver-*jar
            jtds-*.jar
            ojdbc6-*.jar
            sqljdbc*.jar(if exist)

    5.) From the downloaded package copy the lib folder content to <Tomcat_HOME>/lib

    6.) Open <Tomcat_HOME>/conf/server.xml  and change:

            After : <Server port="8005" shutdown="SHUTDOWN">
            Add following :  <Listener className="org.apache.catalina.startup.VersionLoggerListener"/>
            Comment row : <!--Listener className="org.apache.catalina.core.JasperListener" /–>

    7.) Replace the following files  in the <Tomcat_HOME>/conf  by file from the downloaded package:
            catalina.properties
            catalina.policy
            web.xml

    8.) Replace the following files in the <Tomcat_HOME>/bin by file from the downloaded package:
            bootstrap.jar
            commons-daemon.jar
            commons-daemon-native.tar.gz
            tomcat-juli.jar
            tomcat-native.tar.gz
            tomcat8.exe -> rename to SmartITMyITTomcat8.exe
            tomcat8w.exe -> rename to SmartITMyITTomcat8w.exe

    9.) Delete the following file from the <Tomcat_HOME>/bin
            SmartITMyITTomcat7.exe
            SmartITMyITTomcat7w.exe

    10.)  Open the <Tomcat_HOME>/conf/Catalina/localhost/ux.xml and replace :

            maxActive -> maxTotal

            maxWait -> maxWaitMillis10.


    11.) Run regedit

        a. go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SmartITMyITTomcat7
        b. edit ImagePath change SmartITMyITTomcat7.exe to SmartITMyITTomcat8.exe


    Article Number:

    000118907


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles