Idea 2178 and debug jboss application

I use Idea 2178,JBoss 4.0DR3 or JBoss 3.2.1 and jdk1.4.2.
I want to debug the jboss-application. For this purpose I configure JSR45 compatible server. If to establish port for debugging (5050) I receive the message "Check you run/debug configuration. Failed to establish connection to target VM at '127.0.0.1:5050' using socket transport". Similar occurs If to establish shared memory.

Prompt, where a mistake.

2 comments
Comment actions Permalink

Check 'VM options variable' field in you run/debug configuration. You should specify environment variable where IDEA will put VM options that should be passed to java.

The variable name you may find out in the script file that starts JBoss.

0
Comment actions Permalink

Well, I've found JBoss 3.0 installation. The variable is called JAVA_OPTS.

0

Please sign in to leave a comment.