Remote Java Debugging
java -agentlib:jdwp=transport=dt_socket,server=y,address=127.0.0.1:8000 com.debug.Run
jdb -attach 127.0.0.1:8000
http://java.sun.com/j2se/1.5.0/docs/guide/jpda/conninv.html
JBoss
set JAVA_OPTS= -Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,address=8787,
server=y, suspend=n %JAVA_OPTS%
http://www.onjava.com/lpt/a/6174
jdb -attach 127.0.0.1:8000
http://java.sun.com/j2se/1.5.0/docs/guide/jpda/conninv.html
JBoss
set JAVA_OPTS= -Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,address=8787,
server=y, suspend=n %JAVA_OPTS%
http://www.onjava.com/lpt/a/6174
Comments