Launch Jboss With Remote Debug Enabled
Join the DZone community and get the full member experience.Join For Free
// Add this two lines at $JBOSS_HOME/bin/run.sh script
JAVA_OPTS=$JAVA_OPTS -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y $JAVA_OPTS
Debug (command) JBoss remote
Opinions expressed by DZone contributors are their own.