As a prerequisite, the machine on which you will upgrade Tomcat using this procedure must have an internet access.
To upgrade Tomcat 7.0.69, delivered with Nuxeo 8.10 installers, to a later revision you need to:
- Install Cygwin minimal setup including bash, cp, mv, mktemp, sed, grep, cut, rm , mkdir, Curl, Wget, Perl…
- Have a recent JDK 8 for Windows 64 bits already installed
- Finally, upgrade Tomcat
Cygwin bash is the preferred bash environment to run bash script for Nuxeo.
Download Cygwin setup program from Cygwin official site: https://www.cygwin.com/, e.g. using the Cygwin
Launch the setup script, choose a way to install it (from internet or another way if you need to), choose the local directory in which you will install Cygwin, choose a mirror site near your location and then choose to install at least the following bundles:
Wgetutility from the
Curlutility from the
You can then accept the software dependencies and install the Cygwin tools and utilities.
Download the script directly from this link
and save it as
Assuming you have:
- The upgrade bash script
upgrade_tomcat7.shon your Windows machine as
- Cygwin installed under
- JDK installed as
- Nuxeo 8.10 version installed as
Launch Cygwin bash, then:
export PATH=/cygdrive/c/cygwin64/bin:$PATH export PATH=/cygdrive/c/jdk1.8.0_144/bin:$PATH cd /cygdrive/c/nuxeo-server-8.10-tomcat cp /cygdrive/c/temp/upgrade_tomcat7.sh . # NOTICE THAT THE FOLLOWING USES A WINDOWS-like PATH SYNTAX with / instead of \ (not a Cygwin path syntax) ./upgrade_tomcat7.sh c:/nuxeo-server-8.10-tomcat rm ./upgrade_tomcat7.sh
and check in the console output that the following message is displayed:
*INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/7.0.81*