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 6023] New: - removing context from standard host causes runnable thread to be blocked
Date Thu, 24 Jan 2002 23:26:28 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=6023>.
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=6023

removing context from standard host causes runnable thread to be blocked

           Summary: removing context from standard host causes runnable
                    thread to be blocked
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: HTTP/1.1 Connector
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: notzippy@hotmail.com


when there are request's being serviced by the requestdispatcher it seems like 
the there is an issue with the removing the context.
A portion of the thread dump is as follows. I have the full trace dump if 
required.
"HttpProcessor[8180][3]" daemon prio=5 tid=0x0AFD7620 nid=0xf24 waiting for 
monitor entry [1690f000..1690fdb8]
        at org.apache.catalina.core.StandardContext.getServletContext
(StandardContext.java:1039)
        - waiting to lock <0375DE48> (a 
org.apache.catalina.core.StandardContext)
        at org.apache.catalina.connector.HttpRequestBase.getRequestDispatcher
(HttpRequestBase.java:745)
        at org.apache.catalina.connector.RequestFacade.getRequestDispatcher
(RequestFacade.java:242)
        at com.itg.db.web.HttpRequest.includePage(HttpRequest.java:100)
        at com.itg.db.web.HttpReportForm.createBean(HttpReportForm.java:680)
        at com.itg.db.request.BasicRequest.proccesRequest(BasicRequest.java:129)

        at com.itg.db.web.BasicServlet.generateResponse(BasicServlet.java:156)
        at com.lfi.contact.servlet.ContactServlet.generateResponse
(ContactServlet.java:55)
        at com.itg.db.web.BasicServlet.doGet(BasicServlet.java:130)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

... the runnable thread is

"HttpConnector[8180]" daemon prio=5 tid=0x0AFD7910 nid=0xf18 runnable [1680f000.
.1680fdb8]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:344)
        - locked <02F98A70> (a java.net.PlainSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:441)
        at java.net.ServerSocket.accept(ServerSocket.java:412)
        at org.apache.catalina.connector.http.HttpConnector.run(HttpConnector.ja
va:979)
        at java.lang.Thread.run(Thread.java:539)

"Thread-7" prio=5 tid=0x0AB9D008 nid=0xbe8 waiting on monitor [167cf000..167cfdb
8]
        at java.lang.Thread.sleep(Native Method)
        at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:
995)
        - locked <0377B898> (a org.apache.catalina.core.StandardWrapper)
        at org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java:11
93)
        at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java
:983)
        - locked <0375ECA8> (a java.util.HashMap)
        at org.apache.catalina.startup.ContextConfig.stop(ContextConfig.java:877
)
        - locked <03761210> (a org.apache.catalina.startup.ContextConfig)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:226)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:155)
        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1151)
        - locked <0375DE48> (a org.apache.catalina.core.StandardContext)
        at org.apache.catalina.core.StandardContext.stop
(StandardContext.java:3440)
        - locked <0375DE48> (a org.apache.catalina.core.StandardContext)
        at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java
:983)
        - locked <02F923B0> (a java.util.HashMap)
        at org.apache.catalina.core.StandardHost.remove(StandardHost.java:789)

--
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