ICEfaces
  1. ICEfaces
  2. ICE-2239

Internal error popup message on AuctionMonitor when open two or more browsers in Jboss

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7DR#1
    • Fix Version/s: 1.7DR#2, 1.7
    • Component/s: None
    • Labels:
      None
    • Environment:
      Jboss 4.2.1 GA, Tomcat 6.0.14

      Description

      run the auctionMonitor in Jboss 4.2.1 GA server and open 2 or more browsers, FF, IE, Safari or opera, at the same machine and communicate with each other. while switching windows from one to another, the inactive windows frequently pops up internal error message and request a reload. After reloading, the application can still work but the problem repeatedly happens along the communication.

      The following is the exceptions captured from jboss log.

      2007-10-18 15:30:33,365 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/auctionMonitor].[Blocking Servlet]] Servlet.service() for servlet Blocking Servlet threw exception

      java.util.ConcurrentModificationException

                  at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)

                  at java.util.HashMap$ValueIterator.next(HashMap.java:871)

                  at com.icesoft.faces.webapp.http.core.DisposeBeans.in(DisposeBeans.java:33)

                  at com.icesoft.faces.context.BridgeExternalContext.dispose(BridgeExternalContext.java:207)

                  at com.icesoft.faces.context.View$2.run(View.java:59)

                  at com.icesoft.faces.context.View.dispose(View.java:211)

                  at com.icesoft.faces.webapp.http.core.DisposeViews.service(DisposeViews.java:32)

                  at com.icesoft.faces.webapp.http.core.IDVerifier.service(IDVerifier.java:25)

                  at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)

                  at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)

                  at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)

                  at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29)

                  at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:117)

                  at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35)

                  at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)

                  at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)

                  at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:76)

                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)

                  at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)

                  at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)

                  at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)

                  at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:54)

                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

                  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

                  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)

                  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

                  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

                  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

                  at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

                  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

                  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)

                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)

                  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

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

        Issue Links

          Activity

          Hide
          Mircea Toma added a comment -

          Iterate using a copy of the collection.

          Show
          Mircea Toma added a comment - Iterate using a copy of the collection.
          Hide
          Ken Fyten added a comment -

          Testing indicates the problem has not been resolved by the last change.

          Another exception seen more frequently when user have 2 or more windows open.

          17:22:52,103 ERROR [[/auctionMonitor]] Exception sending request destroyed lifec
          ycle event to listener instance of class com.sun.faces.application.WebappLifecyc
          leListener
          java.util.ConcurrentModificationException
          at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
          at java.util.HashMap$KeyIterator.next(HashMap.java:877)
          at org.apache.catalina.util.Enumerator.<init>(Enumerator.java:101)
          at org.apache.catalina.util.Enumerator.<init>(Enumerator.java:67)
          at org.apache.catalina.connector.Request.getAttributeNames(Request.java:
          929)
          at org.apache.catalina.connector.RequestFacade.getAttributeNames(Request
          Facade.java:278)
          at com.sun.faces.application.WebappLifecycleListener.requestDestroyed(We
          bappLifecycleListener.java:76)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
          alve.java:188)
          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
          yAssociationValve.java:179)
          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
          e.java:84)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
          ava:128)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
          ava:104)
          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC
          onnectionValve.java:157)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
          ve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
          a:241)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
          :844)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
          ss(Http11Protocol.java:580)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
          7)
          at java.lang.Thread.run(Thread.java:595)
          17:22:52,150 INFO [ClockBean] Disposing ClockBean for a user - cleaning up

          Show
          Ken Fyten added a comment - Testing indicates the problem has not been resolved by the last change. Another exception seen more frequently when user have 2 or more windows open. 17:22:52,103 ERROR [ [/auctionMonitor] ] Exception sending request destroyed lifec ycle event to listener instance of class com.sun.faces.application.WebappLifecyc leListener java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841) at java.util.HashMap$KeyIterator.next(HashMap.java:877) at org.apache.catalina.util.Enumerator.<init>(Enumerator.java:101) at org.apache.catalina.util.Enumerator.<init>(Enumerator.java:67) at org.apache.catalina.connector.Request.getAttributeNames(Request.java: 929) at org.apache.catalina.connector.RequestFacade.getAttributeNames(Request Facade.java:278) at com.sun.faces.application.WebappLifecycleListener.requestDestroyed(We bappLifecycleListener.java:76) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:188) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit yAssociationValve.java:179) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv e.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:104) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC onnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:241) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:580) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Thread.java:595) 17:22:52,150 INFO [ClockBean] Disposing ClockBean for a user - cleaning up
          Hide
          Mandeep Hayher added a comment -

          Second exception seen on Tomcat 6.0.14 as well.

          Show
          Mandeep Hayher added a comment - Second exception seen on Tomcat 6.0.14 as well.
          Hide
          Ken Fyten added a comment -

          New issue created for the second exception that doesn't seem to be ICEfaces generated directly: http://jira.icefaces.org/browse/ICE-2244

          Show
          Ken Fyten added a comment - New issue created for the second exception that doesn't seem to be ICEfaces generated directly: http://jira.icefaces.org/browse/ICE-2244
          Hide
          Ken Fyten added a comment -

          Marking the original exception resolved.

          Show
          Ken Fyten added a comment - Marking the original exception resolved.

            People

            • Assignee:
              Unassigned
              Reporter:
              Jim Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: