From 47600e79d2cad640c00bde8aaf9a9d49d248cfe4 Mon Sep 17 00:00:00 2001 From: j2blake Date: Fri, 25 Nov 2011 17:20:15 +0000 Subject: [PATCH] NIHVIVO-3228 Warn installers not to create Context elements server.xml unless they include the necessary parameters. --- doc/install.html | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/doc/install.html b/doc/install.html index 1255718e..636e3772 100644 --- a/doc/install.html +++ b/doc/install.html @@ -807,17 +807,30 @@

Edit Tomcat's conf/server.xml and add the following attribute to each of the Connector elements: URIEncoding="UTF-8". +

-                    <Server ...>
-                      <Service ...>
-                        <Connector ... URIEncoding="UTF-8"/>
+                    <Server ...>
+                      <Service ...>
+                        <Connector ... URIEncoding="UTF-8"/>
                           ...
-                        </Connector>
-                      </Service>
-                    </Server>
+                        </Connector>
+                      </Service>
+                    </Server>
             
+

Take care when creating Context elements

+

+ Each of the webapps in the VIVO distribution (VIVO and Solr) includes a "context fragment" file, + containing some of the deployment information for that webapp.

+ Tomcat allows you to override these context fragments by adding Context elements to "server.xml". + If you decide to do this, be sure that your new Context element includes the necessary + deployment parameters from the overridden context fragment. +

+

+ See Section X below, + for an example of overriding the VIVO context fragment. +

VII. Start Tomcat