diff --git a/Dockerfile b/Dockerfile index 5ca580cb..a17643e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,9 @@ FROM tomcat:8.5.75-jre8-openjdk-slim-bullseye COPY target/gigwa webapps/gigwa COPY docker/setenv.sh /usr/local/tomcat/bin/setenv.sh +RUN sed -i 's|Connector port="8080"|Connector port="8080" maxHttpHeaderSize="65536" maxParameterCount="-1" maxPostSize="-1"|g' conf/server.xml \ #env vars to avoid ip/port inside image -RUN echo "\n\n\n" > webapps/gigwa/WEB-INF/classes/applicationContext-data.xml \ +&& echo "\n\n\n" > webapps/gigwa/WEB-INF/classes/applicationContext-data.xml \ && apt-get update && apt-get install -y wget \ && wget https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu1804-x86_64-100.5.2.deb && dpkg -i mongodb-database-tools-ubuntu1804-x86_64-100.5.2.deb && rm -f mongodb-database-tools-ubuntu1804-x86_64-100.5.2.deb \ && apt-get remove -y wget libpsl5 publicsuffix \ diff --git a/pom.xml b/pom.xml index 764ca6ef..2226bcf8 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ fr.cirad gigwa2 - 2.5-beta + 2.5-RELEASE war gigwa2 @@ -13,7 +13,7 @@ ${project.build.directory}/endorsed UTF-8 - 2.5-beta + 2.5-RELEASE target/bundles ${bundle.dir}/Gigwa_V${project.version}-Ubuntu ${bundle.dir}/Gigwa_V${project.version}-OSX @@ -891,7 +891,7 @@ - set-tomcat-port-ubuntu + set-tomcat-ports-ubuntu post-integration-test replace @@ -903,11 +903,23 @@ 8080 59395 + + 8005 + 59396 + + + 8009 + 59397 + + + Connector port="59395" + Connector port="59395" maxHttpHeaderSize="65536" maxParameterCount="-1" maxPostSize="-1" + - set-tomcat-port-osx + set-tomcat-ports-osx post-integration-test replace @@ -919,11 +931,23 @@ 8080 59395 + + 8005 + 59396 + + + 8009 + 59397 + + + Connector port="59395" + Connector port="59395" maxHttpHeaderSize="65536" maxParameterCount="-1" maxPostSize="-1" + - set-tomcat-port-windows + set-tomcat-ports-windows post-integration-test replace @@ -935,6 +959,18 @@ 8080 59395 + + 8005 + 59396 + + + 8009 + 59397 + + + Connector port="59395" + Connector port="59395" maxHttpHeaderSize="65536" maxParameterCount="-1" maxPostSize="-1" +