Jul 11, 2013

Enabling Weblogic Server for debug

After the line ${JAVA_HOME}/bin/java ${JAVA_VM} –version, add the following two lines in $DOMAIN_HOME/bin/startWeblogic.sh
 
echo "Launching Java with debug port: 11171" 

export JAVA_OPTIONS="-Xdebug -Djava.compiler=NONE -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=11171,suspend=n $JAVA_OPTIONS" (for Linux)

set JAVA_OPTIONS=-Xdebug -Djava.compiler=NONE -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=11171,suspend=n %JAVA_OPTIONS% (for Windows)
 
Note: The debug port 11171 specified should be available.

1 comment:

  1. Good content in this post and site. We need more fresh and good content like this. Thanks for posting great stuff it’s very useful to me.
    Oracle Fusion EBS Training

    ReplyDelete