[
https://issues.apache.org/jira/browse/TOMEE-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14000707#comment-14000707
]
Romain Manni-Bucau commented on TOMEE-1209:
-------------------------------------------
metadata-complete is propagated *intentionally* by openejb to web ejbmodule and
CDI. There are multiple resons for it:
* web ejbmodule/cdi can be implicit (if no ejb-jar.xml) -> if you put an
ejb-jar.xml with metadata-complete=false it should work BTW
* otherwise no way to disable scanning in wars
* this is a known behavior now (jira + list)
I didn't find something explicitely against it in the spec and we pass TCKs
this way so it is ok to keep it.
> Starting WAR with DeltaSpike fails -> UnsatisfiedResolutionException
> --------------------------------------------------------------------
>
> Key: TOMEE-1209
> URL: https://issues.apache.org/jira/browse/TOMEE-1209
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 1.6.0, 1.6.0.1, 1.6.0.2
> Reporter: Thomas Andraschko
> Attachments: my-webapp.7z
>
>
> Works fine with the same OWB version on Jetty.
> Exception:
> Caused by: javax.enterprise.inject.UnsatisfiedResolutionException: Api type
> [org.apache.deltaspike.jsf.spi.config.view.navigation.NavigationParameterStrategy]
> is not found with the qualifiers
> Qualifiers: [@javax.enterprise.inject.Default()]
> for injection into Field Injection Point, field name :
> navigationParameterStrategy, Bean Owner :
> [NavigationParameterListInterceptor, Name:null, WebBeans Type:INTERCEPTOR,
> API
> Types:[java.io.Serializable,org.apache.deltaspike.jsf.impl.config.view.navigation.NavigationParameterListInterceptor,java.lang.Object],
> Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]]
> at
> org.apache.webbeans.util.InjectionExceptionUtil.throwUnsatisfiedResolutionException(InjectionExceptionUtil.java:60)
> at
> org.apache.webbeans.container.InjectionResolver.checkInjectionPoint(InjectionResolver.java:195)
> at
> org.apache.webbeans.container.BeanManagerImpl.validate(BeanManagerImpl.java:954)
> at
> org.apache.webbeans.config.BeansDeployer.validate(BeansDeployer.java:491)
> at
> org.apache.webbeans.config.BeansDeployer.validateInjectionPoints(BeansDeployer.java:415)
> at
> org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:202)
> ... 22 more
--
This message was sent by Atlassian JIRA
(v6.2#6252)