Author: kfujino Date: Mon Jan 21 09:55:16 2013 New Revision: 1436243 URL: http://svn.apache.org/viewvc?rev=1436243&view=rev Log: Add <distributable/> to web-fragment.xml in tomcat-websocket.jar.
Servlet Spec says: The web.xml resulting from the merge is considered <distributable> only if all its web fragments are marked as <distributable> as well. Therefore, in order to user deploy distributable web application, tomcat-websocket's web-fragment.xml should contain the <distributable/>. Otherwise, users are forced to set metadata-complete="false" in their web.xml or add <distributable/> to web-fragment.xml inside the tomcat-websocket.jar. Modified: tomcat/trunk/res/META-INF/tomcat-websocket.jar/web-fragment.xml Modified: tomcat/trunk/res/META-INF/tomcat-websocket.jar/web-fragment.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/res/META-INF/tomcat-websocket.jar/web-fragment.xml?rev=1436243&r1=1436242&r2=1436243&view=diff ============================================================================== --- tomcat/trunk/res/META-INF/tomcat-websocket.jar/web-fragment.xml (original) +++ tomcat/trunk/res/META-INF/tomcat-websocket.jar/web-fragment.xml Mon Jan 21 09:55:16 2013 @@ -22,4 +22,5 @@ version="3.0" metadata-complete="true"> <name>org.apache.tomcat.websocket</name> + <distributable/> </web-fragment> \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org