Cannot start tomcat7 debug mode on macOS

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.

+2
debugging eclipse tomcat macos
source share

No one has answered this question yet.

See similar questions:

7
Tomcat startup ignores jpda parameter for debugging

or similar:

1858
"Debug certificate expired" error in Android Eclipse plugins
1676
How to install pip on macOS or OS X?
1517
How to debug Node.js applications?
1264
How to check active internet connection on iOS or macOS?
2
tomcat runs in terminal but doesn't work in browser on ubuntu?
2
tomcat does not start in debug mode
0
Tomcat startup script not running
0
Tomcat 7 java.lang.NoSuchMethodError: main - Mac OS X 10.6
0
Error starting Tomcat7 CentOS program
-one
tomcat is running, but the application does not load in the browser

All Articles