Skip to main content

Configure eclipse for remote debugging in web logic server ,Oracle utilities customer care and billing cc&b

Below is the step to configure the eclipse IDE to remotely debug various customization like change handler, algorithm, batch...

1. open the ENVIRON.ini file. This file exists in the path $SPLBASE\etc\


2. Find property WEB_ADDITIONAL_OPT and add the below argument.
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

here port no is 8000, you can change as per your convenient. do not use port no that is already used like 6500,1521.


3. Now Run the initial setup to reflect the changes.


4. start the spl and you will get the below highlighted message.

5. Open eclipse to configure the port no for debug.
go to debug menu--->debug configuration


Click on Remote java application---Click on new

Enter Host     : localhost
          Port     : 8000(port no you configured in previous steps)


Click on the apply button.
Go to debug perspective and you see eclipse is connected to local WebLogic server

Testing your code:
 1. Add the breakpoint on your code. to add just double click on the line number
I am testing here the change handler that will validate that email address is required.
2. open online application and save any person without email address


3. once you click on save button, control automatically transfer to eclipse.



😊😀😁😂





























Comments

  1. HI Sunil,

    My change handler is not working..I used your sample code to test..my logger statements are also not printing....

    ReplyDelete

Post a Comment

Popular posts from this blog

Display premise location in google map. oracle utilities customer care and billing

This can be used as a reference only. © You need to get a key from google, this key will be used in the google map javascript.Click on the below link to get the key.       https://developers.google.com/maps/documentation/javascript/get-api-key       2. Create a UI map which will hold the google map.           Ui Map          :  CmGoogleMap           Ui Map Type : Complete Html Document       3. UI Map Schema (find inline comment for more details) <html>   <head>     <title>Geocoding service</title>     <meta name="viewport" content="initial-scale=1.0, user-scalable=no">     <meta charset="utf-8">     <style>       /* Always set the map height explicitly to define the size of the div        * element that contains the map....