-
Bug
-
Resolution: Done
-
Critical
-
3.0.16.Final
-
None
The META-INF folder of the resteasy-cdi JAR file contains a web-fragment.xml file. That xml file is missing a <distributable/> tag. That means that any application including the resteasy-cdi JAR will not be distributable.
Quote from the Servlet 3.0 specification (chapter 8.2.3 "Assembling the descriptor from web.xml, webfragment.xml and annotations"):
"viii. The web.xml resulting from the merge is considered <distributable> only if all its web fragments are marked as <distributable> as well."
This is a very serious limitation preventing any application using resteasy-cdi from running in a cluster with distributed sessions.
Suggested fix: Add a <distributable/> tag to the web-fragment.xml of resteasy-cdi. It will allow applications including resteasy-cdi to be distributable.