Skip to content

Commit b3c783e

Browse files
authored
Tomcat leak version (geosolutions-it#10485)
1 parent 791fb54 commit b3c783e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Diff for: Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ ENV TERM xterm
2525
COPY --from=mother "/mapstore/mapstore.war" "${MAPSTORE_WEBAPP_DST}/mapstore.war"
2626
COPY --from=mother "/mapstore/docker" "${CATALINA_BASE}/docker/"
2727

28+
COPY binary/tomcat/conf/server.xml "${CATALINA_BASE}/conf/"
29+
RUN sed -i -e 's/8082/8080/g' ${CATALINA_BASE}/conf/server.xml
30+
2831
RUN mkdir -p ${DATA_DIR}
2932

3033

Diff for: binary/tomcat/conf/server.xml

+4
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@
174174
prefix="localhost_access_log" suffix=".txt"
175175
pattern="%h %l %u %t "%r" %s %b" />
176176

177+
<Valve className="org.apache.catalina.valves.ErrorReportValve"
178+
showReport="false"
179+
showServerInfo="false"/>
180+
177181
</Host>
178182
</Engine>
179183
</Service>

0 commit comments

Comments
 (0)