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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]