Error launching remote application for tomcat 5.5.28


I'm getting "Error running remote: Unable to open debugger port : "Connection refused: connect"" in idea 8, when I launch a remote application debugger trying to connect to a tomcat 5.5.28 instance.
Attached the screen shots showing the configuration done in idea and tomcat.

Ensured that firewall is not blocking, port being configured is not in use. Unable to figure out the root of the problem, whether it is with tomcat or idea.

tomcat's java options has:

-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

(this is copy pasted from idea's remote configuration window)

idea configuration has:
transport: socket
debugger mode: attached
host: localhost
port: 5005

However, when used with debugger mode set as "listen", the tomcat logs attached to idea show the logging information correctly, as and when the requests are made, but breakpoints are not functioning.

Facing similar problem with previous versions of tomcat.

Any help on this issue is highly appreciated. Thanks in advance.

Comment actions Permalink

Try to put -Xrunjdwp... parameter on a new line in Apache Tomcat Properties dialog.

Comment actions Permalink

Hi, it did work..thank you so much for the quick reply!


Please sign in to leave a comment.