How to manually upgrade from Tomcat 7.x to 8.x or from one 7.0.xx version to a higher 7.0.xx version on Linux
Description
This Knowledge articles describes the steps to manually upgrade from Tomcat 7.x to 8.x or from one 7.0.xx version to a higher 7.0.xx version on Portal servers running on Linux OS.
In the below example we are upgrading from Tomcat 8.5.15 to Tomcat 8.5.23. However these same steps should be applicable when upgrading from Tomcat 7.x to any version of Tomcat 8.x or from one 7.0.xx version to a higher 7.0.xx version.All these steps are applicable to Portals running on Linux OS.
/opt/aptare/bin/tomcat-portal stop
/opt/aptare/bin/tomcat-agent stop
cd /opt/
wget http://<aptare.comlinkfornewapachetomcatdownload>/apache-tomcat-8.5.23.tar.gz
gunzip apache-tomcat-8.5.23.tar.gz
tar -xf apache-tomcat-8.5.23.tar
rm apache-tomcat-8.5.23.tar
cd apache-tomcat-8.5.23/bin/
cp /opt/tomcat/bin/startup_portal.sh .
cp /opt/tomcat/bin/startup_agent.sh .
cp /opt/tomcat/bin/shutdown_portal.sh .
cp /opt/tomcat/bin/shutdown_agent.sh .
cd /opt/apache-tomcat-8.5.23/
cp -R /opt/tomcat/aptare-instances/ .
cd /opt
rm tomcat
ln -s /opt/apache-tomcat-8.5.23/ /opt/tomcat
cd /opt/tomcat/conf/
vi sc.properties (verify this file exists and has the line tomcat.version=8.5.23 - or whatever the corresponding tomcat version is)
vi /opt/tomcat/aptare-instances/portal/conf/server.xml (comment or delete the following line <Listener className="org.apache.catalina.core.JasperListener" />)
vi /opt/tomcat/aptare-instances/agent/conf/server.xml (comment or delete the following line <Listener className="org.apache.catalina.core.JasperListener" />)
chown -R tomcat:tomcat /opt/tomcat/
/opt/aptare/bin/tomcat-portal start
/opt/aptare/bin/tomcat-agent start
Customer downloadable copy from APTARE Customer Portal: http://customer.aptare.com/?view=login&url=downloads/customercare/downloads/updates/apache-tomcat-8.5.23.tar.gz
To download from the web, you can, for example, use
wget http://download.nextag.com/apache/tomcat/tomcat-8/v8.5.23/bin/apache-tomcat-8.5.23.tar.gz
Note however that the non-APTARE distributions downloaded directly from the web will NOT have the required sc.properties file, so that file with appropriate contents will have to be created manually
Applies To
10.0.00, 10.0.01, 10.1.00, 10.1.01, 9.2.01