IBM Support

PI48565: SCA IMPLEMENTATION.JEE APPLICATION MAY NOT START

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • SCA implementation.jee application may not start
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: SCA business level application that     *
    *                      uses implementation.jee fails to start  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A Service Component Architecture (SCA) business level
    application that uses implementation.jee may fail to start
    with a NoClassDefFoundError similar to the one shown below.
    com.ibm.ws.exception.RuntimeWarning:
    java.lang.NoClassDefFoundError: mypackage.MyClass
    at
    com.ibm.ws.soa.sca.admin.runtime.impl.SCARuntimeImpl.start(SCARu
    ntimeImpl.java:511)
    at
    com.ibm.ws.soa.sca.admin.runtime.impl.SCARuntimeImpl.start(SCARu
    ntimeImpl.java:615)
    at
    com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(Compos
    itionUnitMgrImpl.java:434)
    at
    com.ibm.ws.runtime.component.CompositionUnitImpl.start(Compositi
    onUnitImpl.java:123)
    at
    com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(Compos
    itionUnitMgrImpl.java:377)
    at
    com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(C
    ompositionUnitMgrImpl.java:123)
    at
    com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitialize
    r.run(CompositionUnitMgrImpl.java:944)
    at
    com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializ
    er.run(WsComponentImpl.java:496)
    at
    com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1662)
    Caused by: java.lang.NoClassDefFoundError: mypackage.MyClass
    at java.lang.Class.getDeclaredFieldsImpl(Native Method)
    at java.lang.Class.getDeclaredFields(Class.java:714)
    at
    org.apache.tuscany.sca.implementation.java.introspect.impl.JavaI
    ntrospectionHelper.getAllPublicAndProtectedFields(JavaIntrospect
    ionHelper.java:86)
    at
    org.apache.tuscany.sca.implementation.java.introspect.impl.JavaI
    ntrospectionHelper.getAllPublicAndProtectedFields(JavaIntrospect
    ionHelper.java:66)
    at
    org.apache.tuscany.sca.implementation.java.impl.JavaClassIntrosp
    ectorImpl.introspectClass(JavaClassIntrospectorImpl.java:89)
    at
    org.apache.tuscany.sca.implementation.java.impl.JavaImplementati
    onFactoryImpl.createJavaImplementation(JavaImplementationFactory
    Impl.java:50)
    at
    org.apache.tuscany.sca.implementation.ejb.xml.EJBImplementationP
    rocessor.resolve(EJBImplementationProcessor.java:190)
    at
    org.apache.tuscany.sca.implementation.ejb.xml.EJBImplementationP
    rocessor.resolve(EJBImplementationProcessor.java:67)
    at
    org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifac
    tProcessorExtensionPoint$LazyStAXArtifactProcessor.resolve(Defau
    ltStAXArtifactProcessorExtensionPoint.java:411)
    at
    org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArti
    factProcessor.resolve(ExtensibleStAXArtifactProcessor.java:183)
    at
    org.apache.tuscany.sca.assembly.xml.BaseAssemblyProcessor.resolv
    eImplementation(BaseAssemblyProcessor.java:340)
    at
    org.apache.tuscany.sca.assembly.xml.CompositeProcessor.resolve(C
    ompositeProcessor.java:1028)
    at
    org.apache.tuscany.sca.assembly.xml.CompositeProcessor.resolve(C
    ompositeProcessor.java:90)
    at
    org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifac
    tProcessorExtensionPoint$LazyStAXArtifactProcessor.resolve(Defau
    ltStAXArtifactProcessorExtensionPoint.java:411)
    at
    org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArti
    factProcessor.resolve(ExtensibleStAXArtifactProcessor.java:183)
    at
    org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.r
    esolve(CompositeDocumentProcessor.java:231)
    at
    org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.r
    esolve(CompositeDocumentProcessor.java:59)
    at
    org.apache.tuscany.sca.contribution.processor.ExtensibleURLArtif
    actProcessor.resolve(ExtensibleURLArtifactProcessor.java:106)
    at
    org.apache.tuscany.sca.contribution.service.impl.ContributionSer
    viceImpl.processResolvePhase(ContributionServiceImpl.java:630)
    at
    org.apache.tuscany.sca.contribution.service.impl.ContributionSer
    viceImpl.addContribution(ContributionServiceImpl.java:430)
    at
    org.apache.tuscany.sca.contribution.service.impl.ContributionSer
    viceImpl.contribute(ContributionServiceImpl.java:198)
    at
    com.ibm.ws.soa.sca.runtime.impl.DomainCompositeHelper.addContrib
    ution(DomainCompositeHelper.java:107)
    at
    com.ibm.ws.soa.sca.contribution.jee.impl.WasExternalEarModelReso
    lver.resolveModel(WasExternalEarModelResolver.java:243)
    at
    org.apache.tuscany.sca.contribution.resolver.ExtensibleModelReso
    lver.resolveModel(ExtensibleModelResolver.java:179)
    at
    org.apache.tuscany.sca.implementation.jee.xml.JEEImplementationP
    rocessor.resolve(JEEImplementationProcessor.java:188)
    at
    org.apache.tuscany.sca.implementation.jee.xml.JEEImplementationP
    rocessor.resolve(JEEImplementationProcessor.java:64)
    at
    org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifac
    tProcessorExtensionPoint$LazyStAXArtifactProcessor.resolve(Defau
    ltStAXArtifactProcessorExtensionPoint.java:411)
    at
    org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArti
    factProcessor.resolve(ExtensibleStAXArtifactProcessor.java:183)
    at
    org.apache.tuscany.sca.assembly.xml.BaseAssemblyProcessor.resolv
    eImplementation(BaseAssemblyProcessor.java:340)
    at
    org.apache.tuscany.sca.assembly.xml.CompositeProcessor.resolve(C
    ompositeProcessor.java:1028)
    at
    org.apache.tuscany.sca.assembly.xml.CompositeProcessor.resolve(C
    ompositeProcessor.java:90)
    at
    org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifac
    tProcessorExtensionPoint$LazyStAXArtifactProcessor.resolve(Defau
    ltStAXArtifactProcessorExtensionPoint.java:411)
    at
    org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArti
    factProcessor.resolve(ExtensibleStAXArtifactProcessor.java:183)
    at
    org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.r
    esolve(CompositeDocumentProcessor.java:231)
    at
    org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.r
    esolve(CompositeDocumentProcessor.java:59)
    at
    org.apache.tuscany.sca.contribution.processor.ExtensibleURLArtif
    actProcessor.resolve(ExtensibleURLArtifactProcessor.java:106)
    at
    org.apache.tuscany.sca.contribution.service.impl.ContributionSer
    viceImpl.processResolvePhase(ContributionServiceImpl.java:630)
    at
    org.apache.tuscany.sca.contribution.service.impl.ContributionSer
    viceImpl.addContribution(ContributionServiceImpl.java:430)
    at
    org.apache.tuscany.sca.contribution.service.impl.ContributionSer
    viceImpl.contribute(ContributionServiceImpl.java:198)
    at
    com.ibm.ws.soa.sca.runtime.impl.DomainCompositeHelper.addContrib
    ution(DomainCompositeHelper.java:107)
    at
    com.ibm.ws.soa.sca.runtime.impl.SCAContainerComponentImpl.startC
    omposite(SCAContainerComponentImpl.java:377)
    at
    com.ibm.ws.soa.sca.admin.runtime.tuscany.SCATuscanyRuntimeHandle
    rImpl.startModule(SCATuscanyRuntimeHandlerImpl.java:181)
    at
    com.ibm.ws.soa.sca.admin.runtime.impl.SCARuntimeImpl.start(SCARu
    ntimeImpl.java:477)
    ... 8 more
    Caused by: java.lang.ClassNotFoundException: mypackage.MyClass
    at
    org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveFile
    DynamicClassLoader.loadClass(ArchiveFileDynamicClassLoader.java:
    555)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:642)
    ... 51 more
    

Problem conclusion

  • Changes were made to the way the implementation.jee support
    accesses the EAR file to ensure the classes can be loaded.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.0.0.12 and 8.5.5.8.  Please refer to the Recommended
    Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI48565

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-09-11

  • Closed date

    2015-10-09

  • Last modified date

    2015-12-02

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

    PI48042

  • 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

  • R800 PSY

       UP

  • 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:
28 April 2022