IBM Support

PI32586: WORKLIGHT SERVER ON TOMCAT MAY NOT START IF USED WITH COMPWARE DYNATRACE AGENT

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When Compware dynaTrace agent (a third-party product) is used
    on a Tomcat server on which Worklight Server is deployed, the
    Worklight Server may fail to start.  Errors similar to the
    following may be logged:
    
    Dec 17, 2014 12:39:33 PM org.apache.catalina.core.ContainerBase
    startInternal
    SEVERE: A child container failed during start
    java.util.concurrent.ExecutionException: org.apache.catalina.
    LifecycleException: Failed to start component
    [StandardEngine[Catalina].
    StandardHost[localhost].StandardContext[/wl]]
            at
    java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.
    java:252)
            at
    java.util.concurrent.FutureTask.get(FutureTask.java:111)
            at org.apache.catalina.core.ContainerBase.startInternal
    (ContainerBase.java:1123)
            at org.apache.catalina.core.StandardHost.startInternal
    (StandardHost.java:785)
            at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.
    java:150)
            at
    org.apache.catalina.core.ContainerBase$StartChild.call
    (ContainerBase.java:1559)
            at
    org.apache.catalina.core.ContainerBase$StartChild.call
    (ContainerBase.java:1549)
            at
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.
    java:334)
            at
    java.util.concurrent.FutureTask.run(FutureTask.java:166)
            at java.util.concurrent.ThreadPoolExecutor.runWorker
    (ThreadPoolExecutor.java:1110)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run
    (ThreadPoolExecutor.java:603)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: org.apache.catalina.LifecycleException: Failed to
    start
    component [StandardEngine[Catalina].StandardHost[localhost].
    StandardContext[/wl]]
            at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.
    java:154)
            ... 7 more
    Caused by: java.lang.NoClassDefFoundError:
    com/ibm/ws/security/config/SecurityConfigResource
            at java.lang.Class.getDeclaredFields0(Native Method)
            at
    java.lang.Class.privateGetDeclaredFields(Class.java:2308)
            at java.lang.Class.getDeclaredFields(Class.java:1760)
            at
    org.apache.catalina.util.Introspection.getDeclaredFields
    (Introspection.java:87)
            at org.apache.catalina.startup.WebAnnotationSet.
    loadFieldsAnnotation(WebAnnotationSet.java:261)
            at org.apache.catalina.startup.WebAnnotationSet.
    loadApplicationFilterAnnotations(WebAnnotationSet.java:110)
            at org.apache.catalina.startup.WebAnnotationSet.
    loadApplicationAnnotations(WebAnnotationSet.java:66)
            at org.apache.catalina.startup.ContextConfig.
    applicationAnnotationsConfig(ContextConfig.java:405)
            at
    org.apache.catalina.startup.ContextConfig.configureStart
    (ContextConfig.java:881)
            at
    org.apache.catalina.startup.ContextConfig.lifecycleEvent
    (ContextConfig.java:369)
            at
    org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
    (LifecycleSupport.java:119)
            at
    org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
    (LifecycleBase.java:90)
            at
    org.apache.catalina.core.StandardContext.startInternal
    (StandardContext.java:5173)
            at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.
    java:150)
            ... 7 more
    Caused by: java.lang.ClassNotFoundException:
    com.ibm.ws.security.config.
    SecurityConfigResource
            at
    org.apache.catalina.loader.WebappClassLoader.loadClass
    (WebappClassLoader.java:1714)
            at
    org.apache.catalina.loader.WebappClassLoader.loadClass
    (WebappClassLoader.java:1559)
            ... 21 more
    
    Dec 17, 2014 12:39:36 PM org.apache.catalina.core.ContainerBase
    startInternal
    SEVERE: A child container failed during start
    java.util.concurrent.ExecutionException: org.apache.catalina.
    LifecycleException: Failed to start component
    [StandardEngine[Catalina].
    StandardHost[localhost].StandardContext[/skl0]]
            at
    java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.
    java:252)
            at
    java.util.concurrent.FutureTask.get(FutureTask.java:111)
            at org.apache.catalina.core.ContainerBase.startInternal
    (ContainerBase.java:1123)
            at org.apache.catalina.core.StandardHost.startInternal
    (StandardHost.java:785)
            at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.
    java:150)
            at
    org.apache.catalina.core.ContainerBase$StartChild.call
    (ContainerBase.java:1559)
            at
    org.apache.catalina.core.ContainerBase$StartChild.call
    (ContainerBase.java:1549)
            at
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.
    java:334)
            at
    java.util.concurrent.FutureTask.run(FutureTask.java:166)
            at java.util.concurrent.ThreadPoolExecutor.runWorker
    (ThreadPoolExecutor.java:1110)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run
    (ThreadPoolExecutor.java:603)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: org.apache.catalina.LifecycleException: Failed to
    start
    component [StandardEngine[Catalina].StandardHost[localhost].
    StandardContext[/skl0]]
            at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.
    java:154)
            ... 7 more
    

Local fix

  • The only available workaround is to remove the Compuware
    dynaTrace agent from the Tomcat server.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Administrators of a Worklight server who use Tomcat as their *
    * server runtime using the DynaTrace agent                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The Dynatrace agent loads websphere classes that are not     *
    * used on tomcat servers, causing class not found exceptions   *
    * to occur when using this agent on their tomcat server        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The code that uses the websphere APIs that are normally
    statically loaded are now dynamically loaded on demand when
    using a websphere server.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI32586

  • Reported component name

    WL/MFPF CONSUME

  • Reported component ID

    5725I4301

  • Reported release

    620

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-01-12

  • Closed date

    2015-02-27

  • Last modified date

    2015-02-27

  • 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

    WL/MFPF CONSUME

  • Fixed component ID

    5725I4301

Applicable component levels

  • R620 PSY

       UP

  • R630 PSY

       UP



Document information

More support for: IBM Worklight

Software version: 620

Reference #: PI32586

Modified date: 27 February 2015


Translate this page: