ICEfaces
  1. ICEfaces
  2. ICE-3633

NoSuchMethodError on glassfish v2.1-b55

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.8DR#2, 1.8
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      glassfish-installer-v2.1-b55-darwin.jar

      Description

      java.lang.RuntimeException: java.lang.NoSuchMethodError: com.sun.enterprise.web.connector.grizzly.comet.CometContext.resumeCometHandler(Lcom/sun/enterprise/web/connector/grizzly/comet/CometHandler;)V
      at com.icesoft.faces.webapp.http.core.SendUpdatedViews.respondIfViewsAvailable(SendUpdatedViews.java:122)
      at com.icesoft.faces.webapp.http.core.SendUpdatedViews.access$100(SendUpdatedViews.java:19)
      at com.icesoft.faces.webapp.http.core.SendUpdatedViews$4.run(SendUpdatedViews.java:58)
      at com.icesoft.faces.webapp.http.core.ViewQueue.put(ViewQueue.java:17)
      at com.icesoft.faces.context.View$4.run(View.java:92)
      at com.icesoft.faces.context.View.broadcastTo(View.java:206)
      at com.icesoft.faces.context.View.put(View.java:181)
      at com.icesoft.faces.context.PushModeSerializer.serialize(PushModeSerializer.java:97)
      at com.icesoft.faces.context.DOMResponseWriter.endDocument(DOMResponseWriter.java:160)
      at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:552)
      at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:159)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:177)
      at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.executeAndRender(PersistentFacesState.java:264)
      at com.icesoft.faces.async.render.RunnableRender.run(RunnableRender.java:143)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
      at java.lang.Thread.run(Thread.java:613)
      Caused by: java.lang.NoSuchMethodError: com.sun.enterprise.web.connector.grizzly.comet.CometContext.resumeCometHandler(Lcom/sun/enterprise/web/connector/grizzly/comet/CometHandler;)V
      at com.icesoft.faces.webapp.http.servlet.GlassFishAdaptingServlet$GlassFishRequestResponse.respondWith(GlassFishAdaptingServlet.java:180)
      at com.icesoft.faces.webapp.http.core.SendUpdatedViews.respondIfViewsAvailable(SendUpdatedViews.java:105)
      ... 19 more

        Issue Links

          Activity

          Ted Goddard created issue -
          Ted Goddard made changes -
          Field Original Value New Value
          Assignee Jack Van Ooststroom [ jack.van.ooststroom ]
          Deryk Sinotte made changes -
          Fix Version/s 1.8DR#2 [ 10142 ]
          Assignee Priority P1
          Hide
          Ted Goddard added a comment -

          With b55:

          javap -classpath glassfish/lib/appserv-rt.jar com.sun.enterprise.web.connector.grizzly.comet.CometContext | fgrep resumeCometHandler
          public boolean resumeCometHandler(com.sun.enterprise.web.connector.grizzly.comet.CometHandler);
          protected boolean resumeCometHandler(com.sun.enterprise.web.connector.grizzly.comet.CometHandler, boolean);

          With b43:

          javap -classpath glassfish/lib/appserv-rt.jar com.sun.enterprise.web.connector.grizzly.comet.CometContext | fgrep resumeCometHandler
          public void resumeCometHandler(com.sun.enterprise.web.connector.grizzly.comet.CometHandler);
          protected void resumeCometHandler(com.sun.enterprise.web.connector.grizzly.comet.CometHandler, boolean);

          The difference is that these methods now return a boolean rather than void.

          Show
          Ted Goddard added a comment - With b55: javap -classpath glassfish/lib/appserv-rt.jar com.sun.enterprise.web.connector.grizzly.comet.CometContext | fgrep resumeCometHandler public boolean resumeCometHandler(com.sun.enterprise.web.connector.grizzly.comet.CometHandler); protected boolean resumeCometHandler(com.sun.enterprise.web.connector.grizzly.comet.CometHandler, boolean); With b43: javap -classpath glassfish/lib/appserv-rt.jar com.sun.enterprise.web.connector.grizzly.comet.CometContext | fgrep resumeCometHandler public void resumeCometHandler(com.sun.enterprise.web.connector.grizzly.comet.CometHandler); protected void resumeCometHandler(com.sun.enterprise.web.connector.grizzly.comet.CometHandler, boolean); The difference is that these methods now return a boolean rather than void.
          Hide
          Ted Goddard added a comment -

          This can likely be resolved by compiling against b55 .jar files, however that would not be backward compatible with v2.0.

          Show
          Ted Goddard added a comment - This can likely be resolved by compiling against b55 .jar files, however that would not be backward compatible with v2.0.
          Deryk Sinotte made changes -
          Link This issue depends on ICE-3263 [ ICE-3263 ]
          Jack Van Ooststroom made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          Jack Van Ooststroom added a comment -

          I tried new builds of GlassFish 2.1, namely b56 and b57, but without any luck so far.

          Show
          Jack Van Ooststroom added a comment - I tried new builds of GlassFish 2.1, namely b56 and b57, but without any luck so far.
          Hide
          Jack Van Ooststroom added a comment -

          I tried the new GlassFish V2.1 b58, but again with the same result.

          Show
          Jack Van Ooststroom added a comment - I tried the new GlassFish V2.1 b58, but again with the same result.
          Hide
          Jack Van Ooststroom added a comment -

          As of GlassFish V2.1-b59 this seems to be resolved. I additionally tried the latest GlassFish V2.1-b60 with success as well. Marking this one as FIXED.

          Show
          Jack Van Ooststroom added a comment - As of GlassFish V2.1-b59 this seems to be resolved. I additionally tried the latest GlassFish V2.1-b60 with success as well. Marking this one as FIXED.
          Jack Van Ooststroom made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Joanne Bai added a comment -

          QA successfully tested it on GlassFish V2.1-b60 + ICEfaces trunk subversion 17979

          Show
          Joanne Bai added a comment - QA successfully tested it on GlassFish V2.1-b60 + ICEfaces trunk subversion 17979
          Ken Fyten made changes -
          Link This issue blocks ICE-3682 [ ICE-3682 ]
          Ken Fyten made changes -
          Link This issue blocks ICE-3682 [ ICE-3682 ]
          Ken Fyten made changes -
          Fix Version/s 1.8 [ 10161 ]
          Assignee Priority P1
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Jack van Ooststroom [ jack.van.ooststroom ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Ted Goddard
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: