IBM Support

PM73859: Utility project dos not have JAR files located in lib folder of EAR project on the build path.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempts to use classes from JAR files located in the lib folder
    of an EAR project fails.
    
    Problem:
    
    - Have an EAR project in which a lib folder is present and in
    which utility jar files are present.
    - Create a J2EE Utility Project that is associated with the EAR
    project.
    - Note for the utility project under Properties ? Java Build
    Path ? Libraries ? EAR Libraries none of the utility libraries
    found in the EAR project's lib folder are listed.
    - Select the following on the EAR project Properties ?
    Deployment Assembly and edit the deploy path of the utility
    project so that it is no longer in /lib.
    - The utility project now lists the utility jars for the EAR.
    
    Local fix:
    
    (a) Add the utility jars in EAR50/lib as jars to Java Build
    Path?Libraries of {Some Java Utility Project} using [Add Jars]
    
    or
    
    (b) change deployment path of {Some Java Utility Project(s)} to
    EAR50/ (== EAR root)
    Note: The small negative, is that for runtime purposes the
    {Some Java Utility Project(s)} will not be available by default
    to the EAR modules the way anything in EAR50/lib is.  They would
    need to be explicitly added to the MANIFEST classpath of any JEE
    Module in that EAR.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    JAR files located in the lib folder of an EAR project are
    not accessible via the build path of utility projects within
    the EAR project, resulting in compilation failures.
    

Problem conclusion

  • The fix for this APAR is included in Rational Application
    Developer v8.0.4.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM73859

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    804

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-27

  • Closed date

    2012-12-15

  • Last modified date

    2012-12-15

  • 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

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R804 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 December 2012