Author: kkolinko Date: Mon May 14 12:47:12 2012 New Revision: 1338182 URL: http://svn.apache.org/viewvc?rev=1338182&view=rev Log: CTR: documentation Correct links to JavaSE pages on java.sun.com Those pages are on docs.oracle.com now.
Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/util/ExtensionValidator.java tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/SocketProperties.java tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-receiver.xml tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-sender.xml tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml tomcat/tc6.0.x/trunk/webapps/docs/config/listeners.xml tomcat/tc6.0.x/trunk/webapps/docs/config/realm.xml tomcat/tc6.0.x/trunk/webapps/docs/jndi-resources-howto.xml tomcat/tc6.0.x/trunk/webapps/docs/monitoring.xml tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml tomcat/tc6.0.x/trunk/webapps/docs/security-manager-howto.xml Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/util/ExtensionValidator.java URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/util/ExtensionValidator.java?rev=1338182&r1=1338181&r2=1338182&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/java/org/apache/catalina/util/ExtensionValidator.java (original) +++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/util/ExtensionValidator.java Mon May 14 12:47:12 2012 @@ -42,7 +42,7 @@ import org.apache.naming.resources.Resou * are met. This class builds a master list of extensions available to an * applicaiton and then validates those extensions. * - * See http://java.sun.com/j2se/1.4/docs/guide/extensions/spec.html for + * See http://docs.oracle.com/javase/1.4.2/docs/guide/extensions/spec.html for * a detailed explanation of the extension mechanism in Java. * * @author Greg Murray Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/SocketProperties.java URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/SocketProperties.java?rev=1338182&r1=1338181&r2=1338182&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/SocketProperties.java (original) +++ tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/SocketProperties.java Mon May 14 12:47:12 2012 @@ -140,19 +140,19 @@ public class SocketProperties { protected int soTrafficClass = 0x04 | 0x08 | 0x010; /** * Performance preferences according to - * http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int) + * http://docs.oracle.com/javase/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int) * Default value is 1 */ protected int performanceConnectionTime = 1; /** * Performance preferences according to - * http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int) + * http://docs.oracle.com/javase/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int) * Default value is 0 */ protected int performanceLatency = 0; /** * Performance preferences according to - * http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int) + * http://docs.oracle.com/javase/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int) * Default value is 1 */ protected int performanceBandwidth = 1; Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=1338182&r1=1338181&r2=1338182&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Mon May 14 12:47:12 2012 @@ -174,6 +174,11 @@ <bug>53158</bug>: Fix documented defaults for DBCP. Patch provided by ph.dezanneau at gmail.com. (rjung) </fix> + <update> + Update JavaSE documentation links to point to the current + docs.oracle.com site, instead of obsolete ones (download.oracle.com, + java.sun.com). (kkolinko) + </update> </changelog> </subsection> <subsection name="Other"> Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-receiver.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-receiver.xml?rev=1338182&r1=1338181&r2=1338182&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-receiver.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-receiver.xml Mon May 14 12:47:12 2012 @@ -132,7 +132,7 @@ </attribute> <attribute name="soTrafficClass" required="false"> Sets the traffic class level for the socket, the value is between 0 and 255. - Different values are defined in <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#setTrafficClass(int)"> + Different values are defined in <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/Socket.html#setTrafficClass(int)"> java.net.Socket#setTrafficClass(int)</a>. </attribute> <attribute name="tcpNoDelay" required="false"> Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-sender.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-sender.xml?rev=1338182&r1=1338181&r2=1338182&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-sender.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-sender.xml Mon May 14 12:47:12 2012 @@ -139,7 +139,7 @@ <attribute name="soTrafficClass" required="false"> Sets the traffic class level for the socket, the value is between 0 and 255. Default value is <code>int soTrafficClass = 0x04 | 0x08 | 0x010;</code> - Different values are defined in <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#setTrafficClass(int)"> + Different values are defined in <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/Socket.html#setTrafficClass(int)"> java.net.Socket#setTrafficClass(int)</a>. </attribute> <attribute name="tcpNoDelay" required="false"> Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml?rev=1338182&r1=1338181&r2=1338182&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml Mon May 14 12:47:12 2012 @@ -575,13 +575,13 @@ <p>(byte)Value between <code>0</code> and <code>255</code> for the traffic class on the socket, <code>0x04 | 0x08 | 0x010</code></p> </attribute> <attribute name="socket.performanceConnectionTime" required="false"> - <p>(int)The first value for the performance settings. Default is <code>1</code>, see <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int)">Socket Performance Options</a></p> + <p>(int)The first value for the performance settings. Default is <code>1</code>, see <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int)">Socket Performance Options</a></p> </attribute> <attribute name="socket.performanceLatency" required="false"> - <p>(int)The second value for the performance settings. Default is <code>0</code>, see <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int)">Socket Performance Options</a></p> + <p>(int)The second value for the performance settings. Default is <code>0</code>, see <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int)">Socket Performance Options</a></p> </attribute> <attribute name="socket.performanceBandwidth" required="false"> - <p>(int)The third value for the performance settings. Default is <code>1</code>, see <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int)">Socket Performance Options</a></p> + <p>(int)The third value for the performance settings. Default is <code>1</code>, see <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int)">Socket Performance Options</a></p> </attribute> <attribute name="selectorPool.maxSelectors" required="false"> <p>(int)The max selectors to be used in the pool, to reduce selector contention. Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/listeners.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/listeners.xml?rev=1338182&r1=1338181&r2=1338182&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/config/listeners.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/config/listeners.xml Mon May 14 12:47:12 2012 @@ -182,7 +182,7 @@ behind a firewall. Only these ports are configured via the listener. The remainder of the configuration is via the standard system properties for configuring JMX. For further information on configuring JMX see - <a href="http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html"> + <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/management/agent.html"> Monitoring and Management Using JMX</a> included with the Java SDK documentation.</p> Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/realm.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/realm.xml?rev=1338182&r1=1338181&r2=1338182&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/config/realm.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/config/realm.xml Mon May 14 12:47:12 2012 @@ -674,7 +674,7 @@ <attribute name="appName" required="true"> <p>The name of the application as configured in your login configuration file - (<a href="http://java.sun.com/j2se/1.4.1/docs/guide/security/jaas/tutorials/LoginConfigFile.html">JAAS LoginConfig</a>).</p> + (<a href="http://docs.oracle.com/javase/1.4.2/docs/guide/security/jaas/tutorials/LoginConfigFile.html">JAAS LoginConfig</a>).</p> </attribute> <attribute name="userClassNames" required="true"> Modified: tomcat/tc6.0.x/trunk/webapps/docs/jndi-resources-howto.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/jndi-resources-howto.xml?rev=1338182&r1=1338181&r2=1338182&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/jndi-resources-howto.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/jndi-resources-howto.xml Mon May 14 12:47:12 2012 @@ -544,7 +544,7 @@ Transport.send(message); <ul> <li><a href="http://java.sun.com/products/jdbc/">http://java.sun.com/products/jdbc/</a> - Home page for information about Java Database Connectivity.</li> - <li><a href="http://java.sun.com/j2se/1.3/docs/guide/jdbc/spec2/jdbc2.1.frame.html">http://java.sun.com/j2se/1.3/docs/guide/jdbc/spec2/jdbc2.1.frame.html</a> - + <li><a href="http://docs.oracle.com/javase/1.3/docs/guide/jdbc/spec2/jdbc2.1.frame.html">http://docs.oracle.com/javase/1.3/docs/guide/jdbc/spec2/jdbc2.1.frame.html</a> - The JDBC 2.1 API Specification.</li> <li><a href="http://java.sun.com/products/jdbc/jdbc20.stdext.pdf">http://java.sun.com/products/jdbc/jdbc20.stdext.pdf</a> - The JDBC 2.0 Standard Extension API (including the Modified: tomcat/tc6.0.x/trunk/webapps/docs/monitoring.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/monitoring.xml?rev=1338182&r1=1338181&r2=1338182&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/monitoring.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/monitoring.xml Mon May 14 12:47:12 2012 @@ -45,8 +45,8 @@ <section name="Enabling JMX Remote"> <p>The Sun website includes the list of options and how to configure JMX Remote on Java 5: - <a href="http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html"> - http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html</a>. + <a href="http://docs.oracle.com/javase/1.5.0/docs/guide/management/agent.html"> + http://docs.oracle.com/javase/1.5.0/docs/guide/management/agent.html</a>. </p> <p>The following is a quick configuration guide for Java 5:</p> <p>Add the following parameters to your Tomcat startup script: Modified: tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml?rev=1338182&r1=1338181&r2=1338182&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml Mon May 14 12:47:12 2012 @@ -1045,9 +1045,9 @@ integration with the CMA as implemented <ol> <li>Write your own LoginModule, User and Role classes based on JAAS (see -<a href="http://java.sun.com/j2se/1.4.1/docs/guide/security/jaas/tutorials/GeneralAcnOnly.html">the +<a href="http://docs.oracle.com/javase/1.4.2/docs/guide/security/jaas/tutorials/GeneralAcnOnly.html">the JAAS Authentication Tutorial</a> and -<a href="http://java.sun.com/j2se/1.4.1/docs/guide/security/jaas/JAASLMDevGuide.html">the JAAS Login Module +<a href="http://docs.oracle.com/javase/1.4.2/docs/guide/security/jaas/JAASLMDevGuide.html">the JAAS Login Module Developer's Guide</a>) to be managed by the JAAS Login Context (<code>javax.security.auth.login.LoginContext</code>) When developing your LoginModule, note that JAASRealm's built-in <code>CallbackHandler</code> @@ -1062,7 +1062,7 @@ Regardless, the first Principal returned <li>Place the compiled classes on Tomcat's classpath </li> <li>Set up a login.config file for Java (see <a - href="http://java.sun.com/j2se/1.4.1/docs/guide/security/jaas/tutorials/LoginConfigFile.html">JAAS + href="http://docs.oracle.com/javase/1.4.2/docs/guide/security/jaas/tutorials/LoginConfigFile.html">JAAS LoginConfig file</a>) and tell Tomcat where to find it by specifying its location to the JVM, for instance by setting the environment variable: <code>JAVA_OPTS=$JAVA_OPTS -Djava.security.auth.login.config==$CATALINA_BASE/conf/jaas.config</code></li> Modified: tomcat/tc6.0.x/trunk/webapps/docs/security-manager-howto.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/security-manager-howto.xml?rev=1338182&r1=1338181&r2=1338182&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/security-manager-howto.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/security-manager-howto.xml Mon May 14 12:47:12 2012 @@ -154,7 +154,7 @@ permission java.io.FilePermission This file completely replaces the <code>java.policy</code> file present in your JDK system directories. The <code>catalina.policy</code> file can be edited by hand, or you can use the - <a href="http://java.sun.com/products/jdk/1.2/docs/tooldocs/solaris/policytool.html">policytool</a> + <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/security/PolicyGuide.html">policytool</a> application that comes with Java 1.2 or later.</p> <p>Entries in the <code>catalina.policy</code> file use the standard --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org