Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-1466

fail fast when unable to create default deployment

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2017.7.0
    • Fix Version/s: 2017.8.1
    • Component/s: core
    • Labels:
      None

      Description

      Once again, I found myself in a situation when I attempt to create a WAR deployment (Maven <packaging>war</packaging>) but don't have neither undertow nor jaxrs fraction. When Swarm creates the default deployment, it doesn't find the DefaultDeploymentFactory (because that's brought in by those fractions), so it instead creates and deploys an empty JAR. I already described this behavior in SWARM-1170.

      I strongly believe that this is wrong. The deployment process should end with an error; at least for the war case (which is the most common), it should also provide a hint that either undertow or jaxrs should be added.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lthon Ladislav Thon
                Reporter:
                lthon Ladislav Thon
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: