DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40526>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40526
Summary: tomcat 5.5.17 catalina.bat - dropped support for
JPDA_OPTS environment variable
Product: Tomcat 5
Version: 5.5.17
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: minor
Priority: P2
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: kroy@prosrm.com
We have upgraded from tomcat 4.1.18 to 5.5.17, and have found that our
system start up process on Windows can no longer set jpda debugger
options on the tomcat java command line.
This occurs because the 5.5.17 catalina.bat file no longer supports
the environment variable $JPDA_OPTS, which our start up process used
to use to place jpda information. What is interesting is that
catalina.sh STILL supports JPDA_OPTS. So we have this problem on windows only.
Is this an intentional change?
The above comment was sent to tomcate users list. Mark Thomas responded:
Not that I can tell. If you care to create a patch and submit it to bugzilla
I'll take a look.
I have made the fix, and I am sending it for approval. I have a zip file with
the correction, and the output of a diff -u on the original and corrected
version of the catalina.bat and the catalina.sh scripts. I do not see on this
bug entry page any place to attach this zip file. Please let me know how I can
send the changes to the community.
Below is a summary of changes made:
Changes include revised catalina.sh and catalina.bat files supporting
JPDA_OPTS (supported in tomcat 4.1.18), and support for a new JPDA_SUSPEND.
catalina.sh changes:
1. Documented JPDA_OPTS in the script (this was missing)
2. Added support for JPDA_SUSPEND environment variable. If not specified, it
defaults to "n" (backward compatible).
catalina.bat changes:
1. Added back support for JPDA_OPTS. I basically re-implemented as it was in
tomcat 4.1.18. Note that its only implemented in the non-security execution
branch (this is how it was in tomcat 4.1.18).
2. Documented JPDA_OPTS in the script.
3. Added support for JPDA_SUSPEND environment variable. If not specified, it
defaults to "n" (backward compatible).
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
|