IBM Support

PH59984: JAVA.LANG.NOCLASSDEFFOUNDERROR: JAVAX.ANNOTATION.SQL.DATASOURCEDEFINITION

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

  • while performing a batch deployement with ant script, customer
    receives the following error message:
    
    com.ibm.websphere.management.application.client.AppDeploymentE
    xception:java.lang.NoClassDefFoundError:
    javax.annotation.sql.DataSourceDefinition
    They have added the line
    -Djava.endorsed.dirs=${WAS_HOME}/endorsed_apis \ in the  ws_ant
    file, with no success.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server version 8.5.5 or later on iSeries    *
    ****************************************************************
    * PROBLEM DESCRIPTION: while performing a batch deployement    *
    *                      with ant script, customer               *
    *                      receives the following error message:   *
    *                      com.ibm.websphere.management.applicatio *
    *                      n                                       *
    *                      .client.AppDeploymentE                  *
    *                      xception:java.lang.NoClassDefFoundError *
    *                      :                                       *
    *                      javax.annotation.sql.DataSourceDefiniti *
    *                      o                                       *
    *                      n                                       *
    *                      They have added the line                *
    *                      -                                       *
    *                      Djava.endorsed.dirs=${WAS_HOME}/endorse *
    *                      d                                       *
    *                      _apis \ in the  ws_ant                  *
    *                      file, with no success.                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    while performing a batch deployement with ant script, customer
    receives the following error message:
    com.ibm.websphere.management.application.client.AppDeploymentE
    xception:java.lang.NoClassDefFoundError:
    javax.annotation.sql.DataSourceDefinition
    They have added the line
    -Djava.endorsed.dirs=${WAS_HOME}/endorsed_apis \ in the  ws_ant
    file, with no success.
    

Problem conclusion

  • The code is updated to add support for endorseddirs on iSeries.
    
    The fix for this APAR is targeted for inclusion in fix pack
    8.5.5.26 and 9.0.5.20. 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

    PH59984

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-02-23

  • Closed date

    2024-03-28

  • Last modified date

    2024-03-28

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
28 March 2024