From: huangjian Date: Mon, 24 Oct 2016 06:44:17 +0000 (+0800) Subject: Update tomcat version to '8.5.6' X-Git-Tag: release/sun~16 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=c18db6c1c48dc5a624519c01ba535b74802b5b9a;p=vfc%2Fnfvo%2Fcatalog.git Update tomcat version to '8.5.6' Change-Id: I4bebc635354375d77906b0c5103499aed22cdc3a Issue-id: TOSCA-139 Signed-off-by: huangjian --- 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 75045d75..8f50fd18 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 f298361b..afa6315a 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