tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11307] New: - Deadlock in ClassLoader
Date Tue, 30 Jul 2002 20:15:30 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11307>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11307

Deadlock in ClassLoader

           Summary: Deadlock in ClassLoader
           Product: Tomcat 4
           Version: 4.1.8
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: apache@ganyo.com


FOUND A JAVA LEVEL DEADLOCK:
----------------------------
"Thread-4":
  waiting to lock monitor 0x8022ec (object 0x33b3b78, a
org.apache.catalina.loader.ResourceEntry),
  which is locked by "task"
"task":
  waiting to lock monitor 0x80226c (object 0x2d965c8, a
org.apache.catalina.loader.WebappClassLoader),
  which is locked by "Thread-4"

JAVA STACK INFORMATION FOR THREADS LISTED ABOVE:
------------------------------------------------
Java Stack for "Thread-4":
==========
        at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1660)
        - waiting to lock <33b3b78> (a org.apache.catalina.loader.ResourceEntry)
        at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:953)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1390)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1270)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
        - locked <2d965c8> (a org.apache.catalina.loader.WebappClassLoader)
        at com.eTapestry.services.ServiceLocator.<clinit>(ServiceLocator.java:35)
        at
com.eTapestry.presentation.filters.AuthenticationFilter.validateSignOn(AuthenticationFilter.java:125)
        at
com.eTapestry.presentation.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:74)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
        at
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
        at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
        at
com.eTapestry.presentation.filters.RequestLogFilter.doFilter(RequestLogFilter.java:70)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
        at
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
        at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2350)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
        at java.lang.Thread.run(Thread.java:479)
Java Stack for "task":
==========
        at java.lang.ClassLoader.checkCerts(ClassLoader.java:530)
        - waiting to lock <2d965c8> (a org.apache.catalina.loader.WebappClassLoader)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:482)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
        at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1661)
        - locked <33b3b78> (a org.apache.catalina.loader.ResourceEntry)
        at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:953)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1390)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:287)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
        - locked <3366ab0> (a sun.rmi.server.LoaderHandler$Loader)
        at java.lang.Class.getField0(Native Method)
        at java.lang.Class.getDeclaredField(Class.java:1108)
        at java.io.ObjectStreamClass$1.run(ObjectStreamClass.java:295)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.io.ObjectStreamClass.init(ObjectStreamClass.java:288)
        - locked <33c4808> (a java.lang.Object)
        at java.io.ObjectStreamClass.lookupInternal(ObjectStreamClass.java:107)
        at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:561)
        at
java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:931)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
        at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
        at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2258)
        at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
        at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1407)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
        at java.rmi.MarshalledObject.get(MarshalledObject.java:133)
        at
net.jini.discovery.IncomingUnicastResponse.<init>(IncomingUnicastResponse.java:72)
        at
net.jini.discovery.LookupDiscovery$UnicastDiscoveryTask.run(LookupDiscovery.java:712)
        at com.sun.jini.thread.TaskManager$TaskThread.run(TaskManager.java:271)

Found 1 deadlock.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message