glassfish
  1. glassfish
  2. GLASSFISH-1048

improve error message for context root in use situations

    Details

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

      Operating System: All
      Platform: All

    • 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.

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated: