Hi,

didnt get you were working on pax :)

well rename in web-inf/lib jar named pax* to foo-xxx.jar and it works :)

we excluded pax-* jar from scanning since we have some module using it but
with no mandatory scan

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*




2012/10/11 Harald Wellmann <hwellmann...@gmail.com>

> The sample webapp is here:
>
> http://search.maven.org/**remotecontent?filepath=org/**
> ops4j/pax/exam/samples/pax-**exam-sample1-web/3.0.0.M4/pax-**
> exam-sample1-web-3.0.0.M4.war<http://search.maven.org/remotecontent?filepath=org/ops4j/pax/exam/samples/pax-exam-sample1-web/3.0.0.M4/pax-exam-sample1-web-3.0.0.M4.war>
>
> Sources:
>
> https://github.com/ops4j/org.**ops4j.pax.exam2/tree/exam3-**
> milestones/samples<https://github.com/ops4j/org.ops4j.pax.exam2/tree/exam3-milestones/samples>
>
> When you copy the Maven WAR to TomEE/webapps, the injection problem is at
> first hidden by an exception caused by an empty faces-config.xml (but this
> should be legal according to the JSF spec.)
>
> After adding some valid XML to the file, deployment fails with this
> exception:
>
> SEVERE: CDI Beans module deployment failed
> javax.enterprise.inject.**UnsatisfiedResolutionException**: Api type
> [org.ops4j.pax.exam.sample1.**service.LibraryService] is not found with
> the qualifiers
> Qualifiers: [@javax.enterprise.inject.**Default()]
> for injection into Field Injection Point, field name :  libraryService,
> Bean Owner : [LibraryBean, Name:library, WebBeans Type:MANAGED, API
> Types:[java.lang.Object,org.**ops4j.pax.exam.sample1.web.**LibraryBean],
> Qualifiers:[javax.enterprise.**inject.Any,javax.enterprise.**
> inject.Default,javax.inject.**Named]]
>         at org.apache.webbeans.util.**InjectionExceptionUtils.**
> throwUnsatisfiedResolutionExce**ption(InjectionExceptionUtils.**java:77)
>
> Best regards,
> Harald
>
>
> Am 11.10.2012 11:39, schrieb Romain Manni-Bucau:
>
>  Hi,
>>
>> This should work, maybe share your app if you can to let us reproduce it.
>>
>> - Romain
>> Le 11 oct. 2012 11:37, "Harald Wellmann" <hwellmann...@gmail.com> a
>> écrit :
>>
>>  Yes, there is.
>>>
>>> 2012/10/10 Romain Manni-Bucau <rmannibu...@gmail.com>:
>>>
>>>> Hi,
>>>>
>>>> is there a beans.xml in WEB-INF?
>>>>
>>>>
>>>
>>
>

Reply via email to