glassfish
  1. glassfish
  2. GLASSFISH-20893

Unhelpful deployment error message when global application resource name is already taken

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0
    • Fix Version/s: None
    • Component/s: deployment
    • Labels:
      None

      Description

      When deploying an application that declares a resource in java:global namespace (e. g. @JMSDestinationDefinition) and the JNDI name is already allocated, the deployment fails with unhelpful error message:

      Exception while deploying the app [x] : Application validation fails for given application [x] for jndi-name []
      

      ApplicationValidator.compareDescriptors():616 does not indicate the actual issue with the jndi name to caller, neither it sets invalidJndiName.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated: