WAS web.xml修改不生效
官方文档:
参考文档:
The web.xml and web_fragment.xml files should be updated, if these files are driving the hot deployment update. If only web_merged.xml is updated, the hot deployment changes will be lost if any administrative action is taken that causes a regeneration of web_merged.xml.
![WAS <wbr>web.xml修改不生效 [Updated in October 2014]](https://i-blog.csdnimg.cn/blog_migrate/a4c26d1e5885305701be709a3d33442f.gif)
Important:
If metadata-complete is false in web.xml, you need to update web.xml and web_merged.xml on hot deployment of Servlet (web) 2.5 applications. If metadata-complete is true in web.xml, you need to update ONLY web.xml on hot deployment of Servlet (web) 2.5 applications.
![WAS <wbr>web.xml修改不生效 [Updated in October 2014]](https://i-blog.csdnimg.cn/blog_migrate/a4c26d1e5885305701be709a3d33442f.gif)
![WAS <wbr>web.xml修改不生效 [Updated in October 2014]](https://i-blog.csdnimg.cn/blog_migrate/a4c26d1e5885305701be709a3d33442f.gif)
was最终读的是和web.xml和同级目录的web_merge.xml
最简解决办法
dmgr控制台发布web.xml