Here is a summary:
Purpose : debugging a dynamic web application
Environment : MacOS 10.6.8 / Eclipse Helios 20110218-0911 / Tomcat 7
The error . Failed to connect to the remote virtual machine. Connection rejected.
History line:
After doing some research on this issue, I found out that a possible problem is that I need to run tomcat7 in debug mode, which usually acts on port 8000. The command I use is ./catalina.sh jpda start , which does not (it starts tomcat, but does not start debug mode). So I tried other things, such as adding variables to the system:
declare -x CATALINA_HOME="/Library/Tomcat" declare -x JPDA_ADDRESS="8000" declare -x JPDA_TRANSPORT="dt_socket"
and the problem continues to occur.
This is the return command :. /catalina.sh jpda start
Using CATALINA_BASE: /Library/Tomcat Using CATALINA_HOME: /Library/Tomcat Using CATALINA_TMPDIR: /Library/Tomcat/temp Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home Using CLASSPATH: /Library/Tomcat/bin/bootstrap.jar:/Library/Tomcat/bin/tomcat-juli.jar
can anyone help?
thank you in advance.
debugging eclipse tomcat macos
Davi EB Wall
source share