ICEfaces
  1. ICEfaces
  2. ICE-3659

Deadlock on application exception and re-deploy

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.7.2, 1.8DR#1
    • Fix Version/s: 1.7.2 SP1, 1.8DR#2, 1.8
    • Component/s: None
    • Labels:
      None
    • Environment:
      server

      Description

      Application re-deployment locks up when server/application side exception occurred previously (on any page loaded with a GET request, such as the initial page load or a redirect).

        Issue Links

          Activity

          Hide
          Mircea Toma added a comment -

          Thread dump from Deryk:

          "Thread t@65027: (state = IN_NATIVE)

          • java.net.PlainSocketImpl.socketAccept(java.net.SocketImpl) @bci=0 (Interpreted frame)
          • java.net.PlainSocketImpl.accept(java.net.SocketImpl) @bci=7, line=384 (Interpreted frame)
          • java.net.ServerSocket.implAccept(java.net.Socket) @bci=50, line=450 (Interpreted frame)
          • java.net.ServerSocket.accept() @bci=48, line=421 (Interpreted frame)
          • org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(java.net.ServerSocket) @bci=1, line=61 (Interpreted frame)
          • org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run() @bci=47, line=310 (Interpreted frame)
          • java.lang.Thread.run() @bci=11, line=613 (Interpreted frame)

          Thread t@66819: (state = BLOCKED)

          • java.lang.Object.wait(long) @bci=0 (Interpreted frame)
          • java.lang.Object.wait() @bci=2, line=474 (Interpreted frame)
          • edu.emory.mathcs.backport.java.util.concurrent.locks.ReentrantLock$NonfairSync.lock() @bci=48, line=199 (Interpreted frame)
          • edu.emory.mathcs.backport.java.util.concurrent.locks.ReentrantLock.lock() @bci=4, line=481 (Interpreted frame)
          • com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.releaseLifecycleLock() @bci=4, line=382 (Interpreted frame)
          • com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.release() @bci=8, line=326 (Interpreted frame)
          • com.icesoft.faces.context.View.release() @bci=18, line=216 (Interpreted frame)
          • com.icesoft.faces.context.View$5.run() @bci=45, line=103 (Interpreted frame)
          • com.icesoft.faces.context.View.dispose() @bci=4, line=228 (Interpreted frame)
          • com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.run() @bci=129, line=148 (Interpreted frame)
          • com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.shutdown() @bci=4, line=164 (Interpreted frame)
          • com.icesoft.faces.webapp.http.servlet.SessionDispatcher.shutdown() @bci=35, line=63 (Interpreted frame)
          • com.icesoft.faces.webapp.http.servlet.SessionVerifier.shutdown() @bci=4, line=26 (Interpreted frame)
          • com.icesoft.faces.webapp.http.servlet.PathDispatcher.shutdown() @bci=30, line=40 (Interpreted frame)
          • com.icesoft.faces.webapp.http.servlet.MainServlet.destroy() @bci=18, line=102 (Interpreted frame)
          • org.apache.catalina.core.StandardWrapper.unload() @bci=159, line=1393 (Interpreted frame)
          • org.apache.catalina.core.StandardWrapper.stop() @bci=49, line=1738 (Interpreted frame)
          • org.apache.catalina.core.StandardContext.stop() @bci=130, line=4509 (Interpreted frame)
          • org.apache.catalina.core.ContainerBase.removeChild(org.apache.catalina.Container) @bci=85, line=924 (Interpreted frame)
          • org.apache.catalina.startup.HostConfig.checkResources(org.apache.catalina.startup.HostConfig$DeployedApplication) @bci=194, line=1006 (Interpreted frame)
          • org.apache.catalina.startup.HostConfig.check() @bci=60, line=1214 (Interpreted frame)
          • org.apache.catalina.startup.HostConfig.lifecycleEvent(org.apache.catalina.LifecycleEvent) @bci=13, line=293 (Interpreted frame)
          • org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(java.lang.String, java.lang.Object) @bci=37, line=117 (Compiled frame)
          • org.apache.catalina.core.ContainerBase.backgroundProcess() @bci=231, line=1337 (Compiled frame)
          • org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(org.apache.catalina.Container, java.lang.ClassLoader) @bci=27, line=1601 (Compiled frame)
          • org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(org.apache.catalina.Container, java.lang.ClassLoader) @bci=111, line=1610 (Compiled frame)
          • org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run() @bci=81, line=1590 (Interpreted frame)
          • java.lang.Thread.run() @bci=11, line=613 (Interpreted frame)"
          Show
          Mircea Toma added a comment - Thread dump from Deryk: "Thread t@65027: (state = IN_NATIVE) java.net.PlainSocketImpl.socketAccept(java.net.SocketImpl) @bci=0 (Interpreted frame) java.net.PlainSocketImpl.accept(java.net.SocketImpl) @bci=7, line=384 (Interpreted frame) java.net.ServerSocket.implAccept(java.net.Socket) @bci=50, line=450 (Interpreted frame) java.net.ServerSocket.accept() @bci=48, line=421 (Interpreted frame) org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(java.net.ServerSocket) @bci=1, line=61 (Interpreted frame) org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run() @bci=47, line=310 (Interpreted frame) java.lang.Thread.run() @bci=11, line=613 (Interpreted frame) Thread t@66819: (state = BLOCKED) java.lang.Object.wait(long) @bci=0 (Interpreted frame) java.lang.Object.wait() @bci=2, line=474 (Interpreted frame) edu.emory.mathcs.backport.java.util.concurrent.locks.ReentrantLock$NonfairSync.lock() @bci=48, line=199 (Interpreted frame) edu.emory.mathcs.backport.java.util.concurrent.locks.ReentrantLock.lock() @bci=4, line=481 (Interpreted frame) com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.releaseLifecycleLock() @bci=4, line=382 (Interpreted frame) com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.release() @bci=8, line=326 (Interpreted frame) com.icesoft.faces.context.View.release() @bci=18, line=216 (Interpreted frame) com.icesoft.faces.context.View$5.run() @bci=45, line=103 (Interpreted frame) com.icesoft.faces.context.View.dispose() @bci=4, line=228 (Interpreted frame) com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.run() @bci=129, line=148 (Interpreted frame) com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.shutdown() @bci=4, line=164 (Interpreted frame) com.icesoft.faces.webapp.http.servlet.SessionDispatcher.shutdown() @bci=35, line=63 (Interpreted frame) com.icesoft.faces.webapp.http.servlet.SessionVerifier.shutdown() @bci=4, line=26 (Interpreted frame) com.icesoft.faces.webapp.http.servlet.PathDispatcher.shutdown() @bci=30, line=40 (Interpreted frame) com.icesoft.faces.webapp.http.servlet.MainServlet.destroy() @bci=18, line=102 (Interpreted frame) org.apache.catalina.core.StandardWrapper.unload() @bci=159, line=1393 (Interpreted frame) org.apache.catalina.core.StandardWrapper.stop() @bci=49, line=1738 (Interpreted frame) org.apache.catalina.core.StandardContext.stop() @bci=130, line=4509 (Interpreted frame) org.apache.catalina.core.ContainerBase.removeChild(org.apache.catalina.Container) @bci=85, line=924 (Interpreted frame) org.apache.catalina.startup.HostConfig.checkResources(org.apache.catalina.startup.HostConfig$DeployedApplication) @bci=194, line=1006 (Interpreted frame) org.apache.catalina.startup.HostConfig.check() @bci=60, line=1214 (Interpreted frame) org.apache.catalina.startup.HostConfig.lifecycleEvent(org.apache.catalina.LifecycleEvent) @bci=13, line=293 (Interpreted frame) org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(java.lang.String, java.lang.Object) @bci=37, line=117 (Compiled frame) org.apache.catalina.core.ContainerBase.backgroundProcess() @bci=231, line=1337 (Compiled frame) org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(org.apache.catalina.Container, java.lang.ClassLoader) @bci=27, line=1601 (Compiled frame) org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(org.apache.catalina.Container, java.lang.ClassLoader) @bci=111, line=1610 (Compiled frame) org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run() @bci=81, line=1590 (Interpreted frame) java.lang.Thread.run() @bci=11, line=613 (Interpreted frame)"
          Hide
          Mircea Toma added a comment -

          Release View in try/finally block.

          Show
          Mircea Toma added a comment - Release View in try/finally block.
          Hide
          Ken Fyten added a comment -

          Fix committed to both trunk and icefaces-1.7 branch.

          Show
          Ken Fyten added a comment - Fix committed to both trunk and icefaces-1.7 branch.

            People

            • Assignee:
              Unassigned
              Reporter:
              Mircea Toma
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: