1. glassfish
  2. GLASSFISH-1048

improve error message for context root in use situations


    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 9.0peur1
    • Fix Version/s: not determined
    • Component/s: deployment
    • Labels:
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:


      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.


        vince kraemer created issue -
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 1048 32652
        Tom Mueller made changes -
        Fix Version/s not determined [ 11149 ]
        Fix Version/s V3 [ 10981 ]


          • Assignee:
            Hong Zhang
            vince kraemer
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: