I've tried for a long time to remote-debug my local JBoss that's running in standalone mode. The http-port is 10103, the management port is 9990 and the debug port in intellij is set to 8787. I've double checked this in the standalone-full.xml. I've done this several times before with other JBoss without any trouble so I'm starting to think I might be missing something obvious.
When starting the JBoss I get this with debugging enabled: JAVA_OPTS: -server -XX:+UseCompressedOops -Xms2000m -Xmx2000m -XX:MaxPermSize=512m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.modules.policy-permissions=true -agentlib:jdwp=transport=dt_socket,address=8787,suspend=n,server=y
When I try to connect to it, after a while I get the following error in IntelliJ: Error running JBoss 6.3.0 Error Connecting to JBoss Server. Exception occurred : java.lang.NullPointerException Exception message : null
The funny thing is that it works without any issues from Eclipse, so I'm fairly certain it's not a connectivity issue, but rather something wrong with IntelliJ.
Here are my debug settings:
Does anyone know what the issue is, is it IntelliJ, JBoss or just me?