0 Replies Latest reply on Aug 14, 2002 11:11 AM by Gajendra Sanil

    WebappClassLoader: Lifecycle error : CL stopped

    Gajendra Sanil Newbie

      I am getting this error "WebappClassLoader: Lifecycle error : CL stopped".

      I have a web app which has a business delegate in a client jar. This delegate is responsible to talk to beans in weblogic. So I had to put the weblogic.jar into my lib directory. This works fine the first time. But as soon as I redeploy my war, I get this error.

      Please help.

      Here is the stack trace.

      09:13:15,397 ERROR [Engine] StandardWrapperValve[webdav]: Servlet.service() for
      servlet webdav threw exception
      javax.servlet.ServletException: Filter execution threw an exception
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:243)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:566)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:190)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:566)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:528)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve
      .java:246)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
      2343)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:180)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:566)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
      rValve.java:170)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:170)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
      468)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:174)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:566)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

      at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
      r.java:1012)
      at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
      va:1107)
      at java.lang.Thread.run(Thread.java:536)
      09:13:15,397 ERROR [Engine] ----- Root Cause -----
      java.lang.NoClassDefFoundError: weblogic/rmi/extensions/server/Stub
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
      3)
      at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
      ClassLoader.java:390)
      at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
      Loader.java:152)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:207)
      at weblogic.utils.classfile.utils.CodeGenerator.generateClass(CodeGenera
      tor.java:71)
      at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerator.java:6
      37)
      at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:6
      56)
      at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:6
      51)
      at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:59)
      at weblogic.common.internal.RemoteObjectReplacer.resolveObject(RemoteObj
      ectReplacer.java:231)
      at weblogic.common.internal.ChunkedObjectInputStream.resolveObject(Chunk
      edObjectInputStream.java:51)
      at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputSt
      ream.resolveObject(ChunkedObjectInputStream.java:321)
      at java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1311)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
      at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
      bjectInputStream.java:111)
      at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.ja
      va:91)
      at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
      at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:161)
      at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
      ef.java:263)
      at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
      ef.java:229)
      at net.rxhub.pm.contractmgr.ContractManagerFacadeBean_hupe2w_HomeImpl_WL
      Stub.create(Unknown Source)
      at net.rxhub.pm.contractmgr.client.ContractManagerDelegate.(Contra
      ctManagerDelegate.java:82)
      at net.rxhub.pm.contractmgr.client.ContractManagerDelegate.getInstance(C
      ontractManagerDelegate.java:58)
      at net.rxhub.webdav.security.SecurityFilter.getContractManagerDelegate(U
      nknown Source)
      at net.rxhub.webdav.security.SecurityFilter.doFilter(Unknown Source)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:213)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:243)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:566)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:190)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:566)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:528)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve
      .java:246)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
      2343)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:180)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:566)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
      rValve.java:170)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:170)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
      468)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:174)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:566)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

      at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
      r.java:1012)
      at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
      va:1107)
      at java.lang.Thread.run(Thread.java:536)
      09:13:15,497 INFO [ContractManagerDelegate] Creating ContractManagaerDelegate
      09:13:15,887 INFO [STDOUT] WebappClassLoader: Lifecycle error : CL stopped
      09:13:15,908 INFO [STDOUT] WebappClassLoader: Lifecycle error : CL stopped
      09:13:15,908 INFO [STDOUT] WebappClassLoader: Lifecycle error : CL stopped
      09:13:15,908 ERROR [Engine] StandardWrapperValve[webdav]: Servlet.service() for
      servlet webdav threw exception
      javax.servlet.ServletException: Filter execution threw an exception
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:243)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:566)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:190)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:566)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:528)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve
      .java:246)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
      2343)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:180)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:566)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
      rValve.java:170)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:170)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
      468)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:174)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:566)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

      at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
      r.java:1012)
      at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
      va:1107)
      at java.lang.Thread.run(Thread.java:536)
      09:13:15,908 ERROR [Engine] ----- Root Cause -----
      java.lang.NoClassDefFoundError: weblogic/rmi/extensions/server/Stub
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
      3)
      at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
      ClassLoader.java:390)
      at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
      Loader.java:152)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:207)
      at weblogic.utils.classfile.utils.CodeGenerator.generateClass(CodeGenera
      tor.java:71)
      at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerator.java:6
      37)
      at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:6
      56)
      at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:6
      51)
      at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:59)
      at weblogic.common.internal.RemoteObjectReplacer.resolveObject(RemoteObj
      ectReplacer.java:231)
      at weblogic.common.internal.ChunkedObjectInputStream.resolveObject(Chunk
      edObjectInputStream.java:51)
      at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputSt
      ream.resolveObject(ChunkedObjectInputStream.java:321)
      at java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1311)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
      at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
      bjectInputStream.java:111)
      at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.ja
      va:91)
      at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
      at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:161)
      at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
      ef.java:263)
      at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
      ef.java:229)
      at net.rxhub.pm.contractmgr.ContractManagerFacadeBean_hupe2w_HomeImpl_WL
      Stub.create(Unknown Source)
      at net.rxhub.pm.contractmgr.client.ContractManagerDelegate.(Contra
      ctManagerDelegate.java:82)
      at net.rxhub.pm.contractmgr.client.ContractManagerDelegate.getInstance(C
      ontractManagerDelegate.java:58)
      at net.rxhub.webdav.security.SecurityFilter.getContractManagerDelegate(U
      nknown Source)
      at net.rxhub.webdav.security.SecurityFilter.doFilter(Unknown Source)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:213)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:243)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:566)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:190)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:566)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:528)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve
      .java:246)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
      2343)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:180)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:566)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
      rValve.java:170)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:170)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
      468)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:174)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
      .java:566)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

      at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
      r.java:1012)
      at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
      va:1107)
      at java.lang.Thread.run(Thread.java:536)