Re: TomEE Rest : Issue with JSON response

2012-10-22 Thread Fernando Lozano
Hi, Maybe it helps, I got this kind of error when my project included CXF jars (I hate most IDEs samples and also most sample POMs, they create jar hell). Removed them from my WAR WEB-INF/lib and all went fine. []s, Fernando Lozano Hi, can you reproduce the error in a simple ready-to-run

Re: TomEE Rest : Issue with JSON response

2012-10-22 Thread Romain Manni-Bucau
not something i`m setting at all. > > My rest service: > @Path("/fares") > @Stateless > //@RolesAllowed({"tomee"}) > public class FareService { > > @POST > @Consumes({"application/json", "application/xml"}) > @Produc

RE: TomEE Rest : Issue with JSON response

2012-10-22 Thread Potgieter, Derick D
. Regards Derick -Original Message- From: Potgieter, Derick D Sent: Monday, October 22, 2012 9:22 AM To: users@openejb.apache.org Subject: RE: TomEE Rest : Issue with JSON response I`ll do a little test and let you know. This is the stack: java.lang.NoClassDefFoundError: com/su

RE: TomEE Rest : Issue with JSON response

2012-10-22 Thread Potgieter, Derick D
Monday, October 22, 2012 8:40 AM To: users@openejb.apache.org Subject: Re: TomEE Rest : Issue with JSON response Hi, can you reproduce the error in a simple ready-to-run maven project? btw i never saw this error *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>

Re: TomEE Rest : Issue with JSON response

2012-10-21 Thread Romain Manni-Bucau
Hi, can you reproduce the error in a simple ready-to-run maven project? btw i never saw this error *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **http://fr.linkedin.com/in/

TomEE Rest : Issue with JSON response

2012-10-21 Thread Potgieter, Derick D
Hi Guys, Want to check if anyone else is experiencing this issue. I have a rest service that is throwing the below error but only on the 2nd request onwards. java.lang.NoClassDefFoundError: org/apache/cxf/common/jaxb/NamespaceMapper The request is for a Single VO. If I return a List then it wo