This content has been marked as final.
Show 2 replies
-
1. Re: run jboss in debug mode
lviz May 6, 2004 3:42 AM (in response to saroj)hello Saroj
by debug mode do you mean:
debug output ?
you may configure your output to cosole/log in
conf/log4j.xml
attach a debugger to a runnig jboss?
you may configure the JPDA settings in
bin/run.conf
restart jboss
then attach your debugger to the address/port
cheers
L -
2. Re: run jboss in debug mode
jae77 May 6, 2004 8:21 AM (in response to saroj)copy the run.sh startup script to debug.sh (or whatever you want) and replace the the $JAVA_OPTS line in the file w/ this one:
JAVA_OPTS="$JAVA_OPTS -Dprogram.name=$PROGNAME -classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y"
the above is taken directly out of the run.bat file. (make sure it is all on one line in the file).