Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-6440

EmbeddedDeployableContainer should support multiple module paths

    XMLWordPrintable

Details

    Description

      AS7 Arquillian EmbeddedDeployableContainer is making the wrong assumptions about the module path. The module path can be made out of several paths separated with a ':'. The following module path fails to start with Embedded container:

      /var/folders/vk/g4jts68n6nd37lgvynmtrwxh0000gn/T/test-module:./build/target/jboss-as/modules:./build/target/jboss-as/thirdparty-modules

      It fails with:

      java.lang.IllegalStateException: Invalid modules directory: /var/folders/vk/g4jts68n6nd37lgvynmtrwxh0000gn/T/test-module:./build/target/jboss-as/modules:./build/target/jboss-as/thirdparty-modules
        at org.jboss.as.arquillian.container.embedded.EmbeddedDeployableContainer.setupModuleLoader(EmbeddedDeployableContainer.java:89)
      	at org.jboss.as.arquillian.container.embedded.EmbeddedDeployableContainer.setup(EmbeddedDeployableContainer.java:65)
      	at org.jboss.as.arquillian.container.embedded.EmbeddedDeployableContainer.setup(EmbeddedDeployableContainer.java:40)
      	at org.jboss.arquillian.container.impl.ContainerImpl.setup(ContainerImpl.java:180)

      The same path works without problems with the Managed Container.

      Attachments

        Issue Links

          Activity

            People

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: