Apache Tomcat Questions - two versions for 14.0 Web Viewer?

book

Article ID: 223550

calendar_today

Updated On:

Products

CA Output Management Web Viewer

Issue/Introduction

I maintain the Web Viewer 14 install and I am seeing two different versions of APACHE TOMCAT. Here are the parms for CATALINA_HOME and _BASE

CATALINA_HOME="${INSTALL_HOME}"/tomcat
CATALINA_BASE="${PRODUCT_HOME}"/apache-tomcat-9.0.37

Seems like the HOME is pulling in 9.0.48 which is done by symbolic   

BPXM023I (CAWEBVWR) CATC0002I CA-CCS Tomcat started in: 12019 ms (Apache Tomcat/9.0.48)

and CATALINA_BASE is pulling in 9.0.37

CATALINA_BASE="${PRODUCT_HOME}"/apache-tomcat-9.0.37

It does not look right to me so I am trying to understand what is the difference.

 

 

Environment

Release : 14.0

Component : CA Output Management Web Viewer

Resolution

CATALINA_HOME is the root of the tomcat installation.

CATALINA_BASE is the root of the runtime configuration for a specific tomcat instance.  In this case, the instance used for Web Viewer r14.

If you look at how the CLASSPATH is set in STDENV, all the tomcat jars are loaded from ${CATALINA_HOME}/bin except for tomcat-juli.jar.  If you look at how the LIBPATH is set, it’s ${CATALINA_HOME}"/lib that gets added.

So, it’s CATALINA_HOME that is used for tomcat (except for tomcat-juli.jar).