This content has been marked as final.
Show 2 replies
-
1. Re: JBoss 7 Eclipse remote debugging configuration?
jaikiran Jan 20, 2012 11:19 PM (in response to brucespringfield)Moved to AS7 forum
Bruce Springfield wrote:
I'm starting JBoss with the standalone.bat file. Where do I set the port for remote debugging? I see an entry in standalone.conf for
JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
I uncommented this line and restarted the server, but it doesn't help.
If you are on Windows OS, you should be using the standalone.conf.bat to configure that. You'll find a similar line in that file which you have to uncomment. That's it.
Then when you start the server using standalone.bat, you'll see:
========================================================================= JBoss Bootstrap Environment JBOSS_HOME: <foo> JAVA: <foo> JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n ========================================================================= Listening for transport dt_socket at address: 8787
Bruce Springfield wrote:
org.jboss.as.remoting seems to be listening to port 9999
That's an unrelated log.
-
2. Re: JBoss 7 Eclipse remote debugging configuration?
brucespringfield Jan 21, 2012 7:28 AM (in response to jaikiran)Thank you!! That worked!!