Debug remote JBoss application in Eclipse 在Eclipse中远程调试JBoss应用

Categories: Java; Tagged with: ; @ February 17th, 2012 22:50

#1. Config JBoss configuration file:

jboss-5.1.0.GA\bin: modify the configuration run.conf.bat(Windows) or run.conf(Linux), remove the comment at the start of the line, and set suspend=n:

(remove: rem or # )set “JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n” 

Start the server;

#2. Debug the project in Eclipse:

image

<->



// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.