Info | ||
---|---|---|
| ||
This page documents the usage with Gradle, the pre-Gradle documentation is here: How to upgrade the embedded Tomcat |
The intended audience of this document is the OFBiz committers group
...
.
This document describes the steps required to upgrade the version of the embedded Tomcat, for versions 78.0.27 39 or greater.
Info |
---|
It is not explicitly mentioned but when the jars are copied the prefix tomcat-<VERSION>- must be added to each jar file |
Info |
---|
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:
- tomcat-embed-core.jar
- tomcat-embed-jasper.jar
- ecj-3.7.2.jar
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.
From the "Extras" of Tomcat, copy (and remove the old versions) to the framework/catalina/lib folder the following jars:
- tomcat-juli-adapters.jar
- tomcat-juli.jar (note: it is important to use the ones from "Extras", not the one in the main tomcat distro)
they are required to enable log4j for internal tomcat logging
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
Since we now use Gradle to retrieve external libs and create the .classpath Eclipse file, we simply need to change the version number in the build.gradle file.
I thought crossed an issue trying to upgrade from 8.0.33 to 8.5.4 so I keep the information below to check the issue currently handled at
Jira | ||||||
---|---|---|---|---|---|---|
|