Uploaded image for project: 'WildFly Maven Plugin'
  1. WildFly Maven Plugin
  2. WFMP-306

Bootable JAR packaging and CLI script execution broken with preview/experimental features

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 5.1.4.Final
    • None
    • Maven Plugin
    • None

      The embedded server used to generate the logging configuration doesn't set a stability level to https://github.com/wildfly/wildfly-plugin-tools/blob/main/src/main/java/org/wildfly/plugin/tools/cli/CLIWrapper.java#L216

      This does work when the started server contains only features at community level.

      But when a provisioned server contains features at a lower stability level (eg: grpc feature-pack contains preview subsystem), the server fails to start.

      A stability level parameter should be provided when calling the BootableJarSupport: https://github.com/wildfly/wildfly-maven-plugin/blob/main/plugin/src/main/java/org/wildfly/plugin/provision/PackageServerMojo.java#L574

      experimental should be provided to allow to load a server containing features at all stability levels.

       

      In addition to bootable JAR, CLI script that uses embedded server are also broken.

       

              jdenise@redhat.com Jean Francois Denise
              jdenise@redhat.com Jean Francois Denise
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: