How to debug Application in WebLogic domain using JDeveloper 12C

 

Oracle JDeveloper provides a way to debug application in WebLogic server. This could be the integrated WebLogic server or the domain created outside of JDeveloper. In this section, I have explained step by step approach to configure debug in WebLogic server and Debug the application. The Integrated WebLogic server does not requires these steps because the DEBUG is pre-configured.

 

Version used: 12C

 

Configure Remote debugging in WebLogic domain

 

  • Go to your WebLogic domain\bin directory, Edit the startWebLogic.cmd file & Add the following parameters at the end of the JAVA_OPTIONS

 

 

091217_0221_Howtodebugw1 How to debug Application in WebLogic domain using JDeveloper 12C

 

Note: For Clustered environment, set these parameter in SERVER_START on each Managed servers

 

 

  • Right click on your Project in JDeveloper & Select Project Properties >> Select Run/Debug >> Select Remote under Debugger >> Input the hostname where your WebLogic is running and the debug port number (The port number in ADDRESS parameter in the above step)

 

091217_0221_Howtodebugw2 How to debug Application in WebLogic domain using JDeveloper 12C

 

  • Select the Launch  Setting >> Toggle on the Remote Debugging 

 

JDeveloper_Debug_Setting How to debug Application in WebLogic domain using JDeveloper 12C

 

  • Deploy the application in the WebLogic server. For example: Create a war/ear file and deploy it to the server

 

  • Right click on the JSF page and select Debug

 

091217_0221_Howtodebugw3 How to debug Application in WebLogic domain using JDeveloper 12C

 

 

  • Verify the parameters, that s your Weblogic hostname and debug port number & Click Ok on the Attach to JPDA Debugee dialog box

 

091217_0221_Howtodebugw4 How to debug Application in WebLogic domain using JDeveloper 12C

 

 

  • Set Breakpoints in your code, navigate your application in browser. You will get the breakpoint highlighted in blue color when the page reaches the code. 

 

 

 

 

 

 

 

govindan How to debug Application in WebLogic domain using JDeveloper 12C
Connect me

Govind

Thank you for visiting my personal blog. Myself Govindan, Software Developer by profession since 2006 and hence I started this blog early in 2016 and ever since I've been writing about technologies experienced and learnings of everyday life.

The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.

Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply šŸ™‚
govindan How to debug Application in WebLogic domain using JDeveloper 12C
Connect me
By | 2017-09-12T22:38:47+00:00 September 11th, 2017|Categories: Jdeveloper, WebLogic|Tags: , |0 Comments
Like us on Facebook.
Connect!