remote debug configuration in weblogic console
Login to the Weblogic Console ,Click on Servers and select the respective Server and go to the Server Start tab like shown below.
In the Arguments Section paste the line along with other arguments if any ,like below.Here address is any port which is free and can be used for remote debugging.I have used 8444.
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8444,server=y,suspend=n
-Djava.compiler=NONE
Now restart your Weblogic Server you will see the message in the startup of the server,"Listening for transport dt_socket at address: 8444".You are done with the settings in Weblogic !!.
After this from your IDE set the Debug Configurations.For Eg :
In Eclipse- Debug Configurations,Remote Java Application - New and
specify the same port which you have given in the arguments(8444).
Comments
Post a Comment