Hi,
do you have WEB-INF/openejb-jar.xml with this in?:

<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1";>
    <pojo-deployment class-name="com.example.rest.RestApp">
        <properties>
            cxf.jaxrs.providers = your.package.CustomJacksonJaxBJsonProvider
        </properties>
    </pojo-deployment>
</openejb-jar>



On 11 February 2015 at 08:18, foolbus <jf2...@att.com> wrote:

> hwaastad wrote
> > Hi,
> > typical example:
> >
> > @Provider
> > public class CustomJacksonJaxBJsonProvider extends
> JacksonJaxbJsonProvider
> > {
>
> So, I am trying to incorporate this into my tomee/jax-rs application.  I
> don't know where to put it - from what I've read, it should go in any class
> that tomee will see.  I created my own class which is part of my war file.
> It doesn't seem to register in tomee.
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/serializeAsArray-JacksonJaxbJsonProvider-tp4672427p4673746.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>



-- 
✝ Marius

Reply via email to