You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Rudy De Busscher (Commented) (JIRA)" <ji...@apache.org> on 2012/02/24 11:57:48 UTC

[jira] [Commented] (DELTASPIKE-94) beans.xml in arquillian deployment artifacts for integration testing needs to be in WEB-INF to support WebLogic 12c

    [ https://issues.apache.org/jira/browse/DELTASPIKE-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215552#comment-13215552 ] 

Rudy De Busscher commented on DELTASPIKE-94:
--------------------------------------------

When changes are made in BeanManagerProviderTest, There is an exception during deployment

org.jboss.weld.exceptions.DeploymentException: WELD-001414 Bean name is ambiguous. Name extraNameBean resolves to beans [Managed Bean [class org.apache.deltaspike.test.core.api.provider.TestBean] with qualifiers [@Any @Default @Named], Managed Bean [class org.apache.deltaspike.test.core.api.provider.TestBean] with qualifiers [@Any @Default @Named]]"}}

I need to investigate further
                
> beans.xml in arquillian deployment artifacts for integration testing needs to be in WEB-INF to support WebLogic 12c
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-94
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-94
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: 0.1-incubating
>            Reporter: Rudy De Busscher
>            Assignee: Rudy De Busscher
>
> When the arquilian test artifact is deployed on WebLogic 12c, it isn't recognized as needing CDI when there is no beans.xml in the WEB-INF.
> Therefor the command
> .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml")
> must be replaced by
> .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml");
> See also http://markmail.org/message/u3hdpzackhn74ivi 

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