DO NOT REPLY [Bug 44988] New: JPDA_OPTS in catalina.sh / catalina. bat is using old JDWP semantics

View: New views
3 Messages — Rating Filter:   Alert me  

DO NOT REPLY [Bug 44988] New: JPDA_OPTS in catalina.sh / catalina. bat is using old JDWP semantics

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=44988

           Summary: JPDA_OPTS in catalina.sh / catalina.bat is using old
                    JDWP semantics
           Product: Tomcat 6
           Version: 6.0.16
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: JDK1.5
          Severity: minor
          Priority: P4
         Component: Native:Integration
        AssignedTo: tomcat-dev@...
        ReportedBy: cedrik.lime@...


Since Java 5, the recommended option to start a JVM in debug mode has changed
from
-Xdebug -Xrunjdwp:...
to
-agentlib:jdwp=...
as described in
http://java.sun.com/j2se/1.5.0/docs/guide/jpda/conninv.html#Invocation

Since Tomcat 6 requires Java 5, this change should be propagated in catalina.sh
(line 212) / catalina.bat (line 152):
change "JPDA_OPTS=-Xdebug -Xrunjdwp:" to "JPDA_OPTS=-agentlib:jdwp="

Note that this change should not be back-ported to Tomcat 5.x, since this
version runs with Java 1.4.


--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


DO NOT REPLY [Bug 44988] JPDA_OPTS in catalina.sh / catalina. bat is using old JDWP semantics

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=44988





--- Comment #1 from Mark Thomas <markt@...>  2008-05-13 13:15:33 PST ---
Thanks for the patch.

I have applied it to trunk and proposed it for 6.0.x


--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


DO NOT REPLY [Bug 44988] JPDA_OPTS in catalina.sh / catalina. bat is using old JDWP semantics

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=44988


Mark Thomas <markt@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Mark Thomas <markt@...>  2008-05-15 14:04:35 PST ---
Thanks again for the patch. It has been applied to 6.0.x and will be in 6.0.17
onwards.


--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...