Skip to content

Commit

Permalink
Update Tomcat 9 to Tomact 10
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Sep 29, 2020
1 parent 4a27c3f commit 6107934
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 34 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ manually generate the patch file by using diff. If this is what you want, you
can download the sources from the "Source Code Distributions" section of the
Download Page. There is one such page for every major Tomcat version:

- [Tomcat 10](https://tomcat.apache.org/download-10.cgi)
- [Tomcat 9](https://tomcat.apache.org/download-90.cgi)
- [Tomcat 8](https://tomcat.apache.org/download-80.cgi)
- [Tomcat 7](https://tomcat.apache.org/download-70.cgi)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ project logo are trademarks of the Apache Software Foundation.
For every major Tomcat version there is one download page containing
links to the latest binary and source code downloads, but also
links for browsing the download directories and archives:
- [Tomcat 10](https://tomcat.apache.org/download-10.cgi)
- [Tomcat 9](https://tomcat.apache.org/download-90.cgi)
- [Tomcat 8](https://tomcat.apache.org/download-80.cgi)
- [Tomcat 7](https://tomcat.apache.org/download-70.cgi)
Expand All @@ -42,6 +43,7 @@ The documentation available as of the date of this release is
included in the docs webapp which ships with tomcat. You can access that webapp
by starting tomcat and visiting <http://localhost:8080/docs/> in your browser.
The most up-to-date documentation for each version can be found at:
- [Tomcat 10](https://tomcat.apache.org/tomcat-10.0-doc/)
- [Tomcat 9](https://tomcat.apache.org/tomcat-9.0-doc/)
- [Tomcat 8](https://tomcat.apache.org/tomcat-8.5-doc/)
- [Tomcat 7](https://tomcat.apache.org/tomcat-7.0-doc/)
Expand Down
2 changes: 1 addition & 1 deletion java/org/apache/tomcat/util/compat/JreCompat.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class JreCompat {
protected static final Method getApplicationProtocolMethod;

static {
// This is Tomcat 9 with a minimum Java version of Java 8.
// This is Tomcat 10 with a minimum Java version of Java 8.
// Look for the highest supported JVM first
if (GraalCompat.isSupported()) {
instance = new GraalCompat();
Expand Down
4 changes: 2 additions & 2 deletions webapps/docs/architecture/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<project name="Apache Tomcat 9 Architecture"
<project name="Apache Tomcat 10 Architecture"
href="https://tomcat.apache.org/">

<title>Apache Tomcat 9 Architecture</title>
<title>Apache Tomcat 10 Architecture</title>

<logo href="/images/tomcat.gif">
The Apache Tomcat Servlet/JSP Container
Expand Down
5 changes: 5 additions & 0 deletions webapps/docs/changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@
clarify when a user may wish to deploy additional instances of the
Manager web application. (markt)
</fix>
<fix>
<bug>64774</bug>: Review references to Tomcat 9 in the the documentation
web application and remove them or upadte them to refer to Tomact 10 as
appropriate. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Other">
Expand Down
2 changes: 1 addition & 1 deletion webapps/docs/config/cluster-interceptor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
<subsection name="org.apache.catalina.tribes.group.interceptors.EncryptInterceptor Attributes">
<p>
The EncryptInterceptor adds encryption to the channel messages carrying
session data between nodes. Added in Tomcat 9.0.13.
session data between nodes.
</p>
<p>
If using the <code>TcpFailureDetector</code>, the <code>EncryptInterceptor</code>
Expand Down
14 changes: 2 additions & 12 deletions webapps/docs/config/cluster-membership.xml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
<p><b>LocalMember:</b> <br/>
Static member that is the local member of the static cluster group.
</p>
<p><strong>Note:</strong> In Tomcat 9.0.17 and later, The setting of local member is not required.
<p><strong>Note:</strong> The setting of local member is not required.
It is possible to set up a list of all cluster members including local member instead of setting this components.
</p>
<attributes>
Expand Down Expand Up @@ -301,17 +301,7 @@
</subsection>

<subsection name="Setting">
<p><b>Before Tomcat 9.0.16</b> <br/>
<source><![CDATA[ <Membership className="org.apache.catalina.tribes.membership.StaticMembershipService">
<LocalMember className="org.apache.catalina.tribes.membership.StaticMember"
uniqueId="{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}"/>
<Member className="org.apache.catalina.tribes.membership.StaticMember"
port="4004"
host="tomcat02.mydomain.com"
uniqueId="{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1}"/>
</Membership>]]></source>
</p>
<p><b>Tomcat9.0.17 and later</b> <br/>
<p>
<source><![CDATA[ <Membership className="org.apache.catalina.tribes.membership.StaticMembershipService">
<Member className="org.apache.catalina.tribes.membership.StaticMember"
port="4004"
Expand Down
20 changes: 10 additions & 10 deletions webapps/docs/config/http.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1051,16 +1051,16 @@

<section name="Nested Components">

<p>First implemented in Tomcat 9 and back-ported to 8.5, Tomcat now supports
Server Name Indication (SNI). This allows multiple SSL configurations to be
associated with a single secure connector with the configuration used for any
given connection determined by the host name requested by the client. To
facilitate this, the <strong>SSLHostConfig</strong> element was added which
can be used to define one of these configurations. Any number of
<strong>SSLHostConfig</strong> may be nested in a <strong>Connector</strong>.
At the same time, support was added for multiple certificates to be associated
with a single <strong>SSLHostConfig</strong>. Each SSL certificate is
therefore configured in a <strong>Certificate</strong> element with in an
<p>Tomcat supports Server Name Indication (SNI). This allows multiple SSL
configurations to be associated with a single secure connector with the
configuration used for any given connection determined by the host name
requested by the client. To facilitate this, the
<strong>SSLHostConfig</strong> element was added which can be used to define
one of these configurations. Any number of <strong>SSLHostConfig</strong> may
be nested in a <strong>Connector</strong>. At the same time, support was added
for multiple certificates to be associated with a single
<strong>SSLHostConfig</strong>. Each SSL certificate is therefore configured
in a <strong>Certificate</strong> element within an
<strong>SSLHostConfig</strong>. For further information, see the SSL Support
section below.</p>

Expand Down
6 changes: 1 addition & 5 deletions webapps/docs/config/listeners.xml
Original file line number Diff line number Diff line change
Expand Up @@ -323,11 +323,7 @@
<p>The <strong>Security Lifecycle Listener</strong> performs a number of
security checks when Tomcat starts and prevents Tomcat from starting if they
fail. The listener is not enabled by default. To enabled it uncomment the
listener in $CATALINA_BASE/conf/server.xml. For Tomcat versions before 9.0.7,
if the operating system supports umask then the line in
$CATALINA_HOME/bin/catalina.sh that obtains the umask also needs to be
uncommented. For Tomcat 9.0.7 and later, the umask is automatically
passed-into Tomcat.</p>
listener in $CATALINA_BASE/conf/server.xml.</p>

<p>This listener must only be nested within <a href="server.html">Server</a>
elements.</p>
Expand Down
4 changes: 2 additions & 2 deletions webapps/docs/config/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<project name="Apache Tomcat 9 Configuration Reference"
<project name="Apache Tomcat 10 Configuration Reference"
href="https://tomcat.apache.org/">

<title>Apache Tomcat 9 Configuration Reference</title>
<title>Apache Tomcat 10 Configuration Reference</title>

<logo href="/images/tomcat.gif">
The Apache Tomcat Servlet/JSP Container
Expand Down
2 changes: 1 addition & 1 deletion webapps/docs/rewrite.xml
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ public interface RewriteMap {
(be careful with whitespace) &ndash; by calling <code>setParameters(String)</code>. That instance
will then be registered under the name given as the first parameter of <code>RewriteMap</code> rule.</p>

<p>Note: Starting with Tomcat 9 you can use more than one parameter. These have to be separated by spaces. Parameters
<p>Note: You can use more than one parameter. These have to be separated by spaces. Parameters
can be quoted with &quot;. This enables space characters inside parameters.</p>

<p>That map instance will be given the the lookup value that is configured in the corresponding <code>RewriteRule</code> by
Expand Down

0 comments on commit 6107934

Please sign in to comment.