Author: markt Date: Tue Aug 6 21:24:34 2013 New Revision: 1511122 URL: http://svn.apache.org/r1511122 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55372 Listen on localhost only be default when enabling jpda.
Modified: tomcat/trunk/bin/catalina.sh tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/bin/catalina.sh URL: http://svn.apache.org/viewvc/tomcat/trunk/bin/catalina.sh?rev=1511122&r1=1511121&r2=1511122&view=diff ============================================================================== --- tomcat/trunk/bin/catalina.sh (original) +++ tomcat/trunk/bin/catalina.sh Tue Aug 6 21:24:34 2013 @@ -68,7 +68,7 @@ # command is executed. The default is "dt_socket". # # JPDA_ADDRESS (Optional) Java runtime options used when the "jpda start" -# command is executed. The default is 8000. +# command is executed. The default is localhost:8000. # # JPDA_SUSPEND (Optional) Java runtime options used when the "jpda start" # command is executed. Specifies whether JVM should suspend @@ -258,7 +258,7 @@ if [ "$1" = "jpda" ] ; then JPDA_TRANSPORT="dt_socket" fi if [ -z "$JPDA_ADDRESS" ]; then - JPDA_ADDRESS="8000" + JPDA_ADDRESS="localhost:8000" fi if [ -z "$JPDA_SUSPEND" ]; then JPDA_SUSPEND="n" Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1511122&r1=1511121&r2=1511122&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Tue Aug 6 21:24:34 2013 @@ -246,6 +246,12 @@ includes between the J2EE, Servlet and JSP schemas are correctly resolved. (markt) </fix> + <fix> + <bug>55372</bug>: When starting Tomcat with the <code>jpda</code> option + to enable remote debugging, by default only listen on localhost for + connections from a debugger. Prior to this change, Tomcat listened on + all known addresses. (markt) + </fix> </changelog> </subsection> </section> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org