Author: rjung Date: Sun Feb 3 10:36:53 2013 New Revision: 1441886 URL: http://svn.apache.org/viewvc?rev=1441886&view=rev Log: Use default port 8023 instead of 23 in echo server example.
Examples and tests should not assume a privileged user runs them. Modified: tomcat/native/trunk/examples/org/apache/tomcat/jni/Echo.java tomcat/native/trunk/examples/org/apache/tomcat/jni/Echo.properties Modified: tomcat/native/trunk/examples/org/apache/tomcat/jni/Echo.java URL: http://svn.apache.org/viewvc/tomcat/native/trunk/examples/org/apache/tomcat/jni/Echo.java?rev=1441886&r1=1441885&r2=1441886&view=diff ============================================================================== --- tomcat/native/trunk/examples/org/apache/tomcat/jni/Echo.java (original) +++ tomcat/native/trunk/examples/org/apache/tomcat/jni/Echo.java Sun Feb 3 10:36:53 2013 @@ -49,7 +49,7 @@ public class Echo { props.load(is); is.close(); echoAddr = props.getProperty("echo.ip", "127.0.0.1"); - echoPort = Integer.decode(props.getProperty("echo.port", "23")).intValue(); + echoPort = Integer.decode(props.getProperty("echo.port", "8023")).intValue(); echoNmax = Integer.decode(props.getProperty("echo.max", "1")).intValue(); } catch (Throwable t) { Modified: tomcat/native/trunk/examples/org/apache/tomcat/jni/Echo.properties URL: http://svn.apache.org/viewvc/tomcat/native/trunk/examples/org/apache/tomcat/jni/Echo.properties?rev=1441886&r1=1441885&r2=1441886&view=diff ============================================================================== --- tomcat/native/trunk/examples/org/apache/tomcat/jni/Echo.properties (original) +++ tomcat/native/trunk/examples/org/apache/tomcat/jni/Echo.properties Sun Feb 3 10:36:53 2013 @@ -13,5 +13,5 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Telnet properties -echo.port=23 +# Test port used for echo server +echo.port=8023 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org