glassfish remote debugging - cannot connect when "suspend=y"

Hi everyone

I try to debug glassfish remotely with "suspend=y". Glassfish waits for debugger connection, but I get an error in Idea "Unable to connect to the localhost:8080" (that is the address in Remote Connection Settings in Idea debug configuration).

My Glassfish settings: debug-options="-Xdebug -Xrunjdwp:transport=dt_shmem,address=debugaddress1,suspend=y,server=y"

I see the similar topic about Glassfish here http://intellij.net/forums/thread.jspa?messageID=5212280&#5212280 , as I remember I had problems with jsp debugging too, but my main problem is subj.

It will be great if someone help me.
Thanks in advance.

1 comment
Comment actions Permalink

I think you have the wrong debug port. 8080 is probably your http port. The debug port should be listed on the same line of the glassfish configuration that you quoted. I think the default for glassfish is 9009.

0

Please sign in to leave a comment.