Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0-Beta
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Tomcat 7.0.4
      Java 1.6 (x64)
      Eclipse 3.6
      Working from SVN trunk

      Description

      I'm working on integrating Wicket with ICEpush, and have based my work off of the integration guide. The first time I deployed the application, I saw in the logs that while ICEpush caught on that there was asynch support, it wasn't properly enabled, and would fall back to the blocking thread. Here's a log snippet:2010-11-20 18:42:20 [http-8080-exec-2] DEBUG [org.icepush.PushContext] Created new pushId '1ggr0hh8m:3l8o'.

      2010-11-20 18:42:20 [http-8080-exec-2] DEBUG [org.icepush.LocalPushGroupManager] 'panel' push group created.
      2010-11-20 18:42:20 [http-8080-exec-2] DEBUG [org.icepush.LocalPushGroupManager] Added pushId '1ggr0hh8m:3l8o' to group 'panel'.
      2010-11-20 18:42:23 [http-8080-exec-6] INFO [org.icepush.servlet.EnvironmentAdaptingServlet] Adapting to Servlet 3.0 AsyncContext environment
      2010-11-20 18:42:23 [http-8080-exec-6] INFO [org.icepush.servlet.AsyncAdaptingServlet] Using Servlet 3.0 AsyncContext
      2010-11-20 18:42:23 [http-8080-exec-6] DEBUG [org.icepush.servlet.BrowserDispatcher] New browser detected, assigning ID '1ggr0hh8m'.
      2010-11-20 18:42:23 [http-8080-exec-6] INFO [org.icepush.servlet.EnvironmentAdaptingServlet] Falling back to Thread Blocking environment
      2010-11-20 18:42:23 [http-8080-exec-6] DEBUG [org.icepush.BlockingConnectionServer] Participating pushIds: [1ggr0hh8m:3l8o].
      2010-11-20 18:43:14 [Timer-1] DEBUG [org.icepush.BlockingConnectionServer] Sending NoOp.
      2010-11-20 18:43:14 [http-8080-exec-7] DEBUG [org.icepush.BlockingConnectionServer] Participating pushIds: [1ggr0hh8m:3l8o].

      Everything worked properly - I clicked my Wicket button, and data was pushed down to the browser.


      At this point, I decided to turn on async support, so I went looking in my web.xml and put in the necessary <async-supported>true</async-supported> block in the Wicket filter. The next time I loaded my page, I ran into some serious issues. For some reason, the connection was being terminated by the server side. Here is the log:

      2010-11-20 18:40:30 [http-8080-exec-2] DEBUG [org.icepush.PushContext] Created new pushId '1ggr0hh8m:35lf'.
      2010-11-20 18:40:30 [http-8080-exec-2] DEBUG [org.icepush.LocalPushGroupManager] 'panel' push group created.
      2010-11-20 18:40:30 [http-8080-exec-2] DEBUG [org.icepush.LocalPushGroupManager] Added pushId '1ggr0hh8m:35lf' to group 'panel'.
      2010-11-20 18:40:32 [http-8080-exec-8] INFO [org.icepush.servlet.EnvironmentAdaptingServlet] Adapting to Servlet 3.0 AsyncContext environment
      2010-11-20 18:40:32 [http-8080-exec-8] INFO [org.icepush.servlet.AsyncAdaptingServlet] Using Servlet 3.0 AsyncContext
      2010-11-20 18:40:32 [http-8080-exec-8] DEBUG [org.icepush.servlet.BrowserDispatcher] New browser detected, assigning ID '1ggr0hh8m'.
      2010-11-20 18:40:32 [http-8080-exec-8] DEBUG [org.icepush.servlet.AsyncAdaptingServlet] Async support enabled - processing.
      2010-11-20 18:40:32 [http-8080-exec-8] DEBUG [org.icepush.BlockingConnectionServer] Participating pushIds: [1ggr0hh8m:35lf].
      2010-11-20 18:40:43 [http-8080-exec-7] DEBUG [org.icepush.servlet.AsyncAdaptingServlet] Async support enabled - processing.
      2010-11-20 18:40:43 [http-8080-exec-7] DEBUG [org.icepush.BlockingConnectionServer] Close current blocking connection.
      2010-11-20 18:40:43 [http-8080-exec-7] DEBUG [org.icepush.BlockingConnectionServer] Participating pushIds: [1ggr0hh8m:35lf].

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Laccetti
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: