You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by zmirc <m_...@yahoo.com> on 2013/10/13 20:21:04 UTC
How to get Tomee JAX-RS CXF + Jackson 1.9? Please help
Hi!
I've been trying the whole day to get Tomee 1.6 JAX-RS distribution having
Jackson as JaxbJson provider, but with no success.
What am I missing? I've read all possible resources about it.
Here's the sample project:
https://github.com/zmirc/tomee-cxf-jackson-sample
<https://github.com/zmirc/tomee-cxf-jackson-sample>
Thank you so much in advance.
--
View this message in context: http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help
Posted by Jean-Louis MONTEIRO <je...@gmail.com>.
A bit late, but thanks a lot for that. Pretty sure, that can help many
people.
2013/10/29 zmirc <m_...@yahoo.com>
> I've put all the necessary steps in a StackOverflow answer, so that others
> could see it easier.
> Here it is: http://stackoverflow.com/a/19653753/1385906
> <http://stackoverflow.com/a/19653753/1385906>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580p4665778.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
--
Jean-Louis
Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help
Posted by zmirc <m_...@yahoo.com>.
I've put all the necessary steps in a StackOverflow answer, so that others
could see it easier.
Here it is: http://stackoverflow.com/a/19653753/1385906
<http://stackoverflow.com/a/19653753/1385906>
--
View this message in context: http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580p4665778.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help
Posted by zmirc <m_...@yahoo.com>.
So much better with a sample.
Thank you, Romain.
--
View this message in context: http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580p4665588.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help
Posted by Romain Manni-Bucau <rm...@gmail.com>.
The snapshot has the feature.
You configure a pojo-deployment with marker "jaxrs-application" if you
didnt define explicitely a Application (jaxrs API) or you use your
qualified name of the application.
Here is a sample:
http://svn.apache.org/repos/asf/tomee/tomee/trunk/server/openejb-cxf-rs/src/test/resources/META-INF/custom.openejb-jar.xml
This sample uses resources.xml Services but you can also set a qualified
name of a provider directly in openejb-jar.xml
*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*
2013/10/14 zmirc <m_...@yahoo.com>
> Can you please elaborate a little?
> Isn't what's on trunk available in the snapshot version?
>
> How can the app configuration be done?
>
>
> ________________________________
> From: Romain Manni-Bucau [via OpenEJB] <
> ml-node+s979440n4665584h68@n4.nabble.com>
> To: zmirc <m_...@yahoo.com>
> Sent: Sunday, October 13, 2013 11:33 PM
> Subject: Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help
>
>
>
> On trunk you configure the app. Before it was by endpoint :(
> Le 13 oct. 2013 23:12, "zmirc" <[hidden email]> a écrit :
>
>
> > Hi!
> >
> > Thanks again. You're one of the reasons I love Tomee & its community.
> > I've searched all the internet, but that. My bad. Sorry.
> >
> > Each JAX-RS @Path class must have "cxf.jaxrs.providers" specified in the
> > openejb-jar.xml?
> > Isn't there any option of setting that property for all cases or for all
> > classes in a package or something similar?
> >
> > It's really nice that it can work, but it's a true pain to have manual
> > config for each resource class.
> >
> >
> > ________________________________
> > From: Romain Manni-Bucau [via OpenEJB] <
> > [hidden email]>
> > To: zmirc <[hidden email]>
> > Sent: Sunday, October 13, 2013 10:18 PM
> > Subject: Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help
> >
> >
> >
> > Hi
> >
> > did you read
> > http://openejb.979440.n4.nabble.com/TomEE-1-5-and-Jackson-td4657777.html
> ?
> >
> > *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*
> >
> >
> >
> > 2013/10/13 zmirc <[hidden email]>
> >
> >
> > > Hi!
> > >
> > > I've been trying the whole day to get Tomee 1.6 JAX-RS distribution
> > having
> > > Jackson as JaxbJson provider, but with no success.
> > > What am I missing? I've read all possible resources about it.
> > > Here's the sample project:
> > > https://github.com/zmirc/tomee-cxf-jackson-sample
> > > <https://github.com/zmirc/tomee-cxf-jackson-sample>
> > >
> > > Thank you so much in advance.
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580.html
> > > Sent from the OpenEJB User mailing list archive at Nabble.com.
> > >
> >
> >
> > ________________________________
> >
> > If you reply to this email, your message will be added to the discussion
> > below:
> >
> http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580p4665582.html
> > To unsubscribe from How to get Tomee JAX-RS CXF + Jackson 1.9? Please
> > help, click here.
> > NAML
> >
> >
> >
> > --
> > View this message in context:
> >
> http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580p4665583.html
> > Sent from the OpenEJB User mailing list archive at Nabble.com.
>
>
> ________________________________
>
> If you reply to this email, your message will be added to the discussion
> below:
> http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580p4665584.html
> To unsubscribe from How to get Tomee JAX-RS CXF + Jackson 1.9? Please
> help, click here.
> NAML
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580p4665585.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help
Posted by zmirc <m_...@yahoo.com>.
Can you please elaborate a little?
Isn't what's on trunk available in the snapshot version?
How can the app configuration be done?
________________________________
From: Romain Manni-Bucau [via OpenEJB] <ml...@n4.nabble.com>
To: zmirc <m_...@yahoo.com>
Sent: Sunday, October 13, 2013 11:33 PM
Subject: Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help
On trunk you configure the app. Before it was by endpoint :(
Le 13 oct. 2013 23:12, "zmirc" <[hidden email]> a écrit :
> Hi!
>
> Thanks again. You're one of the reasons I love Tomee & its community.
> I've searched all the internet, but that. My bad. Sorry.
>
> Each JAX-RS @Path class must have "cxf.jaxrs.providers" specified in the
> openejb-jar.xml?
> Isn't there any option of setting that property for all cases or for all
> classes in a package or something similar?
>
> It's really nice that it can work, but it's a true pain to have manual
> config for each resource class.
>
>
> ________________________________
> From: Romain Manni-Bucau [via OpenEJB] <
> [hidden email]>
> To: zmirc <[hidden email]>
> Sent: Sunday, October 13, 2013 10:18 PM
> Subject: Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help
>
>
>
> Hi
>
> did you read
> http://openejb.979440.n4.nabble.com/TomEE-1-5-and-Jackson-td4657777.html ?
>
> *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*
>
>
>
> 2013/10/13 zmirc <[hidden email]>
>
>
> > Hi!
> >
> > I've been trying the whole day to get Tomee 1.6 JAX-RS distribution
> having
> > Jackson as JaxbJson provider, but with no success.
> > What am I missing? I've read all possible resources about it.
> > Here's the sample project:
> > https://github.com/zmirc/tomee-cxf-jackson-sample
> > <https://github.com/zmirc/tomee-cxf-jackson-sample>
> >
> > Thank you so much in advance.
> >
> >
> >
> > --
> > View this message in context:
> >
> http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580.html
> > Sent from the OpenEJB User mailing list archive at Nabble.com.
> >
>
>
> ________________________________
>
> If you reply to this email, your message will be added to the discussion
> below:
> http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580p4665582.html
> To unsubscribe from How to get Tomee JAX-RS CXF + Jackson 1.9? Please
> help, click here.
> NAML
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580p4665583.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
________________________________
If you reply to this email, your message will be added to the discussion below:http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580p4665584.html
To unsubscribe from How to get Tomee JAX-RS CXF + Jackson 1.9? Please help, click here.
NAML
--
View this message in context: http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580p4665585.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help
Posted by Romain Manni-Bucau <rm...@gmail.com>.
On trunk you configure the app. Before it was by endpoint :(
Le 13 oct. 2013 23:12, "zmirc" <m_...@yahoo.com> a écrit :
> Hi!
>
> Thanks again. You're one of the reasons I love Tomee & its community.
> I've searched all the internet, but that. My bad. Sorry.
>
> Each JAX-RS @Path class must have "cxf.jaxrs.providers" specified in the
> openejb-jar.xml?
> Isn't there any option of setting that property for all cases or for all
> classes in a package or something similar?
>
> It's really nice that it can work, but it's a true pain to have manual
> config for each resource class.
>
>
> ________________________________
> From: Romain Manni-Bucau [via OpenEJB] <
> ml-node+s979440n4665582h6@n4.nabble.com>
> To: zmirc <m_...@yahoo.com>
> Sent: Sunday, October 13, 2013 10:18 PM
> Subject: Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help
>
>
>
> Hi
>
> did you read
> http://openejb.979440.n4.nabble.com/TomEE-1-5-and-Jackson-td4657777.html ?
>
> *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*
>
>
>
> 2013/10/13 zmirc <[hidden email]>
>
>
> > Hi!
> >
> > I've been trying the whole day to get Tomee 1.6 JAX-RS distribution
> having
> > Jackson as JaxbJson provider, but with no success.
> > What am I missing? I've read all possible resources about it.
> > Here's the sample project:
> > https://github.com/zmirc/tomee-cxf-jackson-sample
> > <https://github.com/zmirc/tomee-cxf-jackson-sample>
> >
> > Thank you so much in advance.
> >
> >
> >
> > --
> > View this message in context:
> >
> http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580.html
> > Sent from the OpenEJB User mailing list archive at Nabble.com.
> >
>
>
> ________________________________
>
> If you reply to this email, your message will be added to the discussion
> below:
> http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580p4665582.html
> To unsubscribe from How to get Tomee JAX-RS CXF + Jackson 1.9? Please
> help, click here.
> NAML
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580p4665583.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help
Posted by zmirc <m_...@yahoo.com>.
Hi!
Thanks again. You're one of the reasons I love Tomee & its community.
I've searched all the internet, but that. My bad. Sorry.
Each JAX-RS @Path class must have "cxf.jaxrs.providers" specified in the openejb-jar.xml?
Isn't there any option of setting that property for all cases or for all classes in a package or something similar?
It's really nice that it can work, but it's a true pain to have manual config for each resource class.
________________________________
From: Romain Manni-Bucau [via OpenEJB] <ml...@n4.nabble.com>
To: zmirc <m_...@yahoo.com>
Sent: Sunday, October 13, 2013 10:18 PM
Subject: Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help
Hi
did you read
http://openejb.979440.n4.nabble.com/TomEE-1-5-and-Jackson-td4657777.html ?
*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*
2013/10/13 zmirc <[hidden email]>
> Hi!
>
> I've been trying the whole day to get Tomee 1.6 JAX-RS distribution having
> Jackson as JaxbJson provider, but with no success.
> What am I missing? I've read all possible resources about it.
> Here's the sample project:
> https://github.com/zmirc/tomee-cxf-jackson-sample
> <https://github.com/zmirc/tomee-cxf-jackson-sample>
>
> Thank you so much in advance.
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
________________________________
If you reply to this email, your message will be added to the discussion below:http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580p4665582.html
To unsubscribe from How to get Tomee JAX-RS CXF + Jackson 1.9? Please help, click here.
NAML
--
View this message in context: http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580p4665583.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi
did you read
http://openejb.979440.n4.nabble.com/TomEE-1-5-and-Jackson-td4657777.html ?
*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*
2013/10/13 zmirc <m_...@yahoo.com>
> Hi!
>
> I've been trying the whole day to get Tomee 1.6 JAX-RS distribution having
> Jackson as JaxbJson provider, but with no success.
> What am I missing? I've read all possible resources about it.
> Here's the sample project:
> https://github.com/zmirc/tomee-cxf-jackson-sample
> <https://github.com/zmirc/tomee-cxf-jackson-sample>
>
> Thank you so much in advance.
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>