tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shortname <shortn...@yandex.ru>
Subject Tomee 7.0.1 JAX-RS AsyncReponse throws NullPointerException
Date Sun, 07 Aug 2016 07:36:35 GMT
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

Mime
View raw message