on 10-24-2007 11:26 AM
hi sdn,
how can we debugge the portal application.what are steps are needed for this
any documents please forward me.
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>
 The Config tool is located in the directory ,
<J2EE-Install-Dir>\JC00\j2ee\configtool\configtool.bat
 Switch to the current instance & go to the debug tab.
 Set Enable Debug Mode checked, start the VM of J2EE in debug mode.
 Set a valid debug port, default port is 50021.
 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> Go to Window --- > Open Perspective --- > Enterprise Portal & also open the Debug perspective.
 This enables you to develop & deploy EP Components to your development Portal.
<i><b>5. Configure Development Environment for Debugging.</b></i>
 Create new Remote Java Application debug settings.
 Pressing the debug button attaches the SAP Netweaver Developer Studio to the Specified portal installation.
 Go to Debug --- > Remote Java Application & create a new setting for your current Portal Application Project.
 Insert the portals DNS or IP Address and the debug port specified in the Config tool, default port is 50021.
 If the portal runs on the local machine you can enter localhost instead of IP address or DNS name.
 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,
 Locate the breakpoint in the marker bar of an editor.
 Open the breakpoints context menu & select Enable Breakpoint.
 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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran B
This website may help u:
cheers!
gyanaraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran B ,
The following web-site gives u a step-by-step solution 2 debug portal:
Debugging Portal Applications
**Pls reward points if u find this helpful
cheers!
gyanaraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
kiran give u r mail id i send one document
it contains all related debugging information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.