Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 WebSphere Application Server 6.1 中,每次更改 web.xml 描述符文件时是否需要重新部署应用程序 (WAR/EAR)?
取决于您所指的“对web.xml描述符文件进行了更改”。
web.xml
如果您对web.xmlIDE 中的文件进行了更改,那么显然这种更改必须以某种方式使其进入应用程序服务器的世界。重新打包您的 WAR 文件并部署到 WebSphere,以使更改生效。
如果您对web.xmlWebSphere 内部目录(installedApps配置文件下某处的目录)中的文件进行了更改——我建议不要这样做——那么重新启动服务器就足以使更改生效。不用说,您的更改将在下次部署应用程序时消失。
installedApps