Current location - Quotes Website - Team slogan - How to set the port number of remote debugging weblogic in eclipse?
How to set the port number of remote debugging weblogic in eclipse?
Modifying two configuration files by remote debugging weblogic with eclipse;

1. Modify the configuration file startWebLogic.sh

# Start WEBLOGIC

Echo "Starting weblogic with Java Version:"

$ {Java _ home}/bin/Java $ {Java _ VM}-Version

If[" $ {WLS _ redirect _ log} "=" "]; then

Echo "starts with a line WLS:"

echo " $ { JAVA _ HOME }/bin/JAVA $ { JAVA _ VM } $ { MEM _ ARGS } $ { JAVA _ OPTIONS }-Xdebug-xno agent-Xrunjdwp:transport = dt _ socket,server=y,address=8453

-Dweblogic。 Name = $ {server name} -Djava.security.policy=${WL home page }/SERVER/lib/WebLogic. policy $ {proxy server settings} $ {server class} "

${JAVA_HOME}/bin/java

$ { JAVA _ VM } $ { MEM _ ARGS } $ { JAVA _ OPTIONS }-Dweblogic。 Name = $ {server name}

-DJ ava . security . policy = $ { WL _ HOME }/server/lib/WebLogic . policy

$ { PROXY _ SETTINGS } $ { SERVER _ CLASS }

other

Echo "Redirect the output of WLS window to $ ${ WLS Redirect Log}"

$ { JAVA _ HOME }/bin/JAVA $ { JAVA _ VM } $ { MEM _ ARGS } $ { JAVA _ OPTIONS }-Xdebug-xno agent-Xrunjdwp:transport = dt _ socket,server=y,address=8453

-Dweblogic。 Name = $ {server name}

-DJ ava . security . policy = $ { WL _ HOME }/server/lib/WebLogic . policy

$ { PROXY _ SETTINGS } $ { SERVER _ CLASS } & gt; "${WLS redirection log}" 2>& amp 1

The ship does not bear the loading fee.

2. Modify setDomainEnv.sh

if[" $ { debug flag } " = " true "]; then

if[" true " = " true "]; then