Skip to content

Commit

Permalink
GRP-4810: tomcat 8.5.90 does not listen on 0.0.0.0 for ajp
Browse files Browse the repository at this point in the history
  • Loading branch information
mchyzer committed Jun 28, 2023
1 parent 229ed86 commit c4d3bfe
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ LABEL author="tier-packaging@internet2.edu <tier-packaging@internet2.edu>" \
ARG GROUPER_CONTAINER_VERSION

ENV GROUPER_VERSION=4.3.0 \
GROUPER_CONTAINER_VERSION=4.3.0 \
GROUPER_CONTAINER_VERSION=4.3.1 \
JAVA_HOME=/usr/lib/jvm/java-17-amazon-corretto \
PATH=$PATH:$JAVA_HOME/bin \
GROUPER_HOME=/opt/grouper/grouperWebapp/WEB-INF
Expand Down
4 changes: 2 additions & 2 deletions container_files/tomcat/conf/server.xml.loggingpipe
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
maxParameterCount="1000"
maxParameterCount="10000"
/>
<!-- A "Connector" using the shared thread pool-->
<!--
Expand Down Expand Up @@ -120,7 +120,7 @@
-->

<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector secretRequired="false" secure="true" scheme="https" URIEncoding="UTF-8" tomcatAuthentication="false" port="8009" protocol="AJP/1.3" redirectPort="8443" maxParameterCount="1000" />
<Connector address="0.0.0.0" secretRequired="false" secure="true" scheme="https" URIEncoding="UTF-8" tomcatAuthentication="false" port="8009" protocol="AJP/1.3" redirectPort="8443" maxParameterCount="10000" />

<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
Expand Down
4 changes: 2 additions & 2 deletions container_files/tomcat/conf/server.xml.loggingpipe.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- server.xml.turnOnAjp 2023-06-27 13:54:28.000000000 -0400
+++ server.xml.loggingpipe 2023-06-27 13:53:45.000000000 -0400
--- server.xml.turnOnAjp 2023-06-28 15:00:26.000000000 -0400
+++ server.xml.loggingpipe 2023-06-28 15:00:26.000000000 -0400
@@ -163,9 +163,9 @@
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Expand Down
4 changes: 2 additions & 2 deletions container_files/tomcat/conf/server.xml.nologging
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
maxParameterCount="1000"
maxParameterCount="10000"
/>
<!-- A "Connector" using the shared thread pool-->
<!--
Expand Down Expand Up @@ -120,7 +120,7 @@
-->

<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector secretRequired="false" secure="true" scheme="https" URIEncoding="UTF-8" tomcatAuthentication="false" port="8009" protocol="AJP/1.3" redirectPort="8443" maxParameterCount="1000" />
<Connector address="0.0.0.0" secretRequired="false" secure="true" scheme="https" URIEncoding="UTF-8" tomcatAuthentication="false" port="8009" protocol="AJP/1.3" redirectPort="8443" maxParameterCount="10000" />

<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
Expand Down
4 changes: 2 additions & 2 deletions container_files/tomcat/conf/server.xml.nologging.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- server.xml.turnOnAjp 2023-06-27 13:54:28.000000000 -0400
+++ server.xml.nologging 2023-06-27 13:54:16.000000000 -0400
--- server.xml.turnOnAjp 2023-06-28 15:00:26.000000000 -0400
+++ server.xml.nologging 2023-06-28 15:00:26.000000000 -0400
@@ -163,9 +163,9 @@
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Expand Down
4 changes: 2 additions & 2 deletions container_files/tomcat/conf/server.xml.turnOnAjp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
maxParameterCount="1000"
maxParameterCount="10000"
/>
<!-- A "Connector" using the shared thread pool-->
<!--
Expand Down Expand Up @@ -120,7 +120,7 @@
-->

<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector secretRequired="false" secure="true" scheme="https" URIEncoding="UTF-8" tomcatAuthentication="false" port="8009" protocol="AJP/1.3" redirectPort="8443" maxParameterCount="1000" />
<Connector address="0.0.0.0" secretRequired="false" secure="true" scheme="https" URIEncoding="UTF-8" tomcatAuthentication="false" port="8009" protocol="AJP/1.3" redirectPort="8443" maxParameterCount="10000" />

<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
Expand Down
13 changes: 11 additions & 2 deletions container_files/tomcat/conf/server.xml.turnOnAjp.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
--- server.xml.original 2023-06-27 13:54:24.000000000 -0400
+++ server.xml.turnOnAjp 2023-06-27 13:54:28.000000000 -0400
+++ server.xml.turnOnAjp 2023-06-28 15:00:26.000000000 -0400
@@ -69,7 +69,7 @@
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
- maxParameterCount="1000"
+ maxParameterCount="10000"
/>
<!-- A "Connector" using the shared thread pool-->
<!--
@@ -120,14 +120,7 @@
-->

Expand All @@ -12,7 +21,7 @@
- maxParameterCount="1000"
- />
- -->
+ <Connector secretRequired="false" secure="true" scheme="https" URIEncoding="UTF-8" tomcatAuthentication="false" port="8009" protocol="AJP/1.3" redirectPort="8443" maxParameterCount="1000" />
+ <Connector address="0.0.0.0" secretRequired="false" secure="true" scheme="https" URIEncoding="UTF-8" tomcatAuthentication="false" port="8009" protocol="AJP/1.3" redirectPort="8443" maxParameterCount="10000" />

<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone

0 comments on commit c4d3bfe

Please sign in to comment.