Error launching remote application for tomcat 5.5.28

Hi,

I'm getting "Error running remote: Unable to open debugger port : java.net.ConnectException "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.



Attachment(s):
tomcat_configuration.png
remote_configuration.png
error.png
2 comments
Comment actions Permalink

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

0
Comment actions Permalink

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

0

Please sign in to leave a comment.