[GLASSFISH-14719] cannot add instance to cluster after upgrade Created: 16/Nov/10  Updated: 19/Nov/10  Resolved: 19/Nov/10

Status: Resolved
Project: glassfish
Component/s: admin
Affects Version/s: 3.1
Fix Version/s: not determined

Type: Bug Priority: Critical
Reporter: Bobby Bissett Assignee: Jennifer Chou
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File diff.txt    
Issuezilla Id: 14,719
Tags: 3_1-upgrade

 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.



 Comments   
Comment by Bobby Bissett [ 16/Nov/10 ]

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

Comment by Jennifer Chou [ 19/Nov/10 ]

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.

Comment by Jennifer Chou [ 19/Nov/10 ]

Created an attachment (id=5550)
diffs

Generated at Sat Jan 21 15:19:08 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.