Skip to content

Commit

Permalink
Tomcat leak version (geosolutions-it#10485)
Browse files Browse the repository at this point in the history
  • Loading branch information
f-necas authored Aug 13, 2024
1 parent 791fb54 commit b3c783e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ ENV TERM xterm
COPY --from=mother "/mapstore/mapstore.war" "${MAPSTORE_WEBAPP_DST}/mapstore.war"
COPY --from=mother "/mapstore/docker" "${CATALINA_BASE}/docker/"

COPY binary/tomcat/conf/server.xml "${CATALINA_BASE}/conf/"
RUN sed -i -e 's/8082/8080/g' ${CATALINA_BASE}/conf/server.xml

RUN mkdir -p ${DATA_DIR}


Expand Down
4 changes: 4 additions & 0 deletions binary/tomcat/conf/server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />

<Valve className="org.apache.catalina.valves.ErrorReportValve"
showReport="false"
showServerInfo="false"/>

</Host>
</Engine>
</Service>
Expand Down

0 comments on commit b3c783e

Please sign in to comment.