tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Schuerig <mich...@schuerig.de>
Subject Re: Remote debugging a web app with Eclipse?
Date Sun, 14 Nov 2004 17:15:29 GMT
On Sunday 14 November 2004 17:16, George Sexton wrote:
> Here is a wrapper that I use to start tomcat for remote debugging
> with Eclipse. Note that the indented CATALINA_OPTS is actually one
> long line in the batch file.

Thanks! that was easier than I expected.

I'm starting Tomcat from an ant file like this:

  <property name="tomcat.java_opts"  value="-Duser.language=en 
-Dcom.sun.management.jmxremote -enableassertions -Xdebug -Xnoagent 
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7100"/>

  <target name="tomcat.start"
   description="Start Tomcat server">
    <exec executable="${tomcat.home}/bin/startup.sh" 
      os="Linux,Unix">
      <env key="JAVA_OPTS" value="${tomcat.java_opts}"/>
    </exec>
  </target>

Michael

-- 
Michael Schuerig                       Face reality and stare it down
mailto:michael@schuerig.de        --Jethro Tull, Silver River Turning
http://www.schuerig.de/michael/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message