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.
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 "Core Tomcat" distribution, copy to the framework/catalina/lib folder the following jars (and remove the old versions):
- ecj-<VERSION>.jar
- catalina.jar
- catalina-ha.jar
- catalina-tribes.jar
- jasper.jar
- tomcat-api.jar
- tomcat-coyote.jar
- tomcat-juli.jar (this is usually found under the bin folder of the Tomcat distribution)
- tomcat-util.jar
framework/base/lib/j2eespecs
From the "Core Tomcat" distribution, copy to the framework/base/lib/j2eespecs folder the following jars (and remove the old versions):
- annotations-api.jar
- el-api.jar
- jsp-api.jar
- servlet-api.jar
they are the standard API specifications; please add the suffix for the specification version (can be found in the Tomcat documentation or in the Manifest file in them).
The current specification versions in OFBiz (and Tomcat 7.0.*) are:
- annotations-api-3.0.jar
- el-api-2.2.jar
- jsp-api-2.2.jar
- servlet-api-3.0.jar