Details

      Description

      IIOP Loadbalancing not happening with certain apps

      The Initial context is created as follows

      public void createContextForACC()
      {
      try

      { InitialContext initial = new InitialContext(); myEnv = (InitialContext)initial.lookup("java:comp/env/ejb"); }

      catch(NamingException ne)

      { System.err.println("Caught an unexpected exception!"); ne.printStackTrace(); }

      }

      All new ic creations are going to same instance

      1. patch.tgz
        2.84 MB
        Ken Cavanaugh

        Activity

        Hide
        Ken Cavanaugh added a comment -

        At this point, for tracking purposes, 15637 is for the scenario I outlined above:

        0. Start with com.sun.appserv.iiop.endpoints referring to two elements, the one to start in step 2
        and another in the cluster.
        1. Stop the cluster.
        2. Start 1 instance (inst) in the cluster.
        3. LB to one instance
        4. Start cluster
        5. Kill inst
        6. LB test (which should show LB across running instances)

        It's TOO LATE to change the test scenario for 15637, especially since you did not include a sufficient
        description initially. I have clearly identified some defects here that need to be fixed,
        so please file a NEW issue for the scenarios you have identified above. Please also indicate in any
        new issues whether or not stateful vs. stateless EJBs make any difference. This does not matter
        to the ORB at all, but some of your tests seem to indicate failures on the SFSB side only.
        If this matters, I'll also need to add SFSB support to the dev tests.

        Show
        Ken Cavanaugh added a comment - At this point, for tracking purposes, 15637 is for the scenario I outlined above: 0. Start with com.sun.appserv.iiop.endpoints referring to two elements, the one to start in step 2 and another in the cluster. 1. Stop the cluster. 2. Start 1 instance (inst) in the cluster. 3. LB to one instance 4. Start cluster 5. Kill inst 6. LB test (which should show LB across running instances) It's TOO LATE to change the test scenario for 15637, especially since you did not include a sufficient description initially. I have clearly identified some defects here that need to be fixed, so please file a NEW issue for the scenarios you have identified above. Please also indicate in any new issues whether or not stateful vs. stateless EJBs make any difference. This does not matter to the ORB at all, but some of your tests seem to indicate failures on the SFSB side only. If this matters, I'll also need to add SFSB support to the dev tests.
        Hide
        gopaljorapur added a comment -

        I have opened an issue 15768 for the Loadbalancing issue mentioned in my earlier comment

        Show
        gopaljorapur added a comment - I have opened an issue 15768 for the Loadbalancing issue mentioned in my earlier comment
        Hide
        Ken Cavanaugh added a comment -

        Fixed in GF rev 44807.
        This includes integration of ORB version 3.1.0-b025.

        Show
        Ken Cavanaugh added a comment - Fixed in GF rev 44807. This includes integration of ORB version 3.1.0-b025.
        Hide
        gopaljorapur added a comment -

        With old styled apps, this issue is not fixed

        Show
        gopaljorapur added a comment - With old styled apps, this issue is not fixed
        Hide
        Ken Cavanaugh added a comment -

        I was certain I fixed this, but I'll test it again, and target it for
        3.2.

        Show
        Ken Cavanaugh added a comment - I was certain I fixed this, but I'll test it again, and target it for 3.2.

          People

          • Assignee:
            Harshad Vilekar
            Reporter:
            gopaljorapur
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Due:
              Created:
              Updated: