glassfish
  1. glassfish
  2. GLASSFISH-14719

cannot add instance to cluster after upgrade

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: not determined
    • Component/s: admin
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      Cluster upgrade instructions are here (though there is a dev test as well):
      http://wikis.sun.com/display/GlassFish/V3.1ClusterUpgradeExample

      After recreating the original instances, if you try to create a new instance for
      the cluster this error occurs:

      org.glassfish.api.admin.CommandException: remote failure: Exception while adding
      the new configuration A ResourceRef with the same key "jdbc/__CallFlowPool"
      already exists in Server null : org.jvnet.hk2.config.TransactionFailure: A
      ResourceRef with the same key "jdbc/__CallFlowPool" already exists in Server null
      A ResourceRef with the same key "jdbc/__CallFlowPool" already exists in Server null

      After I submit this and have the issue number, I'll commit a test for it in the
      admin dev test framework.

      1. diff.txt
        2 kB
        Jennifer Chou

        Activity

        Hide
        Bobby Bissett added a comment -

        I just committed the test case. To run the cluster upgrade tests, run with:

        ant -Dteststorun=cluster-upgrade clean all

        The test is called: create-new-instance-issue-14719

        Show
        Bobby Bissett added a comment - I just committed the test case. To run the cluster upgrade tests, run with: ant -Dteststorun=cluster-upgrade clean all The test is called: create-new-instance-issue-14719
        Hide
        Jennifer Chou added a comment -

        Sending
        C:/fishfry/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Server.java
        Transmitting file data ...
        Committed revision 43002.
        Revision: 43002
        Author : jc129909
        Date : Nov 19, 2010 7:56:10 PM
        Issue 14719 cannot add instance to cluster after upgrade

        • Check if cluster application-ref or resource-ref exists already on the server
          element before adding to the server element

        cluster-upgrade devtest including create-new-instance-issue-14719 runs successfully.

        Show
        Jennifer Chou added a comment - Sending C:/fishfry/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Server.java Transmitting file data ... Committed revision 43002. Revision: 43002 Author : jc129909 Date : Nov 19, 2010 7:56:10 PM Issue 14719 cannot add instance to cluster after upgrade Check if cluster application-ref or resource-ref exists already on the server element before adding to the server element cluster-upgrade devtest including create-new-instance-issue-14719 runs successfully.
        Hide
        Jennifer Chou added a comment -

        Created an attachment (id=5550)
        diffs

        Show
        Jennifer Chou added a comment - Created an attachment (id=5550) diffs

          People

          • Assignee:
            Jennifer Chou
            Reporter:
            Bobby Bissett
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: