Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-781

openshift container - improve deployment url detection

XMLWordPrintable

      Consider the following configuration:

      WEB-INF/jboss-web.xml
      <?xml version="1.0" encoding="UTF-8"?>
      
      <jboss-web>
          <context-root>/</context-root>
      </jboss-web>
      
      SimpleTest.java
      class SimpleTest {
          ...
          @ArquillianResource
          private URL deployedURL;
          ...
      }
      

      The context-root is not detected and injected url can't be used in tests.

      The detection should be fixed in ServletUtils.

      The example of a project with this type of configuration is Richfaces Showcase (showcase.war).

              kpiwko Karel Piwko
              jpapouse Jan Papousek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: