What do I need to install prior to installing / upgrading to FootPrints 11.6.11 |
Configuring Tomcat 9 on Windows and Linux (Footprints 11.6.11 Fresh installation and upgrade) Windows Download “Open JDK 11.0.2” https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_windows-x64_bin.zip Extract it to the following location - C:\Program Files\Java\jdk-11.0.2 Set JAVA_HOME Environment Variable and add it to the path variable (make sure in Path variable the location is added at the beginning) e.g. JAVA_HOME= C:\Program Files\Java\jdk-11.0.2 Install and configure Tomcat 9.0 a. Download Tomcat 9.0 from https://tomcat.apache.org/download-90.cgi b. Choose the 32-bit/64-bit Windows Service Installer and run the executable to install Go to Tomcat 9.0 installation folder - go to bin folder - load tomcat9w.exe Open Tomcat 9 Properties panel > go to Java tab and add the OpenJdk11 jvm.dll location C:\Program Files\Java\jdk-11.0.2\bin\server\jvm.dll Note : If you move the OpenJDK folder to another location, you also need to make a change in the c:\footprints\cgi\MRLocalDefs file. - change path as required Change the path after the JAVA_DIR variable, for example if the original path is : $JAVA_DIR = "C:\\Program Files\\JAVA\\OPENJDK11.0.2\\bin; And change to the new path, for instance : $JAVA_DIR = "D:\\JAVA\\OPENJDK11.0.2\\bin; Make the change to reflect your JDK location. Save the file. Executive dashboard will now use the new path for java. Configuring Tomcat 9 on Linux (Footprints 11.6.11) Download Open JDK 11.0.2 (https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz) Extract it to a location (e.g. /opt/java/jdk-11.0.2) Set JAVA_HOME environment Linux command JAVA_HOME="/opt/java/jdk-11.0.2" export JAVA_HOME export PATH=$PATH:$JAVA_HOME/bin Run “echo $JAVA_HOME “in terminal to confirm if the JAVA_HOME is set to OpenJDK11.0.2 (a restart might be required if not configured) Download Tomcat 9, if already download open location where Tomcat 9 is extracted to. Go in bin folder of Tomcat 9 e.g. /opt/apache/ apache-tomcat-9/bin Open the setenv.sh file and add a line export JAVA_HOME=/opt/java/jdk-11.0.2 Tomcat will use OpenJDK 11 Note: if Footprints is not started via Tomcat 9 and the tomcat logs contains error related to cxf Add the following line in setenv.sh , this would be just a workaround and is not recommended by Tomcat, defect DRZNZ-5551 is logged for the same export CATALINA_OPTS="$CATALINA_OPTS -Dorg.apache.cxf.stax.allowInsecureParser=1" For Linux Tomcat 8.5 and Tomcat 9 cannot be deployed on the same port i.e. 8080, 8005 and 8009 , so if you have FootPrints installed which is prior to 11.6.11 that requires Tomcat 8.5 for deployment, when upgrading to the latest Footprints that requires Tomcat 9, The Ports of Tomcat 8.5 needs to be changed to some other ports that are not in use by any other application eg. 8181, 8105, 8109 other |