tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pfingstl Gernot" <gernot.pfing...@stmk.gv.at>
Subject AW: Tomcat, Eclipse, Debug, JPDA
Date Mon, 30 Jun 2003 20:42:41 GMT
Now I found the missing link: the option "-Xnoagent" must be set and everything works!!

My tomcat startcommand looks like:
C:\Programme\tomcat\test\bin>start "Tomcat" "c:\programme\jdk1.3.1\bin\java" -classic -Djava.compiler=NONE
-Xbootclasspath:"c:\programme\jdk1.3.1\lib\tools.jar;c:\programme\jdk1.3.1\jre\lib\rt.jar"
 -Xdebug -Xrunjdwp:transport=dt_socket,address=8665,server=y,suspend=n -Xnoagent  -Djava.endorsed.dirs="C:\programme\tomcat\jakarta-tomcat-4.1.18\bin;C:\programme\tomcat\jakarta-tomcat-4.1.18\common\endorsed"
-classpath "c:\programme\jdk1.3.1\lib\tools.jar;C:\programme\tomcat\jakarta-tomcat-4.1.18\bin\bootstrap.jar"
-Dcatalina.base="C:\programme\tomcat\test" -Dcatalina.home="C:\programme\tomcat\jakarta-tomcat-4.1.18"
-Djava.io.tmpdir="C:\programme\tomcat\test\temp" org.apache.catalina.startup.Bootstrap  start

Regards,
Gernot

-----Urspr√ľngliche Nachricht-----
Von: Pfingstl Gernot 
Gesendet: Montag, 30. Juni 2003 16:15
An: Tomcat Users List
Betreff: AW: Tomcat, Eclipse, Debug, JPDA


Thank you, it works fine! But I also want to know why direct JPDA connection doesn't work
or -better - who can tell me how it works!? Because I also want to debug a tomcat application
on a remote machine, which theoretically should be no problem whit JPDA.

Regards,
Gernot


-----Urspr√ľngliche Nachricht-----
Von: Christian Traber [mailto:christian@traber-net.de]
Gesendet: Sonntag, 29. Juni 2003 15:01
An: Tomcat Users List
Betreff: Re: Tomcat, Eclipse, Debug, JPDA


Pfingstl Gernot wrote:

>I tried to debug my webapplication on my (local)tomcat with eclipse and JPDA. Both (JDK
and Eclipse) seems to allow JPDA, but I always got an "Failed to connect to remote VM. Connection
refused" error from eclipse.
>
>  
>
Try the tomcat plugin for eclipse: 
http://www.sysdeo.com/eclipse/tomcatPlugin.html

Regards,
Christian


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


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


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