Skip to Content
author's profile photo Former Member
Former Member

JspDynpage debug

Hi,

I want to debug a portal application Iview.I have done the following and my application is not stopping in the breakpoints.

- using config tool i have set the debug mode on and the pot number is 50021.

- using sap management console ,i have restarted server process

- set the break point in doInitialization and doProcessBeforeOutput

- Configure the NWDS debug configuration for Remote java application.Set the host name to localhost and port as 50021.Selected debug mode as "Enterprise portal" from Common tabpage.

please help me if i missed something.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2005 at 09:52 AM

    Hi Baskaran,

    I guess while debugging a JspDynpage application You ll have to remove the two properties

    property name="ComponentType" value="jspnative"/>

    <property name="JSP" value="pagelet/xyz.jsp"/>

    from the portalapp.xml.

    If u debug along with these properties then the Jsp is actually not called.

    Check with this and tell us if this works!

    Regards

    Uma.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2005 at 11:06 AM

    Not stopping in your breakpoints can have different reasons. Check the following list:

    1. Does your IDE successfully connect to the engine?

    2. If your source code is not in sync with the deployed one, you can set a "method breakpoint" rather than a "line breakpoint". In this case the engine will stop when this method gets invoked, independent of the concrete implementation line.

    3. I can successfully debug my portal application from Eclipse (not NWDS), so I don't know if setting the debug mode to "Enterprise Portal" is needed at all.

    4. Also a have debugged jspnative components, so I don't see why one should remove these properties in the portalapp.xml as stated in the previous post.

    Regards,

    Dieter

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dieter,

      You are right.i didnt have to remove the Jsp statements as suggested by Uma.

      I have deleted my entire project,recreated my project once again with different componet names.i could debug the java files.

      b.t.w : I tried to assign to you 6 points and Uma 2 points but there is a error assigning rewards.i do not know if rewarding happened.

  • author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2005 at 12:29 PM

    Hi Baskaran,

    You will find an excellent weblog here : NetWeaver Portal Debugging

    daeling with debugging portal applications.

    Hope it helps

    Best regards,

    Nicolas

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.