Professional Documents
Culture Documents
Before implementing the new Tomcat version, make a backup of the following from the current
Tomcat:
Para Windows/Linux:
Para Linux: Download the tar.gz download on the Tomcat download page Ex: tar.gz
Note: Be sure to put the java options in the Java Options field; do not put them in the Java 9 field.
The reference article above gives recommendations for initial heap size (-Xms) and max heap size (-
Xmx). Put the values for these options in their respective fields on the Tomcat config panel.
1. Set the Java options in the setenv.sh or setenv.bat file. COPIAR EL SETENV.SH DEL TOMCAT
VIEJO Y ACTUALIZAR LA RUTA DEL APACHE DENTRO DEL ARCHIVO.
2. Use the backup copy to update the new version with the needed settings.
Unix Example:
export JAVA_HOME=/etc/alternatives/jre_1.8.0;
export CATALINA_OPTS="$CATALINA_OPTS -Xms3072m";
export CATALINA_OPTS="$CATALINA_OPTS -Xmx3072m";
export CATALINA_OPTS="$CATALINA_OPTS -XX:MaxMetaspaceSize=256m";
export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseConcMarkSweepGC";
export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseCompressedOops";
export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseParNewGC";
export CATALINA_OPTS="$CATALINA_OPTS -XX:NewRatio=2";
export CATALINA_OPTS="$CATALINA_OPTS -Djava.awt.headless=true";
6. Optional actions
Check the webapps/ROOT contents – some installations use the ROOT application to
do automatic redirects to a /arsys context for the URL
Check the tomcat/lib directory for any jar files that were added to the old Tomcat that
are not in the new one.
Check the old-Tomcat/webapps directory for other subdirectories like eschat,
programd, rsso, etc. If other applications beyond Mid Tier are supported by Tomcat,
then they must be moved as well.
1. Install new Tomcat with different port. If you need the same port then stop the existing Tomcat and
then install the new Tomcat.
3. Copy smartit.xml file from the old Tomcat conf/Catalina/localhost folder to a new
Tomcat conf/Catalina/localhost folder.
a. For Windows:
iii. Copy the Java options from the Java tab of the old Tomcat to the new Tomcat. You
should replace the existing paths with the new Tomcat paths.
iv. Copy initial memory pool from the Java tab of the old Tomcat to the new Tomcat.
v. Copy the maximum memory pool from the Java tab of the old Tomcat to the new
Tomcat.
b. For Linux:
9. If you have rebranded Smart IT on the old Tomcat server, do the following:
a. From the old Tomcat server, copy the style-smart-it.css file from
the %TOMCAT_HOME%/webapps/tenant-custom-res/000000000000001 directory.
b. Paste the style-smart-it.css file on the new Tomcat server in
the %TOMCAT_HOME%/webapps/tenant-custom-res/000000000000001 directory. If the
directory does not exist create it. For more information on rebranding Smart IT,
see Rebranding Smart IT on the Universal Client.