[GLASSFISH-1048] improve error message for context root in use situations Created: 30/Aug/06  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: deployment
Affects Version/s: 9.0peur1
Fix Version/s: not determined

Type: Improvement Priority: Major
Reporter: vince kraemer Assignee: Hong Zhang
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: File EnterpriseApplication6-war.war     File EnterpriseApplication6.ear    
Issuezilla Id: 1,048

 Description   

Build 5

this message could use more info...

CLI171 Command deploy failed : Trying to create reference for application in
target server failed; The context root [EnterpriseApplication6-war] in
application [EnterpriseApplication6-war] is already in use by another
application on this instance [server].

Steps to get this message:

1. deploy the attached ear file using 'asadmin deploy'
2. attempt to deploy the attached war file with 'asadmin deploy'.

Possible improvements:

1. Name of the application that currently is using the context root. The name
of should be the one that someone would use as an argument to 'asadmin undeploy'

2. A hint that doing asadmin undeploy then deploy would help, though that could
go into the error Messages reference/guide.

3. Put something into the server log when this happens. Currently, there is
nothing in the log, so a user cannot go to the Admin GUI logviewer and then look
up a detailed message about the error.



 Comments   
Comment by vince kraemer [ 30/Aug/06 ]

Created an attachment (id=407)
the ear

Comment by vince kraemer [ 30/Aug/06 ]

Created an attachment (id=408)
the war

Comment by Hong Zhang [ 08/Nov/07 ]

look in v3.

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

Generated at Sat Jul 04 07:25:58 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.