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

Thierry Carrez thierry.carrez at ubuntu.com
Wed May 13 09:43:08 BST 2009


Passing arbitrary Java options is supported through setting JAVA_OPTS in /etc/default/tomcat6...
So if you set:
JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Djava.awt.headless=true -Xmx128M"
You should get desired behavior.

We could modify the init script so that JPDA_DEBUG becomes an option in /etc/default/tomcat6.
Setting this to Wishlist.

Please also note that the tomcat6-user package allows to set up private
instances which sound more appropriate for development/debugging.

** Changed in: tomcat6 (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: tomcat6 (Ubuntu)
       Status: New => Triaged

-- 
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