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 44002] New: - classloader deadlock
Date Fri, 30 Nov 2007 19:46:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44002>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44002

           Summary: classloader deadlock
           Product: Tomcat 6
           Version: 6.0.10
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P4
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: wenjun@creditex.com


java full version "1.5.0_11-b03"


Found one Java-level deadlock:

=============================

"Dispatcher-Thread-4":

  waiting to lock monitor 0x08115e04 (object 0xe9fcad00, a
org.apache.catalina.loader.ResourceEntry),

  which is held by "Dispatcher-Thread-2"

"Dispatcher-Thread-2":

  waiting to lock monitor 0x08115484 (object 0x80e66408, a
org.apache.catalina.loader.WebappClassLoader),

  which is held by "Dispatcher-Thread-4"

 

Java stack information for the threads listed above:

===================================================

"Dispatcher-Thread-4":

        at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1766)

        - waiting to lock <0xe9fcad00> (a org.apache.catalina.loader.ResourceEntry)

        at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)

        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)

        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)

        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

        - locked <0x80e66408> (a org.apache.catalina.loader.WebappClassLoader)

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

        at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)

        - locked <0xe9fcb228> (a org.apache.catalina.loader.ResourceEntry)

        at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)

        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)

        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)

        at
javax.activation.MailcapCommandMap.getDataContentHandler(MailcapCommandMap.java:590)

        at
javax.activation.MailcapCommandMap.createDataContentHandler(MailcapCommandMap.java:550)

        - locked <0xe9f2b988> (a javax.activation.MailcapCommandMap)

        at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:611)

        - locked <0xe9fcb268> (a javax.activation.DataHandler)

        at javax.activation.DataHandler.writeTo(DataHandler.java:315)

        at javax.mail.internet.MimeUtility.getEncoding(MimeUtility.java:248)

        at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1268)

        at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1001)

        at javax.mail.internet.MimeMultipart.updateHeaders(MimeMultipart.java:333)

        at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1255)

        at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2012)

        at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1980)

        at javax.mail.Transport.send(Transport.java:97)

        at org.apache.log4j.net.SMTPAppender.sendBuffer(Unknown Source)

        at org.apache.log4j.net.SMTPAppender.append(Unknown Source)

        at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)

        - locked <0x80ebafa8> (a org.apache.log4j.net.SMTPAppender)

        at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)

        at org.apache.log4j.AsyncAppender$Dispatcher.run(AsyncAppender.java:578)

        - locked <0x80ebad38> (a org.apache.log4j.helpers.AppenderAttachableImpl)

        at java.lang.Thread.run(Thread.java:595)

"Dispatcher-Thread-2":

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

        at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)

        - locked <0xe9fcad00> (a org.apache.catalina.loader.ResourceEntry)

        at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)

        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)

        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)

        at
javax.activation.MailcapCommandMap.getDataContentHandler(MailcapCommandMap.java:590)

        at
javax.activation.MailcapCommandMap.createDataContentHandler(MailcapCommandMap.java:550)

        - locked <0xea094e50> (a javax.activation.MailcapCommandMap)

        at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:611)

        - locked <0xea060a98> (a javax.activation.DataHandler)

        at javax.activation.DataHandler.writeTo(DataHandler.java:315)

        at javax.mail.internet.MimeUtility.getEncoding(MimeUtility.java:248)

        at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1268)

        at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1001)

        at javax.mail.internet.MimeMultipart.updateHeaders(MimeMultipart.java:333)

        at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1255)

        at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2012)

        at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1980)

        at javax.mail.Transport.send(Transport.java:97)

        at org.apache.log4j.net.SMTPAppender.sendBuffer(Unknown Source)

        at org.apache.log4j.net.SMTPAppender.append(Unknown Source)

        at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)

        - locked <0x80eb2f20> (a org.apache.log4j.net.SMTPAppender)

        at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)

        at org.apache.log4j.AsyncAppender$Dispatcher.run(AsyncAppender.java:578)

        - locked <0x80eb2a90> (a org.apache.log4j.helpers.AppenderAttachableImpl)

        at java.lang.Thread.run(Thread.java:595)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message