[jboss-jira] [JBoss JIRA] (AS7-6440) EmbeddedDeployableContainer should support multiple module paths

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Tue Feb 5 04:55:51 EST 2013


    [ https://issues.jboss.org/browse/AS7-6440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752262#comment-12752262 ] 

Galder Zamarreño commented on AS7-6440:
---------------------------------------

Once fixed this, there's more issues. Unless you give it a bundlesPath, it throws:

{code}java.lang.IllegalStateException: Invalid bundles directory: null/bundles
	at org.jboss.as.arquillian.container.embedded.EmbeddedDeployableContainer.setupBundlePath(EmbeddedDeployableContainer.java:114)
	at org.jboss.as.arquillian.container.embedded.EmbeddedDeployableContainer.setup(EmbeddedDeployableContainer.java:67)
	at org.jboss.as.arquillian.container.embedded.EmbeddedDeployableContainer.setup(EmbeddedDeployableContainer.java:40)
	at org.jboss.arquillian.container.impl.ContainerImpl.setup(ContainerImpl.java:180){code}
                
> EmbeddedDeployableContainer should support multiple module paths
> ----------------------------------------------------------------
>
>                 Key: AS7-6440
>                 URL: https://issues.jboss.org/browse/AS7-6440
>             Project: Application Server 7
>          Issue Type: Bug
>            Reporter: Galder Zamarreño
>
> 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:
> {code}/var/folders/vk/g4jts68n6nd37lgvynmtrwxh0000gn/T/test-module:./build/target/jboss-as/modules:./build/target/jboss-as/thirdparty-modules{code}
> It fails with:
> {code}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){code}
> The same path works without problems with the Managed Container.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list