glassfish
  1. glassfish
  2. GLASSFISH-3748

Comet not worked properly on secure http listener

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 9.1pe
    • Fix Version/s: 9.1peur1_dev
    • Component/s: web_container
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Linux

    • Issuezilla Id:
      3,748
    • Status Whiteboard:
      Hide

      91ur1Approved

      Show
      91ur1Approved

      Description

      Comet handler method "onInterrupt" is not called when client connection is
      closed. This only appears when "secure" https listener is used. Not secure
      listeners worked fine.

        Activity

        Hide
        stenlee added a comment -

        I'm glad that i helped you.
        rgsd
        Sten

        Show
        stenlee added a comment - I'm glad that i helped you. rgsd Sten
        Hide
        jfarcand added a comment -

        Added missing test case:

        Checking in comet/CometContext.java;
        /cvs/glassfish/appserv-http-engine/src/java/com/sun/enterprise/web/connector/grizzly/comet/CometContext.java,v
        <-- CometContext.java
        new revision: 1.29.4.2; previous revision: 1.29.4.1
        done
        Checking in comet/CometEngine.java;
        /cvs/glassfish/appserv-http-engine/src/java/com/sun/enterprise/web/connector/grizzly/comet/CometEngine.java,v
        <-- CometEngine.java
        new revision: 1.24.4.2; previous revision: 1.24.4.1
        done
        Checking in comet/CometTask.java;
        /cvs/glassfish/appserv-http-engine/src/java/com/sun/enterprise/web/connector/grizzly/comet/CometTask.java,v
        <-- CometTask.java
        new revision: 1.14.4.2; previous revision: 1.14.4.1
        done

        Show
        jfarcand added a comment - Added missing test case: Checking in comet/CometContext.java; /cvs/glassfish/appserv-http-engine/src/java/com/sun/enterprise/web/connector/grizzly/comet/CometContext.java,v <-- CometContext.java new revision: 1.29.4.2; previous revision: 1.29.4.1 done Checking in comet/CometEngine.java; /cvs/glassfish/appserv-http-engine/src/java/com/sun/enterprise/web/connector/grizzly/comet/CometEngine.java,v <-- CometEngine.java new revision: 1.24.4.2; previous revision: 1.24.4.1 done Checking in comet/CometTask.java; /cvs/glassfish/appserv-http-engine/src/java/com/sun/enterprise/web/connector/grizzly/comet/CometTask.java,v <-- CometTask.java new revision: 1.14.4.2; previous revision: 1.14.4.1 done
        Hide
        jfarcand added a comment -

        This applies to secure and non secure. If the CometHandler is added then resumed
        inside the service method, make sure the connection is not suspended.

        Checking in comet/CometEngine.java;
        /cvs/glassfish/appserv-http-engine/src/java/com/sun/enterprise/web/connector/grizzly/comet/CometEngine.java,v
        <-- CometEngine.java
        new revision: 1.24.4.3; previous revision: 1.24.4.2
        done
        Checking in comet/CometSelector.java;
        /cvs/glassfish/appserv-http-engine/src/java/com/sun/enterprise/web/connector/grizzly/comet/CometSelector.java,v
        <-- CometSelector.java
        new revision: 1.19.4.1; previous revision: 1.19
        done

        Show
        jfarcand added a comment - This applies to secure and non secure. If the CometHandler is added then resumed inside the service method, make sure the connection is not suspended. Checking in comet/CometEngine.java; /cvs/glassfish/appserv-http-engine/src/java/com/sun/enterprise/web/connector/grizzly/comet/CometEngine.java,v <-- CometEngine.java new revision: 1.24.4.3; previous revision: 1.24.4.2 done Checking in comet/CometSelector.java; /cvs/glassfish/appserv-http-engine/src/java/com/sun/enterprise/web/connector/grizzly/comet/CometSelector.java,v <-- CometSelector.java new revision: 1.19.4.1; previous revision: 1.19 done
        Hide
        jfarcand added a comment -

        Next one...

        Show
        jfarcand added a comment - Next one...
        Hide
        stenlee added a comment -

        Hi Jean Francois
        i investigated other "issue" with comet handler. Lookup for session beans
        interfaces is not working for 100% from CometHandler. ClassNotFoundException is
        throwed, when interface is retyped. For both, local&remote. Comet Handler is
        using some "strange" class-loader. Sometimes is lookup successful, sometimes
        not(CNF is throwed).
        Did you know about this "strange" behaviour ?
        S.

        Show
        stenlee added a comment - Hi Jean Francois i investigated other "issue" with comet handler. Lookup for session beans interfaces is not working for 100% from CometHandler. ClassNotFoundException is throwed, when interface is retyped. For both, local&remote. Comet Handler is using some "strange" class-loader. Sometimes is lookup successful, sometimes not(CNF is throwed). Did you know about this "strange" behaviour ? S.

          People

          • Assignee:
            jfarcand
            Reporter:
            stenlee
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: