https://issues.apache.org/bugzilla/show_bug.cgi?id=48903

           Summary: ClassLoader deadlock when compiling JSP pages in
                    6.0.26
           Product: Tomcat 6
           Version: 6.0.26
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: knst.koli...@gmail.com


Created an attachment (id=25123)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25123)
threads_20100313_0109.txt - thread dump

Steps to reproduce:

1. Install TC 6.0.26
I am using Sun JRE 6u18

2. Download tomahawk-examples-1.1.8-bin.zip from
http://myfaces.apache.org/tomahawk/download.html
and copy myfaces-example-simple-1.1.8.war from the archive to the webapps
folder of Tomcat

3. Start Tomcat and browse http://localhost:8080/myfaces-example-simple-1.1.8/

4. Try to open several links (Sample 1, .. Filtered Stylesheet) at the same
time.
I am using Snap Links plugin for Firefox, http://snaplinks.mozdev.org/

5. Several Tabs are opened in the browser to load the pages, but pages never
load.

6. Using jvisualvm tool I can see that there is a deadlock in Tomcat. The
thread dump is attached.

Citing from the dump:

Found one Java-level deadlock:
=============================
"http-8080-6":
  waiting to lock monitor 0x1731bafc (object 0x08189dd0, a
org.apache.catalina.loader.WebappClassLoader),
  which is held by "http-8080-1"
"http-8080-1":
  waiting to lock monitor 0x1731b88c (object 0x13bdb118, a java.lang.String),
  which is held by "http-8080-5"
"http-8080-5":
  waiting to lock monitor 0x1731bafc (object 0x08189dd0, a
org.apache.catalina.loader.WebappClassLoader),
  which is held by "http-8080-1"

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

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

Reply via email to