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

Krystian Panek edited comment on CXF-6221 at 3/12/15 9:36 PM:
--------------------------------------------------------------

I cannot deploy it correctly. Could you pack your working sample to ZIP and 
share with me? :>
{code}
2015-03-12 22:35:25,171 | ERROR | FelixStartLevel  | WebAppPublisher            
      | 62 - org.ops4j.pax.web.pax-web-e
xtender-war - 3.1.4 | Error deploying web application                           
                                        
org.ops4j.lang.Ops4jException: org.jboss.weld.exceptions.DeploymentException: 
WELD-001408: Unsatisfied dependencies for 
type Bus with qualifiers @Default                                               
                                        
  at injection point [BackedAnnotatedParameter] Parameter 1 of 
[BackedAnnotatedMethod] @Inject public org.apache.cxf.cdi
.CXFCdiServlet.setBus(Bus)                                                      
                                        
  at org.apache.cxf.cdi.CXFCdiServlet.setBus(CXFCdiServlet.java:0)              
                                        
                                                                                
                                        
       at 
org.ops4j.pax.cdi.weld.impl.WeldCdiContainer.doStart(WeldCdiContainer.java:99)  
                              
       at 
org.ops4j.pax.cdi.spi.AbstractCdiContainer.start(AbstractCdiContainer.java:89)  
                              
       at 
org.ops4j.pax.cdi.web.weld.impl.WeldServletContextListener.contextInitialized(WeldServletContextListener.java:
53)                                                                             
                                        
       at 
org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$3.call(HttpServiceContext.java:293)
 
{code}


was (Author: ciapunek):
I cannot deploy it correctly. Could you pack your working sample to ZIP and 
share with me? :>

> CDI integration extension does not detect annotations on Karaf
> --------------------------------------------------------------
>
>                 Key: CXF-6221
>                 URL: https://issues.apache.org/jira/browse/CXF-6221
>             Project: CXF
>          Issue Type: Bug
>          Components: Integration, JAX-RS
>            Reporter: Krystian Panek
>            Assignee: Andriy Redko
>              Labels: cdi, extension, integration, karaf
>         Attachments: hydra.tar.gz, screenshot-1.png
>
>
> I am trying to use portable extension to get working CDI 1.2 and CXF 3.0.2 on 
> Apache Karaf. I wrapped it into OSGi bundle. I installed to my container also:
> * weld 2.1.1
> * pax-cdi-1.2
> * pax-cdi-1.2-web
> * pax-cdi-web-weld
> My JAXRS resources are not found by extension because some line from class 
> **JAXRSCdiResourceExtension** returns false even annotated element contains 
> proper annotation but as a proxy (see attachment image / screenshot from 
> debugger).
> {code}
>         if (event.getAnnotated().isAnnotationPresent(ApplicationPath.class)) {
> {code}
> It would be nice,  to tell me how to get it working. I also tested CDI-1.1. 
> Same situation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to