[arquillian-issues] [JBoss JIRA] (ARQ-753) ShrinkWrapClassLoader does not find service provider in WAR

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Thu Feb 16 08:46:38 EST 2012


     [ https://issues.jboss.org/browse/ARQ-753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aslak Knutsen moved SHRINKWRAP-369 to ARQ-753:
----------------------------------------------

              Project: Arquillian  (was: ShrinkWrap)
                  Key: ARQ-753  (was: SHRINKWRAP-369)
    Affects Version/s: weld_1.0.0.CR3
                           (was: 1.0.0-beta-3)
          Component/s: Weld Containers
                           (was: api)
             Security: Public

    
> ShrinkWrapClassLoader does not find service provider in WAR
> -----------------------------------------------------------
>
>                 Key: ARQ-753
>                 URL: https://issues.jboss.org/browse/ARQ-753
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Weld Containers
>    Affects Versions: weld_1.0.0.CR3
>            Reporter: Martin Kouba
>
> I ran into this issue when working with *Arquillian* and *Weld EE 1.1 Embedded container* (that uses ShrinkWrapClassLoader under the hood). ShrinkWrap correctly builds web archive with CDI extension (using org.jboss.shrinkwrap.api.container.ManifestContainer.addAsServiceProvider(Class<?>, Class<?>...); this was also discussed in SHRINKWRAP-266).
> Output:
> {code}
> test.war
> /WEB-INF/
> /WEB-INF/classes/
> /WEB-INF/classes/META-INF/
> /WEB-INF/classes/META-INF/services/
> /WEB-INF/classes/META-INF/services/javax.enterprise.inject.spi.Extension
> {code}
> However no extensions are found. *org.jboss.shrinkwrap.api.classloader.ShrinkWrapClassLoader* probably does not find any resource when looking for "META-INF/services/javax.enterprise.inject.spi.Extension".
> Note that I'm not quite sure whether it's ShrinkWrapClassLoader or WeldEEMockContainer issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list