The error is a problem with hibernate and lazy collections. Try returning just a mocked object, not from database.
Jackson works in tomee, to get it working you need a @Producer @Provider @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public class JacksonJSONProvider extends com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider { public JacksonJSONProvider() { super(); setMapper(JsonParser.defaultJacksonObjectMapper()); //Your mapper } } See http://stackoverflow.com/questions/38904640/how-to-use-jackson-as-json-provider-for-jax-rs-client-instead-of-johnzon-in-tome -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Cannot-get-TomEE-to-use-Jackson-tp4682409p4682411.html Sent from the TomEE Users mailing list archive at Nabble.com.