[Bug 375493] Re: tomcat6 needs debug start mode with jpda

Thag bruce.edge at gmail.com
Fri Jun 12 16:39:10 BST 2009


While I agree that it is possible to get the same behavior with the
addition of:

JAVA_OPTS="-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
-Djava.awt.headless=true -Xmx128M"

to default/tomcat6, it is finding this information that is non-trivial.

A simple -d switch, or testing for $DEBUG in the init script would be
much friendlier. If this is the standard debug incantation for tomcat6,
what's wrong with making it so the user doesn't have to google or RTFM
to find it.

Perhaps put something like this in the packages default/tomcat6:

# To enable remore debugging uncomment the following line. You will then be able to use a java debugger on port 8000
# JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Djava.awt.headless=true -Xmx128M"

-Bruce

-- 
tomcat6 needs debug start mode with jpda
https://bugs.launchpad.net/bugs/375493
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.



More information about the Ubuntu-server-bugs mailing list