IBM Support

PM40719: COMPOSITES CONTAINING IMPL.OSGIAPP FAIL TO REDEPLOY AFTER BEING DELETED.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When impl.osgiapp and impl.jee composites are both included in
    a single asset, and deployed with the relevant EAR and EBA
    applications, deleting the composites can cause future attempts
    to deploy the impl.osgiapp composite to fail.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All IBM WebSphere Application Server Feature*
    *                  Pack for Service Component Architecture     *
    *                  (SCA) users                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: When impl.osgiapp and impl.jee          *
    *                      composites are both included in a       *
    *                      single asset, and deployed with the     *
    *                      relevant EAR and EBA applications,      *
    *                      deleting the composites can cause       *
    *                      future attempts to deploy the           *
    *                      impl.osgiapp composite to fail.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    SystemOut.log shows a stack trace like the following indicating
    that a temporary file is missing during deployment.  This is
    due to the fact that this file only exists during
    deployment of the impl.jee composite after an EAR has been
    opened.  Further down the stack is the code location with the
    actual failure:
    
    com.ibm.ws.soa.sca.contribution.jee.impl.WasExternalEarModelReso
    lver.resolveModel(WasExternalEarModelResolver.java:242)
    
    
    [3/31/11 16:08:49:495 CDT] 0000008f wtp           E
    org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ZipFile
    LoadStrategyImpl getZipFile File not found.
    [3/31/11 16:08:49:496 CDT] 0000008f wtp           E
    org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ZipFile
    LoadStrategyImpl describeFile Describing file associated with
    ZipFileLoadStrategy [ Error case - getZipFile() file not found
    ] :
    
    LoadStrategy [
    org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.TempZip
    FileLoadStrategyImpl@756c756c ]
    Container    [
    org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl
    @766c766c (URI: WarehouseEJB3.jar, lastModified:
    1256316044000, size: 7189, directoryEntry: <unset>,
    originalURI: WarehouseEJB3.jar) (types: null) ]
       URI       [ WarehouseEJB3.jar ]
       Archive   [ CLOSED ]
    isOpen       [ false ]
    File         [ null ]
      Abs Path   [
    /opt/WebSphere70_OSGI/profiles/dmgr/wstemp/appdepl12f0a2cafb8/Wa
    rehouseEJB3.jar5942010002283934981.tmp ]
    Zip File     [ null ]
    [3/31/11 16:08:49:497 CDT] 0000008f wtp           E
    org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ZipFile
    LoadStrategyImpl errorDescribeFile
      Stack trace for [ Failure Stack ] recorded at [3/31/11
    16:08:49:497 CDT ]:
          java.lang.Thread.getStackTraceImpl(Native Method)
          java.lang.Thread.getStackTrace(Thread.java:1042)
    
    org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ZipFile
    LoadStrategyImpl.errorDescribeFile(ZipFileLoadStrategyImpl.java:
    516)
    
    org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ZipFile
    LoadStrategyImpl.getZipFile(ZipFileLoadStrategyImpl.java:388)
    
    org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ZipFile
    LoadStrategyImpl.getInputStream(ZipFileLoadStrategyImpl.java:355
    )
    
    org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ContainerIm
    pl.primGetInputStream(ContainerImpl.java:599)
    
    org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl
    .primGetInputStream(ArchiveImpl.java:2021)
    
    org.eclipse.jst.j2ee.commonarchivecore.internal.impl.FileImpl.ge
    tInputStream(FileImpl.java:179)
    
    org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveFile
    DynamicClassLoader$1.run(ArchiveFileDynamicClassLoader.java:443)
    
    org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveFile
    DynamicClassLoader$1.run(ArchiveFileDynamicClassLoader.java:441)
    
    java.security.AccessController.doPrivileged(AccessController.jav
    a:251)
    
    org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveFile
    DynamicClassLoader.findClass(ArchiveFileDynamicClassLoader.java:
    440)
          java.lang.ClassLoader.loadClass(ClassLoader.java:653)
    
    org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveFile
    DynamicClassLoader.loadClass(ArchiveFileDynamicClassLoader.java:
    355)
          java.lang.ClassLoader.loadClass(ClassLoader.java:619)
          java.lang.Class.getDeclaredFieldsImpl(Native Method)
          java.lang.Class.getDeclaredFields(Class.java:550)
    
    org.apache.tuscany.sca.implementation.java.introspect.impl.JavaI
    ntrospectionHelper.getAllPublicAndProtectedFields(JavaIntrospect
    ionHelper.java:86)
    
    org.apache.tuscany.sca.implementation.java.introspect.impl.JavaI
    ntrospectionHelper.getAllPublicAndProtectedFields(JavaIntrospect
    ionHelper.java:66)
    
    org.apache.tuscany.sca.implementation.java.impl.JavaClassIntrosp
    ectorImpl.introspectClass(JavaClassIntrospectorImpl.java:89)
    
    org.apache.tuscany.sca.implementation.java.impl.JavaImplementati
    onFactoryImpl.createJavaImplementation(JavaImplementationFactory
    Impl.java:50)
    
    org.apache.tuscany.sca.implementation.ejb.xml.EJBImplementationP
    rocessor.resolve(EJBImplementationProcessor.java:190)
    
    org.apache.tuscany.sca.implementation.ejb.xml.EJBImplementationP
    rocessor.resolve(EJBImplementationProcessor.java:67)
    
    
    
    Code currently exists to skip the EAR resolve step in
    situations that it is not required in, however the test does
    not address all relevant cases, and a fix is required
    to gaurantee that the resolve code is not executed in an
    invalid situation.
    

Problem conclusion

  • A code fix was created to skip any EAR related contribution
    when not explicitly required.
    
    The fix for PM40719 is currently targeted for inclusion in
    SCA fix pack 1.0.1.13 Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    
    The fix for this issue will be delivered via APAR PM40898 for
    WebSphere Application Server v8.
    

Temporary fix

  • Deploying the impl.jee composite before attempting to deploy
    the impl.osgiapp composite can resolve the issue.
    

Comments

APAR Information

  • APAR number

    PM40719

  • Reported component name

    WAS SCA FEATURE

  • Reported component ID

    5724J0854

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-03

  • Closed date

    2011-06-17

  • Last modified date

    2011-06-17

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    PM40898

Fix information

  • Fixed component name

    WAS SCA FEATURE

  • Fixed component ID

    5724J0854

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 February 2022