![]() XNAT 1.8.2 and later requires no changes to run on Tomcat 8.5 or later. Running XNAT 1.8.2 and later on Tomcat 8.5 and later Delete the element then delete the !- string at the beginning of the element and the - string at the end of the element. The standard releases of XNAT 1.8.1 and earlier already have the lines required for compatibility with Tomcat 8.5 or later, but they're commented out. The final version of your modified configuration file should look like this: Continue with your deployment/installation using the updated war file in place of the standard XNAT application.Update the war file with your modified META-INF/context.xml file: $ jar uf xnat-web-1.8.1.war META-INF/context.xml Edit META-INF/context.xml and delete the line with the element.Īdd the following lines to the file right after the element: The technologies used in this book include versions 4.0 and 4.1 of the Jakarta Tomcat Web server, Java Servlet Technology version 2.4, and JavaServer.This file should look something like this (edited for clarity): The default war for XNAT 1.8.1 and earlier is built to run under Tomcat 7.0 You should consider upgrading to XNAT 1.8.2 or later and running under Tomcat 8.5 or later, but if you can't:Įxtract the file META-INF/context.xml (this requires having the Java JDK available on your path): $ jar xf xnat-web-1.8.1.war META-INF/context.xml Running XNAT 1.8.1 and earlier on Tomcat 8.5 and later ![]() This section describes how to modify XNAT to run on Tomcat 8.5 or later. Modifying XNAT to run on Tomcat 8.5 or later You should consider migrating to Tomcat 9.0 as soon as possible.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |