I think the problem might be that if CDI is enabled RESTEasy is using a "CDI-powered" Provider instances which are @ApplicationScoped beans (i.e. an instance is shared accross the whole webapp). See also https://github.com/resteasy/Resteasy/blob/master/resteasy-cdi/src/main/java/org/jboss/resteasy/cdi/ResteasyCdiExtension.java#L110. |