Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Why can't I remote debug Glassfish v3 from Intellij 12.1.6?

$
0
0
I'm using Glassfish v3.0-b74b and Intellij 12.1.6.  I've set up a remote debugging configuration like this:
http://i.stack.imgur.com/zMQWw.png
I've taken the debug statement in `Startup/Connection -> Debug` and copied this string: `-Xdebug -Xrunjdwp:transport=dt_socket,address=55504,suspend=n,server=y` Into my domain.xml like so:
    ...
      <java-config debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,address=55504,suspend=n,server=y" debug-enabled="true" system-classpath="" classpath-suffix="">
        <jvm-options>-Xdebug -Xrunjdwp:transport=dt_socket,address=55504,suspend=n,server=y</jvm-options>
    ...
But when I try to debug from Intellij, Intellij gives me this error:
    4:12:45 PM Error running CONNECT421 Debugger
           Unable to connect to the ip:7048, reason:
           javax.net.ssl.SSLException: java.lang.RuntimeException: java.io.IOException: The handle is invalid
Keep in mind, if I visit
    https://ip:7048
in my browser, it takes me to the glassfish v3 admin screen so it's not a bad port number.  My guess is this has to do with the default install of glassfish having an expired SSL cert, but I can't be sure as I get no other information than this.  The server log of glassfish doesn't acknowledge that I'm trying to reach it.  Does anyone know what's causing this or how I can get more info to debug the problem?
Also, keep in mind that if I change the remote connection settings to use port 55504, it still says the exact same error (mentioning port 7048 and everything).

Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>