Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-6843

Log a WARN if a deployment's runtime name doesn't have an extension


    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Management
    • None

      When Stage.RUNTIME handling of a deployment first starts, check if the deployment's runtime name has an extension element (i.e. has a '.' char), and if it doesn't log a WARN advising deployment will likely fail.

      Use a distinct logger so people can turn this off, since in theory a WF-stack server could have an subsystem that deals with such a deployment.

      This is a recurring pain point for users, e.g. https://groups.google.com/g/wildfly/c/fIXTTdgoglA/m/dPiJGbIsBgAJ

      Maybe instead case-insensitive check for ending with '.war', '.jar', '.ear', '.rar', '.sar', '.xml', '.whateverihaveforgotten'. But for some reason I'm a bit reluctant even though the set of artifact type we support probably is unchanged in since AS 7.0.0.Alpha1.

            Unassigned Unassigned
            bstansbe@redhat.com Brian Stansberry
            0 Vote for this issue
            2 Start watching this issue