Hello Romain

It works if I define the providers in the openejjb-jar.xml like this :

<pojo-deployment class-name="jaxrs-application">
        <properties>                        
            cxf.jaxrs.skip-provider-scanning = true
        </properties>
     </pojo-deployment>

<pojo-deployment class-name="com.meti.mlib.common.rs.WSMobiApplication">
        <properties>                        
            cxf.jaxrs.providers =
com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider, ....
            cxf.jaxrs.skip-provider-scanning = true
        </properties>     
    </pojo-deployment>
<pojo-deployment class-name="com.meti.mlib.common.rs.DefaultApplication">
        <properties>                        
            cxf.jaxrs.providers =
org.apache.johnzon.jaxrs.ConfigurableJohnzonProvider, ...
            cxf.jaxrs.skip-provider-scanning = true
        </properties>     
</pojo-deployment>

Is there a way to do this programmaticly ?




--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html

Reply via email to