Issue Details (XML | Word | Printable)

Key: GLASSFISH-13979
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Hong Zhang
Reporter: easarina
Votes: 0
Watchers: 0

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

Create more appropriate error messages, when an app entries were left in domain.xml and next deployment failed.

Created: 13/Oct/10 07:04 PM   Updated: 02/Nov/10 12:11 PM   Resolved: 02/Nov/10 12:11 PM
Component/s: deployment
Affects Version/s: 3.1
Fix Version/s: 3.1_b27

Time Tracking:
Not Specified


Operating System: All
Platform: All

Issuezilla Id: 13,979
Participants: easarina and Hong Zhang

 Description  « Hide

Build 24 10/13.

Executed such sequence of the steps:

1) Deploy an app to the cluster.
2) stop and remove instances that belong to this cluster, remove a cluster.
3) restart DAS
4) Create a new cluster with an instance.
5) Try to deploy the same app to the new cluster.

This deployment failed with such messages:
./asadmin deploy --target c10 webapps-caching.war
remote failure: Error occurred during deployment: Keys cannot be duplicate. Old
value of this key property, nullwill be retained. Please see server.log for
more details.

Command deploy failed.


Please create more appropriate error messages.

Hong Zhang added a comment - 14/Oct/10 07:03 AM

yes, we should handle this error situation more gracefully.

Hong Zhang added a comment - 02/Nov/10 12:11 PM

Made the changes to have similar behavior as v2 for this error case: if the
application is already deployed in the domain and another deployment is
attempted, that deployment is failed with error message asking user to use the
create-application-ref command instead.