From 5a0fa8ba78bf1de745b279e2cc7f09d158bbec80 Mon Sep 17 00:00:00 2001 From: huangjian Date: Mon, 24 Oct 2016 14:44:17 +0800 Subject: Update tomcat version to '8.5.6' Change-Id: I4bebc635354375d77906b0c5103499aed22cdc3a Issue-id: TOSCA-139 Signed-off-by: huangjian --- .../catalog-all/src/main/assembly/shutdown.sh | 2 + .../catalog-all/src/main/assembly/startup.sh | 2 + catalog-core/httpserver/pom.xml | 1 - .../src/main/assembly/tomcat/conf/server.xml | 75 ++++++++----- .../src/main/assembly/tomcat/conf/web.xml | 124 ++++++++++++++++----- catalog-parent/catalogparent/pom.xml | 2 +- 6 files changed, 146 insertions(+), 60 deletions(-) diff --git a/catalog-core/distribution/catalog-all/src/main/assembly/shutdown.sh b/catalog-core/distribution/catalog-all/src/main/assembly/shutdown.sh index 8679327d..d6bca27f 100644 --- a/catalog-core/distribution/catalog-all/src/main/assembly/shutdown.sh +++ b/catalog-core/distribution/catalog-all/src/main/assembly/shutdown.sh @@ -26,5 +26,7 @@ cd $RUNHOME echo "\n\n### Starting catalog-http server" cd ./tomcat +export CATALINA_HOME=$RUNHOME/tomcat +export CATALINA_BASE=$RUNHOME/tomcat $RUNHOME/tomcat/bin/shutdown.sh & echo "### Starting catalog end..."; diff --git a/catalog-core/distribution/catalog-all/src/main/assembly/startup.sh b/catalog-core/distribution/catalog-all/src/main/assembly/startup.sh index d2db0773..f3b3e5fb 100644 --- a/catalog-core/distribution/catalog-all/src/main/assembly/startup.sh +++ b/catalog-core/distribution/catalog-all/src/main/assembly/startup.sh @@ -30,6 +30,8 @@ cd ./tomcat if [ ! -d "$RUNHOME/tomcat/logs" ]; then mkdir $RUNHOME/tomcat/logs fi +export CATALINA_HOME=$RUNHOME/tomcat +export CATALINA_BASE=$RUNHOME/tomcat $RUNHOME/tomcat/bin/startup.sh & echo "### Starting catalog end..."; diff --git a/catalog-core/httpserver/pom.xml b/catalog-core/httpserver/pom.xml index 7ac70e8e..828a9c38 100644 --- a/catalog-core/httpserver/pom.xml +++ b/catalog-core/httpserver/pom.xml @@ -29,7 +29,6 @@ pom - 7.0.62 http-server diff --git a/catalog-core/httpserver/src/main/assembly/tomcat/conf/server.xml b/catalog-core/httpserver/src/main/assembly/tomcat/conf/server.xml index 1d7a8e7f..43ffac43 100644 --- a/catalog-core/httpserver/src/main/assembly/tomcat/conf/server.xml +++ b/catalog-core/httpserver/src/main/assembly/tomcat/conf/server.xml @@ -1,20 +1,19 @@ - + - - @@ -64,10 +61,10 @@ --> - + + + @@ -136,7 +153,7 @@ Documentation at: /docs/config/valve.html Note: The pattern used is equivalent to using pattern="common" --> diff --git a/catalog-core/httpserver/src/main/assembly/tomcat/conf/web.xml b/catalog-core/httpserver/src/main/assembly/tomcat/conf/web.xml index 7a6c7b25..acaeaa50 100644 --- a/catalog-core/httpserver/src/main/assembly/tomcat/conf/web.xml +++ b/catalog-core/httpserver/src/main/assembly/tomcat/conf/web.xml @@ -1,26 +1,25 @@ - + - + xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee + http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" + version="3.1"> @@ -43,7 +42,8 @@ - + + @@ -138,9 +138,9 @@ - + - + @@ -163,6 +163,8 @@ + + @@ -224,6 +226,8 @@ + + @@ -233,6 +237,16 @@ + + + + + + + + + + jsp @@ -321,12 +335,18 @@ - - - + + + + + + + + + @@ -342,15 +362,11 @@ cgi org.apache.catalina.servlets.CGIServlet - - debug - 0 - cgiPathPrefix WEB-INF/cgi - 5 + 5 --> @@ -396,6 +412,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 123 diff --git a/catalog-parent/catalogparent/pom.xml b/catalog-parent/catalogparent/pom.xml index 81094dba..a4bac251 100644 --- a/catalog-parent/catalogparent/pom.xml +++ b/catalog-parent/catalogparent/pom.xml @@ -49,7 +49,7 @@ 1.9.5 1.4.182 1.8.2 - 7.0.62 + 8.5.6 -- cgit 1.2.3-korg