IBM Support

PK72291: WAR and JAR files removed from EAR exported to server

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using Rational Application Developer 7.0.0.6
    
    Given an EAR project with already built WAR and JAR files placed
     in the EAR project main directory, during deployment to a BEA W
    ebLogic server, the exported EAR is stripped of WAR and JAR file
    s.
    
    Steps to reproduce:
    1. Create new EAR project:
      Name: EAR
      Target Runtime: Generic BEA WebLogic Server 8.1
      Facets: EAR 1.3
    2. Import -? J2EE -? Utility JAR file
      EAR Project: EAR (created in step 1)
      Select an existing EJB.jar module
      Check 'Copy Utility JARs into an existing EAR from an external
     location
      Notice that EJB.jar was copied to EAR project
    3. Edit EAR/META-INF/application.xml to contain:
      ...
      ?module?
        ?ejb?EJB.jar?/ejb?
      ?/module?
      ...
    4. In servers view, add project to WebLogic 8.1 and Publish
    5. Observe C:\bea\weblogic81\samples\domains\workshop\applicatio
    ns
      Notice that EAR.jar contains only
      META-INF  META-INF\application.xml
      META-INF\MANIFEST.MF
    
    I'd expect that exported EAR contains also EJB.jar module but it
    's not.
    
    I have noticed that if step 3 is omitted, EJB.jar is added to EA
    R, but as it is not a Mudule in the application.xml the ear is n
    ot usable.
    

Local fix

Problem summary

  • Web libraries are not packaged correctly when using
    WebLogic, Jboss, or Websphere downloadable Server Adapters.
    

Problem conclusion

  • Binary libraries were being repackaged incorrectly when the
    project was deployed to the server.
    Fix delivered in rational Application Developer V7.5.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK72291

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-09-17

  • Closed date

    2009-04-02

  • Last modified date

    2009-04-02

  • 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

  • R700 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":"7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
02 April 2009