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

I hate EP6 SP9 logging

Iview exceptions used to appear directly on the HTML page, I don't know what you did with this release but it's really not intuitive. Where are all the easy to use controls and JSPLogger Iviews ?

I tried using the portal logger, I can't even find it!

I get something like this on the screen:

===========================

Portal Runtime Error

An exception occurred while processing a request for :

iView : Redirector.test

Component Name : Redirector.test

com/sap/tc/webdynpro/clientserver/navigation/api/WDPortalNavigationMode.

Exception id: 03:23_11/02/05_0046_4072650

See the details for the exception ID in the log file

==========================

How can I switch the exception handling back to the HTML page ?

Where on hell is this exception logged.

Really not intuitive....

Olivier

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 11, 2005 at 09:13 PM

    ok...

    this sounds crazy, because I don't see myself added such code to each of my iviews - but the only way I could get the exception traced on the damn screen was to trap the exception myself.

    try {

    //DO SOMETHING

    } catch (Throwable e) {

    ViewBean viewBean = new ViewBean();

    StringBuffer stkTrace = new StringBuffer();

    stkTrace.append(e.toString()).append("<BR><BR>");

    StackTraceElement[] elmt = e.getStackTrace();

    for (int i = 0; i < elmt.length; i++) {

    stkTrace.append(elmt<i>.toString()).append("<BR>");

    }

    viewBean.setMessage(stkTrace.toString());

    setViewBean(ViewBeanType.REQUEST, "viewBean", viewBean);

    includeJSP(request, response, "error.jsp");

    }

    Please... How can I change the default Portal Error page ?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 10, 2005 at 01:41 PM

    Try to look in: \j2ee\cluster\<SERVER_DIR\log.defaultTrace.#.trc

    The logs are accessible from the Portal as well:

    System Administration --> Support --> Portal Runtime --> Log Viewer

    Dan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 10, 2005 at 01:42 PM

    Try to look in: \j2ee\cluster\<SERVER_DIR\log\defaultTrace.#.trc

    The logs are accessible from the Portal as well:

    System Administration --> Support --> Portal Runtime --> Log Viewer

    Dan

    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.