I'm trying to deploy war-file with JAX-RS service (without web.xml, annotations only) and this service works fine on Glassfish and Wildfly without web.xml. Tomee 7.0.1 throws NullPointerException because ContinuationProvider not found in context (I'm using @Suspended AsyncResponse).

I found this article http://blog.clempinch.com/async-rest-cxf-and-the-continuations-api/ which suggest to add async-supported tag to web.xml.

Can I enable async support in META-INF/context.xml for example? Or this support should be enabled by default for JAX-RS?

Best regards, Ilia

Reply via email to