Issue Details (XML | Word | Printable)

Key: GLASSFISH-14719
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Jennifer Chou
Reporter: Bobby Bissett
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
glassfish

cannot add instance to cluster after upgrade

Created: 16/Nov/10 09:34 AM   Updated: 19/Nov/10 04:59 PM   Resolved: 19/Nov/10 04:59 PM
Component/s: admin
Affects Version/s: 3.1
Fix Version/s: not determined

Time Tracking:
Not Specified

File Attachments: 1. Text File diff.txt (2 kB) 19/Nov/10 04:59 PM - Jennifer Chou

Environment:

Operating System: All
Platform: All


Issuezilla Id: 14,719
Tags: 3_1-upgrade
Participants: Bobby Bissett and Jennifer Chou


 Description  « Hide

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.



Jennifer Chou added a comment - 19/Nov/10 04:59 PM

Created an attachment (id=5550)
diffs


Jennifer Chou added a comment - 19/Nov/10 04:58 PM

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.


Bobby Bissett added a comment - 16/Nov/10 09:41 AM

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