IBM Support

PM70420: CANNOT CREATE COMPOSITION UNIT IN JAR SCENARIO

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • I have a contribution asset that contains two jars. When I try
    to create the composition unit for the deployable composite
    listed  in my contribution file, I got a message complaining
    about some classes not found in the classloader.
    
    These classes actually reside in the two inner jars. My
    structure is something like this:
    /scaAccountServices.jar
       META-INF
           sca-contribution.xml
       AccountServices.composite
       org
          example
             accountservice
                impl
                   AccountServiceImpl.class
       scaAccountServicesWSDL.jar
       scaAccountServicesComponents.jar
    
    The classloading system can effectively load
    AccountServiceImpl class, that is in the same jar, but it
    cannot load any other *.class definition that is in the inner
    jars (other implementation and interfaces classes) as well as
    one WSDL file located in scaAccountServicesWSDL.jar inner jar
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: WSDL and XSD resources may not be       *
    *                      found when contained either within a    *
    *                      nested jar or a dependent SCA           *
    *                      contribution                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When an SCA application uses an SCA contribution that contains
    jar files nested within the contribution or uses dependent SCA
    contributions, and the nested jars or dependent contributions
    contain WSDL or XSD files then those files may not be found as
    resources by the contribution class loader or by a web
    service ?wsdl URL.
    

Problem conclusion

  • For SCA applications WebSphere now  supports  WSDL or XSD
    files within nested jars or dependent contributions.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.0.1.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

  • Move WSDL and XSD resources to be within a single SCA
    contribution
    

Comments

APAR Information

  • APAR number

    PM70420

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-07

  • Closed date

    2012-08-09

  • Last modified date

    2012-08-09

  • 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

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
02 November 2021