IBM Support

PI22126: Attempts at modify the deployment descriptor results in JAR file s being placed in the EAR root folder rather than the lib folder

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Steps to recreate:
    ---------------------
    1. Create an EAR, Web and Utility project. Create deployment
    descriptor (application.xml).
    
    2. Deploy to a Websphere test environment
    
    3. EAR Deployment Assembly page shows IBMUtility jar as
    'lib/IBMUtility.jar' (which is correct)
    
    4. Add security role via application.xml and the entry in 3.
    changes to 'IBMUtility.jar'
    
    5. Deploy on the Test Environment.
    
    6. Invoking servlet throws the following error:
    
    "Caused by: java.lang.ClassNotFoundException:
    com.utility.UtilTest
        at
    java.net.URLClassLoader.findClass(URLClassLoader.java:434)"
    
    7. Change the Deployment Assembly page entry back to
    'lib/IBMUtility.jar' and the servlet is correctly invoked.
    

Local fix

  • A fix is available on request from IBM Rational Client Support
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of the Java EE tools in Rational Application       *
    * Developer                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Modify the deployment descriptor might result in JAR files   *
    * being placed in the EAR root folder rather than the EAR lib  *
    * folder                                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The fix for this APAR is included in Rational Application
    Developer version 8.5.5.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI22126

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-07-16

  • Closed date

    2015-04-16

  • Last modified date

    2015-04-16

  • 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

  • R855 PSY

       UP

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

Document Information

Modified date:
15 October 2021