cancel
Showing results for 
Search instead for 
Did you mean: 

How can debugge the portal application

Former Member
0 Kudos

hi sdn,

how can we debugge the portal application.what are steps are needed for this

any documents please forward me.

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Kiran,

Following is the steps for debugging the portal application.

<b>Steps for Debugging</b>

<i><b>1. Stop the Portal Server if Running.</b></i>

<i>

<b>2. Launch the Config tool of J2EE Engine & Set Up the debugging of the current instance.</b></i>

&#61607; The Config tool is located in the directory ,

<J2EE-Install-Dir>\JC00\j2ee\configtool\configtool.bat

&#61607; Switch to the current instance & go to the debug tab.

&#61607; Set “Enable Debug Mode” checked, start the VM of J2EE in debug mode.

&#61607; Set a valid debug port, default port is 50021.

&#61607; Save the settings and restart the J2EE Engine.

<i><b>3. Restart the Portal Server.</b></i>

<i><b>4. Open SAP Netweaver Developer Studio.</b></i>&#61607; Go to Window --- > Open Perspective --- > Enterprise Portal & also open the Debug perspective.

&#61607; This enables you to develop & deploy EP Components to your development Portal.

<i><b>5. Configure Development Environment for Debugging.</b></i>

&#61607; Create new Remote Java Application debug settings.

&#61607; Pressing the debug button attaches the SAP Netweaver Developer Studio to the Specified portal installation.

&#61607; Go to Debug --- > Remote Java Application & create a new setting for your current Portal Application Project.

&#61607; Insert the portals DNS or IP Address and the debug port specified in the Config tool, default port is 50021.

&#61607; If the portal runs on the local machine you can enter localhost instead of IP address or DNS name.

&#61607; Make sure that your Portal Application is already deployed in the portal.

<i><b>6. If the connection is attached to the J2EE engines VM session, the SAP Netweaver Studio is ready to debug.</b></i>

<u><b>BREAKPOINTS</b></u>

<i>A Breakpoint causes the execution of a program thread to suspend at the location here the breakpoint is set.</i>

<i><b>7. Set a breakpoint in your custom coding. The debugger will stop if the VM reaches this marked code line.</b></i>

To enable the breakpoint,

&#61607; Locate the breakpoint in the marker bar of an editor.

&#61607; Open the breakpoint’s context menu & select ‘Enable Breakpoint’.

&#61607; The breakpoint image will change back to a blue circle.

<b>VARIABLE VIEW</b>

<i>The “variables view” contains information about the variables in the currently-selected stack frame.</i>

<i><b>8. To Launch the Variables View :,</b></i>

Choose Window -- > Show View -- > Other -- > Select Debug -- > Variables View.

<i><b>9. Force the Portal to execute your deployed coding.</b></i> The VM stops at the specified break point.

10. The current values of the member variables can be tracked in the “Variables” window of SAP Netweaver Developer Studio.

<i><b>** Reward points if you find this Post Useful & Helpful.</b></i>

<i>Regards,

Eben.</i>

Former Member
0 Kudos
Former Member
0 Kudos

Hi Kiran B ,

The following web-site gives u a step-by-step solution 2 debug portal:

Debugging Portal Applications

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/907751e5-f717-2a10-f3b4-de4431d4...

**Pls reward points if u find this helpful

cheers!

gyanaraj

Former Member
0 Kudos

hi

Check this <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/907751e5-f717-2a10-f3b4-de4431d4722d">doc</a>

I hope this will solve your problem.

Thanks & regards

Harsimran

former_member189428
Contributor
0 Kudos

hi

kiran give u r mail id i send one document

it contains all related debugging information.

Former Member
0 Kudos

hi

my mail id is udaya.u@gmail.com

former_member189428
Contributor
0 Kudos

hi

kiran

check your mail

i sent it now

Former Member
0 Kudos

Hi Jagadish,

Can U mail that document to me too....

my email id is jigneshpjoshi@yahoo.com

Thanks in advance..!!!

Regards,

Jignesh.

Former Member
0 Kudos

Hi

Check out this blog