[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss debugging problem
tttito
do-not-reply at jboss.com
Wed Nov 7 07:26:22 EST 2007
OK, this seems to work.
C:\e-workspace\jboss-4.2.1.GA\bin>run
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\e-workspace\jboss-4.2.1.GA
JAVA: C:\Sun\SDK-5\jdk\jre\bin\java
JAVA_OPTS: -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8787,suspend=n -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djmx.invoke.getters=true
CLASSPATH: C:\Sun\SDK-5\jdk\lib\tools.jar;C:\e-workspace\jboss-4.2.1.GA\bin\run.jar
===============================================================================
Listening for transport dt_socket at address: 8787
12:11:40,509 INFO [Server] Starting JBoss (MX MicroKernel)...
I just moved server=y before the address. Otherwise, since the server default option is "n", it apparently tries to open the socket at the wrong address. See the Xrunjwdp options at http://java.sun.com/j2se/1.5.0/docs/guide/jpda/conninv.html.
Cheers and thanks again.
t
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102506#4102506
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102506
More information about the jboss-user
mailing list