How to upgrade the embedded Tomcat in OFBiz
The intended audience of this document is the OFBiz committers group.
This document is a work in progress.
This document describes the steps required to upgrade the version of the embedded Tomcat, for versions 7.0.27 or greater.
It is not explicitly mentioned but when the jars are copied the prefix tomcat-<VERSION>- must be added to each jar file
remember to update LICENSE and .classpath files
framework/catalina/lib
From the "Embedded Tomcat" distribution, copy (and remove the old versions) to the framework/catalina/lib folder the following jars:
- ecj-<VERSION>.jar
- tomcat-embed-core.jar
- tomcat-embed-jasper.jar
- tomcat-embed-logging-juli.jar (required to enable log4j for internal tomcat logging)
for the core Tomcat engine.
From the "Core Tomcat" distribution, copy (and remove the old versions) to the framework/catalina/lib folder the following jars:
- tomcat-catalina-ha.jar
- tomcat-catalina-tribes.jar
for clustering support.
framework/base/lib/j2eespecs
From the "Core Tomcat" distribution, copy (and remove the old versions) to the framework/catalina/lib folder the following jars:
- annotations-api.jar
- el-api.jar
- jsp-api.jar
- servlet-api.jar
they are the standard API specifications.