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

jboss-web defined context-root is ignored for health check resources

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.0.CR2
    • Fix Version/s: 2016.9
    • Component/s: core
    • Labels:
      None

      Description

      The Arquillian container is ignoring the jboss-web defined context-root. e.g.

      JAXRSArchive deployment = ShrinkWrap.create(JAXRSArchive.class, "myapp.war");
              deployment.addClass(HealthCheckResource.class);
              deployment.addClass(CustomJsonProvider.class);
              deployment.addAllDependencies();
              deployment.setContextRoot("myapp");
              return deployment;
      

      Creates a WAR with a jboss-web.xml that sets the context root to myapp. This can be confirmed by exporting the uber-jar using -Dswarm.export.uberjar=true

      This appears to be ignored when using the Arquillian container, as per below

      2016-06-21 11:40:15,830 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 5) WFLYUT0021: Registered web context: /
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  heiko.braun Heiko Braun
                  Reporter:
                  ma6rl Richard Lucas
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: