JR44985: DEBUG FROM PROCESS DESIGNER DOESN'T SHOW ANY DETAILED INFORMATION WHEN CLICKING "DETAILS >>" BUTTON

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Reproduction steps :
    ======================
    1) In Process Designer (PD), create a Human Service containing a
    Script element and simple downstream Coach. Within the the
    Script element write a script that references a local variable
    that does not exist, ie.
    <script>
    tw.local.testVar="test";
    </script>
    2) In PD, open human service: testHM
    3) In PD, click "Debug" button. A browser will open.
    4) In browser, click "step" button. The page is refreshed to
    show that an exception occured, along with a button to view
    details.
    5) In browser, click "Details"
    
    RESULT: Nothing happens in the browser.
    EXPECTED RESULT: The details of the exception, exception stack,
    will be displayed.
    

Local fix

  • This is only intended for experienced users and administrators
    of Business Process Manager (BPM) and WAS. Use extreme caution
    when applying these steps. This is also only intended as a test,
    please revert the change, and obtain a formal fix from IBM.
    
    1. In a simple single server environment, locate the file
    tm_error.jsp in the BPM install profile directory,
    <BPM_install>/<Profile_name>/installedApps/<Node_name>/IBM_BPM_T
    eamworks_SampleNode01_server1.ear/teamworks.war/html
    
    where
    <BPM_install>  = Install root for BPM
    <Profile_name>  = Profile name
    <Node_name>  = Node name
    
    2. Backup the file tm_error.jsp, can be in same directory
    
    3. Edit the file tm_error.jsp, as follows,
    
    ORIGINAL CODE:
    <%@ page import="java.io.PrintWriter,
    com.lombardisoftware.core.StringUtilities,
    ...
                "parameters": [ '<% if (exception != null) { %><%=
    exception.getMessage() %><% } else { %><%=
    request.getAttribute("com.lombardisoftware.error.message") %><%
    } %>']
    
    UPDATED CODE:
    <%@ page import="java.io.PrintWriter,
    com.lombardisoftware.core.StringUtilities,
                     java.io.StringWriter,
    org.apache.commons.lang.StringEscapeUtils"%>
    ...
                "parameters": [ '<% if (exception != null) { %><%=
    StringEscapeUtils.escapeJavaScript(exception.getMessage().toStri
    ng()) %><% } else { %><%=
    StringEscapeUtils.escapeJavaScript(request.getAttribute("com.lom
    bardisoftware.error.message").toString()) %><% } %>']
    
    4. Save the file and test. The server may need to be restarted,
    and/or the browser cache cleared, but these should not be
    necessary.
    
    5. Revert to the original file.
    

Problem summary

  • When exception happens in HS runtime, "Details" button does
    nothing when clicking it. The issue is caused by a syntax error
    in the Java Script of the generated HTML error page.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    JR44985

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-12-02

  • Closed date

    2013-01-14

  • Last modified date

    2013-01-14

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    BPM ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R801 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

IBM Business Process Manager Advanced

Software version:

8.0.1

Reference #:

JR44985

Modified date:

2013-01-14

Translate my page

Machine Translation

Content navigation