IBM Support

PH36236: COMPILE ERROR RETUNRS COM.IBM.WS.EXCEPTION.WSNESTEDEXCEPTION IS UNKNOWN.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • My code catches a com.ibm.websphere.asynchbeans.WorkException
    which is derived from com.ibm.ws.exception.WsException. Both
    exceptions (com.ibm.websphere.asynchbeans.WorkException and
    com.ibm.ws.exception.WsException) are part of the
    was_public.jar.
    
    But the Exception
    com.ibm.ws.exception.WsException implements the interface
    com.ibm.ws.exception.WsNestedException and this interface is
    not part of the was_public.jar.
    
    It looks as if the missing
    interface com.ibm.ws.exception.WsNestedException should also be
    part of the was_public.jar.
    

Local fix

  • Update their own copy of was_public.jar with a copy of
    WsNestedException pulled from either
    WAS_HOME/plugins/com.ibm.ws.runtime.jar or one of the thin
    client jars in WAS_HOME/runtimes.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server that use the was_public.jar for      *
    *                  development.                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: The was_public.jar is missing           *
    *                      Exception classes in package            *
    *                      com/ibm/ws/exception.                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    WebSphere Application Server provides server API classes in
    the was_public.jar within the <was_home>/dev directory of an
    installation. When using the was_public.jar to compile an
    application, errors may occur indicating the compiler could
    not find classes:
    com.ibm.ws.exception.WsNestedException
    com.ibm.ws.exception.WsRuntimeException
    com.ibm.ws.exception.WsEJBException
    APAR PH36236 adds the above classes to the was_public.jar.
    

Problem conclusion

  • APAR PH36236 adds classes WsNestedException,
    WsRuntimeException, and WsEJBException to the was_public.jar
    in order to resolve potential application compilation
    errors.  If you are using the was_public.jar to compile and
    build applications, be sure to update the jar in your
    development environment.
    
    The fix for this APAR is targeted for inclusion in fix packs
    8.5.5.20 and 9.0.5.9. For more information, see 'Recommended
    Updates for WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH36236

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-04-13

  • Closed date

    2021-04-27

  • Last modified date

    2021-04-27

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850"}]

Document Information

Modified date:
28 April 2021