IBM Support

PM68388: JSPS COMPILED WITH KEEPGENERATED=TRUE THROW INVALID UNICODE EXCEPTIONS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a JavaServer Page (JSP) is compiled with the
    keepgenerated=true attribute, the comments generated in the
    resulting java class include information about the JSP's
    looseLibMap and jspCompileClasspath attributes. If the value
    (i.e. path) of either of these attributes contains a "\u", then
    the generated java class throws an "invalid unicode" exception
    due to "\u" being the unicode escape sequence in Java.
    

Local fix

  • rename file(s) and folder(s) in those attributes so that they
    do not begin with "\u"
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server            *
    *                  Liberty Profile Version 8.5.0.0 users of    *
    *                  JavaServer Page (JSP) files.                *
    ****************************************************************
    * PROBLEM DESCRIPTION: An invalid unicode exception is         *
    *                      thrown when compiling a JSP file.       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the keepgenerated JSP attribute is set to true an invalid
    unicode exception can occur during JSP compilation. This will
    occur if a file or path set in either the looseLibMap or
    jspCompileClasspath JSP attributes contains a "\u" in the
    value.
    An example of this exception is:
    C:\WebSphere\AppServer\profiles\AppSrv01\temp\TestNode01\server1
    \TestEAR\Test.war\_test.java : 142 : Invalid unicode
    

Problem conclusion

  • The JSP Container was modified to change a back slash "\" to a
    forward slash "/" when printing out the values of the JSP
    attributes as a Java comment in the generate Java file. These
    values are for display purposes only in the generated Java
    code and the actual value associated with the JSP attributes
    remain unchanged.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.0.1.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM68388

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-07-08

  • Closed date

    2012-09-26

  • Last modified date

    2012-09-26

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

    PM58513

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

Fix information

  • Fixed component name

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 October 2021