Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-12877

Use descriptive error message for duplicate host/context deployments

      If a user attempts to deploy a web application to a host/context to which another application is deployed, this will fail for obvious reasons.
      What isn't obvious is the error message. Currently, users will see a DuplicateServiceException. Ideally, the error message should indicate that another application is deployed for the same host and context path.

            [WFLY-12877] Use descriptive error message for duplicate host/context deployments

            kathermanova No need to apologize; thanks for looking into it!

            Brian Stansberry added a comment - kathermanova No need to apologize; thanks for looking into it!

            bstansbe@redhat.com moving it back to WFLY. Thanks and sorry for messing up.

            Katarína Hermanová added a comment - bstansbe@redhat.com moving it back to WFLY. Thanks and sorry for messing up.

            kathermanova I believe this belongs back in WFLY with the Web (Undertow) component restored and Server removed. The 'host' and 'context' concepts are specific to that subsystem and any logic to detect duplicates would belong there.

            Brian Stansberry added a comment - kathermanova I believe this belongs back in WFLY with the Web (Undertow) component restored and Server removed. The 'host' and 'context' concepts are specific to that subsystem and any logic to detect duplicates would belong there.

              kathermanova Katarína Hermanová
              pferraro@redhat.com Paul Ferraro
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: