JBOSS SETTINGS
Locate $jboss_home/bin directory .
According your S.O. you have to add an option in run.sh (Unix) or in run.bat (windows) file.
#enable remote debugging
JAVA_OPTS="${JAVA_OPTS} -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
JAVA_OPTS="${JAVA_OPTS} -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
Eclipse Settings
From menù named Debug Configuration…..
Choose Remote Java Application and add information about your project and remote server ipaddress and listening port (8787 in this sample).
Nessun commento:
Posta un commento