Remote debugging Jboss without JNDI

I'm trying to connect to a remote Jboss server (3.2.7) with IDEA 9.0.1.  The Jboss server has the JNDI port set to -1 in the jboss-service.xml.  This runs the NamingService without the JNP invoker listening port.

I've added:

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

to the JVM arguments to set the remote debugging port to 2765.  When I launch the remote debugger configuration in IDEA, I see the connection to the debugging port from IDEA but the IDEA GUI displays an error about the JNDI connect failing and shuts down the debugging controls.  The debugger connection stays connected and the breakpoints in the code actually stop the program execution on the remote server but there's no interface to control or use the debugger.

It appears that the remote debugging connection for IDEA requires the JNDI connection for some reason.   

I can successfully attach to and use the remote debugging using Eclipse with the JNDI port disabled.

Why does IDEA require the JNDI connection?  Is there any way to turn this off?

Please sign in to leave a comment.