From 1544a3c81534471e67d9fe49a77d2b005c126570 Mon Sep 17 00:00:00 2001
From: rjung
Date: Thu, 26 Aug 2010 15:07:54 +0000
Subject: [PATCH] BZ49828: Remove deprecated J2SE/J2EE terminology and replace
links to Sun with links to Oracle (for those Oracle links that look static).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@989742 13f79535-47bb-0310-9956-ffa450edef68
---
BUILDING.txt | 4 ++--
RUNNING.txt | 14 ++++++++------
build.xml | 2 +-
java/org/apache/catalina/servlets/CGIServlet.java | 6 ++----
.../org/apache/catalina/util/ExtensionValidator.java | 4 ++--
.../org/apache/tomcat/util/net/SocketProperties.java | 6 +++---
res/jvm.ini | 2 +-
webapps/docs/appdev/installation.xml | 2 +-
webapps/docs/appdev/introduction.xml | 4 ++--
webapps/docs/building.xml | 3 ++-
webapps/docs/class-loader-howto.xml | 4 ++--
webapps/docs/config/ajp.xml | 6 +++---
webapps/docs/config/cluster-receiver.xml | 2 +-
webapps/docs/config/cluster-sender.xml | 2 +-
webapps/docs/config/http.xml | 6 +++---
webapps/docs/config/realm.xml | 2 +-
webapps/docs/jndi-resources-howto.xml | 20 ++++++++++----------
webapps/docs/monitoring.xml | 4 ++--
webapps/docs/realm-howto.xml | 8 ++++----
webapps/docs/security-manager-howto.xml | 2 +-
webapps/docs/setup.xml | 2 +-
21 files changed, 53 insertions(+), 52 deletions(-)
diff --git a/BUILDING.txt b/BUILDING.txt
index d5989c685..6b5eb3026 100644
--- a/BUILDING.txt
+++ b/BUILDING.txt
@@ -34,7 +34,7 @@ do the following:
* Download a Java Development Kit (JDK) release (version 1.6.x or later) from:
- http://java.sun.com/j2se/
+ http://www.oracle.com/technetwork/java/javase/downloads/index.html
* Install the JDK according to the instructions included with the release.
@@ -118,7 +118,7 @@ using your SVN client.
(4) Rebuilds
For a quick rebuild of only modified code you can use:
-
+
cd ${tomcat.source}
ant
diff --git a/RUNNING.txt b/RUNNING.txt
index 3e7a476b3..f25b78664 100644
--- a/RUNNING.txt
+++ b/RUNNING.txt
@@ -21,28 +21,30 @@ $Id$
Running The Apache Tomcat @VERSION_MAJOR_MINOR@ Servlet/JSP Container
===================================================
-Apache Tomcat @VERSION_MAJOR_MINOR@ requires the Java 2 Standard Edition Runtime
+Apache Tomcat @VERSION_MAJOR_MINOR@ requires the Java Standard Edition Runtime
Environment (JRE) version 6.0 or later.
=============================
Running With JRE 6.0 Or Later
=============================
-(1) Download and Install the J2SE Runtime Environment (JRE)
+(1) Download and Install the Java SE Runtime Environment (JRE)
-(1.1) Download the Java 2 Standard Edition Runtime Environment (JRE),
- release version 6.0 or later, from http://java.sun.com/j2se.
+(1.1) Download the Java SE Runtime Environment (JRE),
+ release version 6.0 or later, from
+ http://www.oracle.com/technetwork/java/javase/downloads/index.html
(1.2) Install the JRE according to the instructions included with the
release.
+
(1.3) Set an environment variable named JRE_HOME to the pathname of
the directory into which you installed the JRE, e.g. c:\jre6.0
or /usr/local/java/jre6.0.
NOTE: You may also use the full JDK rather than just the JRE. In this
case set your JAVA_HOME environment variable to the pathname of
- the directory into which you installed the JDK, e.g. c:\j2sdk6.0
- or /usr/local/java/j2sdk6.0.
+ the directory into which you installed the JDK, e.g. c:\jdk6.0
+ or /usr/local/java/jdk6.0.
(2) Download and Install the Tomcat Binary Distribution
diff --git a/build.xml b/build.xml
index 1a1e9da6b..facc3c41a 100644
--- a/build.xml
+++ b/build.xml
@@ -1449,7 +1449,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
-
+
diff --git a/java/org/apache/catalina/servlets/CGIServlet.java b/java/org/apache/catalina/servlets/CGIServlet.java
index a062c5db0..959862ce6 100644
--- a/java/org/apache/catalina/servlets/CGIServlet.java
+++ b/java/org/apache/catalina/servlets/CGIServlet.java
@@ -1591,8 +1591,7 @@ public final class CGIServlet extends HttpServlet {
}
/* original content/structure of this section taken from
- * http://developer.java.sun.com/developer/
- * bugParade/bugs/4216884.html
+ * http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4216884
* with major modifications by Martin Dengler
*/
Runtime rt = null;
@@ -1648,8 +1647,7 @@ public final class CGIServlet extends HttpServlet {
/* we want to wait for the process to exit, Process.waitFor()
* is useless in our situation; see
- * http://developer.java.sun.com/developer/
- * bugParade/bugs/4223650.html
+ * http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4223650
*/
boolean isRunning = true;
diff --git a/java/org/apache/catalina/util/ExtensionValidator.java b/java/org/apache/catalina/util/ExtensionValidator.java
index e5c59d466..68546f728 100644
--- a/java/org/apache/catalina/util/ExtensionValidator.java
+++ b/java/org/apache/catalina/util/ExtensionValidator.java
@@ -45,8 +45,8 @@ import org.apache.tomcat.util.res.StringManager;
* are met. This class builds a master list of extensions available to an
* application and then validates those extensions.
*
- * See http://java.sun.com/j2se/1.4/docs/guide/extensions/spec.html for
- * a detailed explanation of the extension mechanism in Java.
+ * See http://download.oracle.com/javase/1.4.2/docs/guide/extensions/spec.html
+ * for a detailed explanation of the extension mechanism in Java.
*
* @author Greg Murray
* @author Justyna Horwat
diff --git a/java/org/apache/tomcat/util/net/SocketProperties.java b/java/org/apache/tomcat/util/net/SocketProperties.java
index 37f115855..826248d34 100644
--- a/java/org/apache/tomcat/util/net/SocketProperties.java
+++ b/java/org/apache/tomcat/util/net/SocketProperties.java
@@ -150,7 +150,7 @@ public class SocketProperties {
/**
* Performance preferences according to
- * http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int)
+ * http://download.oracle.com/javase/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int)
* All three performance attributes must be set or the JVM defaults will be
* used.
*/
@@ -158,7 +158,7 @@ public class SocketProperties {
/**
* Performance preferences according to
- * http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int)
+ * http://download.oracle.com/javase/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int)
* All three performance attributes must be set or the JVM defaults will be
* used.
*/
@@ -166,7 +166,7 @@ public class SocketProperties {
/**
* Performance preferences according to
- * http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int)
+ * http://download.oracle.com/javase/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int)
* All three performance attributes must be set or the JVM defaults will be
* used.
*/
diff --git a/res/jvm.ini b/res/jvm.ini
index 4e180fcc5..dc3b6e550 100644
--- a/res/jvm.ini
+++ b/res/jvm.ini
@@ -18,7 +18,7 @@ NumFields=2
[Field 1]
Type=Label
-Text=Please select the path of a J2SE 6.0 or later JRE installed on your system. Note that if you have a 64-bit operating system, you must specify a 64-bit JRE:
+Text=Please select the path of a Java SE 6.0 or later JRE installed on your system. Note that if you have a 64-bit operating system, you must specify a 64-bit JRE:
left=0
right=300
top=5
diff --git a/webapps/docs/appdev/installation.xml b/webapps/docs/appdev/installation.xml
index 15dc89efd..206745cae 100644
--- a/webapps/docs/appdev/installation.xml
+++ b/webapps/docs/appdev/installation.xml
@@ -44,7 +44,7 @@ in the following subsections.
Compatible JDKs for many platforms (or links to where they can be found)
are available at
-http://java.sun.com/j2se/.
+http://www.oracle.com/technetwork/java/javase/downloads/index.html/.
diff --git a/webapps/docs/appdev/introduction.xml b/webapps/docs/appdev/introduction.xml
index b71e7a294..0048d6147 100644
--- a/webapps/docs/appdev/introduction.xml
+++ b/webapps/docs/appdev/introduction.xml
@@ -62,7 +62,7 @@ the details of your particular environment.
information, documentation, and software that is useful in developing
web applications with Tomcat.
http://java.sun.com/products/jsp/ -
JavaServer Pages (JSP) Specification, Version 2.0. Describes
the programming environment provided by standard implementations
of the JavaServer Pages (JSP) technology. In conjunction with
@@ -73,7 +73,7 @@ web applications with Tomcat.
API Documentation is included in the specification, and with the
Tomcat download.
http://java.sun.com/products/servlet/download.html -
- Servlet API Specification, Version 2.4. Describes the
+ Servlet API Specification, Version 3.0. Describes the
programming environment that must be provided by all servlet
containers conforming to this specification. In particular, you
will need this document to understand the web application
diff --git a/webapps/docs/building.xml b/webapps/docs/building.xml
index ee5506c2c..a365047db 100644
--- a/webapps/docs/building.xml
+++ b/webapps/docs/building.xml
@@ -45,7 +45,8 @@ Tomcat. The following is a step by step TODO list.
-The Sun JDK can be downloaded here.
+The Sun JDK can be downloaded
+here.
diff --git a/webapps/docs/class-loader-howto.xml b/webapps/docs/class-loader-howto.xml
index f2f3f6c16..c7968ef2e 100644
--- a/webapps/docs/class-loader-howto.xml
+++ b/webapps/docs/class-loader-howto.xml
@@ -179,8 +179,8 @@ to this one.
Tomcat utilizes this mechanism by including the system property setting
-Djava.endorsed.dirs=$JAVA_ENDORSED_DIRS in the
diff --git a/webapps/docs/config/ajp.xml b/webapps/docs/config/ajp.xml
index cd645356b..638ec1722 100644
--- a/webapps/docs/config/ajp.xml
+++ b/webapps/docs/config/ajp.xml
@@ -403,19 +403,19 @@
(int)The second value for the performance settings. See
- Socket Performance Options
+ Socket Performance Options
All three performance attributes must be set else the JVM defaults will
be used for all three.
diff --git a/webapps/docs/config/cluster-receiver.xml b/webapps/docs/config/cluster-receiver.xml
index d439e3465..e7479751f 100644
--- a/webapps/docs/config/cluster-receiver.xml
+++ b/webapps/docs/config/cluster-receiver.xml
@@ -144,7 +144,7 @@
Sets the traffic class level for the socket, the value is between 0 and 255.
- Different values are defined in
+ Different values are defined in
java.net.Socket#setTrafficClass(int).
diff --git a/webapps/docs/config/cluster-sender.xml b/webapps/docs/config/cluster-sender.xml
index 758bc0195..46a9397c9 100644
--- a/webapps/docs/config/cluster-sender.xml
+++ b/webapps/docs/config/cluster-sender.xml
@@ -147,7 +147,7 @@
Sets the traffic class level for the socket, the value is between 0 and 255.
Default value is int soTrafficClass = 0x04 | 0x08 | 0x010;
- Different values are defined in
+ Different values are defined in
java.net.Socket#setTrafficClass(int).
diff --git a/webapps/docs/config/http.xml b/webapps/docs/config/http.xml
index 29c24e252..3454fdf90 100644
--- a/webapps/docs/config/http.xml
+++ b/webapps/docs/config/http.xml
@@ -471,19 +471,19 @@
(int)The second value for the performance settings. See
- Socket Performance Options
+ Socket Performance Options
All three performance attributes must be set else the JVM defaults will
be used for all three.
Tomcat provides a JNDI InitialContext implementation
instance for each web application running under it, in a manner that is
compatible with those provided by a
-Java2 Enterprise Edition application
-server. The J2EE standard provides a standard set of elements in the
+Java Enterprise Edition application
+server. The Java EE standard provides a standard set of elements in the
/WEB-INF/web.xml file to reference/define resources.
See the following Specifications for more information about programming APIs
-for JNDI, and for the features supported by Java2 Enterprise Edition (J2EE)
+for JNDI, and for the features supported by Java Enterprise Edition (Java EE)
servers, which Tomcat emulates for the services that it provides:
NOTE - Of the standard resource factories, only the
"JDBC Data Source" and "User Transaction" factories are mandated to
be available on other platforms, and then they are required only if
- the platform implements the Java2 Enterprise Edition (J2EE) specs.
+ the platform implements the Java Enterprise Edition (Java EE) specs.
All other standard resource factories, plus custom resource factories
that you write yourself, are specific to Tomcat and cannot be assumed
to be available on other containers.
@@ -532,12 +532,12 @@ Transport.send(message);
0. Introduction
Many web applications need to access a database via a JDBC driver,
- to support the functionality required by that application. The J2EE
- Platform Specification requires J2EE Application Servers to make
+ to support the functionality required by that application. The Java EE
+ Platform Specification requires Java EE Application Servers to make
available a DataSource implementation (that is, a connection
pool for JDBC connections) for this purpose. Tomcat offers exactly
the same support, so that database-based applications you develop on
- Tomcat using this service will run unchanged on any J2EE server.
+ Tomcat using this service will run unchanged on any Java EE server.
For information about JDBC, you should consult the following:
@@ -550,8 +550,8 @@ Transport.send(message);
javax.sql.DataSource API). This package is now known
as the "JDBC Optional Package".
http://java.sun.com/j2ee/download.html -
- The J2EE Platform Specification (covers the JDBC facilities that
- all J2EE platforms must provide to applications).
+ The Java EE Platform Specification (covers the JDBC facilities that
+ all Java EE platforms must provide to applications).
NOTE - The default data source support in Tomcat
diff --git a/webapps/docs/monitoring.xml b/webapps/docs/monitoring.xml
index 9e32724fc..017f658a3 100644
--- a/webapps/docs/monitoring.xml
+++ b/webapps/docs/monitoring.xml
@@ -45,8 +45,8 @@
The following is a quick configuration guide for Java 6:
Add the following parameters to your Tomcat startup script:
diff --git a/webapps/docs/realm-howto.xml b/webapps/docs/realm-howto.xml
index bb4170349..f17590b01 100644
--- a/webapps/docs/realm-howto.xml
+++ b/webapps/docs/realm-howto.xml
@@ -1025,7 +1025,7 @@ valid user, consisting of the following attributes:
JAASRealm is an implementation of the Tomcat
6 Realm interface that authenticates users through the Java
Authentication & Authorization Service (JAAS) framework which is now
-provided as part of the standard J2SE API.
+provided as part of the standard Java SE API.
Using JAASRealm gives the developer the ability to combine
practically any conceivable security realm with Tomcat's CMA.
JAASRealm is prototype for Tomcat of the JAAS-based
@@ -1047,9 +1047,9 @@ integration with the CMA as implemented by Tomcat.
Write your own LoginModule, User and Role classes based
on JAAS (see
-the
+the
JAAS Authentication Tutorial and
-the JAAS Login Module
+the JAAS Login Module
Developer's Guide) to be managed by the JAAS Login
Context (javax.security.auth.login.LoginContext)
When developing your LoginModule, note that JAASRealm's built-in CallbackHandler
@@ -1064,7 +1064,7 @@ Regardless, the first Principal returned is always treated as the user
diff --git a/webapps/docs/security-manager-howto.xml b/webapps/docs/security-manager-howto.xml
index c60086165..63794cd13 100644
--- a/webapps/docs/security-manager-howto.xml
+++ b/webapps/docs/security-manager-howto.xml
@@ -153,7 +153,7 @@ permission java.io.FilePermission
This file completely replaces the java.policy file present
in your JDK system directories. The catalina.policy file
can be edited by hand, or you can use the
- policytool
+ policytool
application that comes with Java 1.2 or later.
Entries in the catalina.policy file use the standard
diff --git a/webapps/docs/setup.xml b/webapps/docs/setup.xml
index 0174e9716..303f2ac47 100644
--- a/webapps/docs/setup.xml
+++ b/webapps/docs/setup.xml
@@ -64,7 +64,7 @@
administration tool and its documentation).
Java location: The installer will use the registry
or the JAVA_HOME environment variable to determine the base path
- of a J2SE 6 JRE.
+ of a Java SE 6 JRE.
Tray icon: When Tomcat is run as a service, there
will not be any tray icon present when Tomcat is running. Note that
--
2.11.0