开发者

Websphere App Server 6.1: Redeploy after web.xml change required?

开发者 https://www.devze.com 2023-01-15 18:40 出处:网络
In WebSphere Application Server 6.1, is it necessary to redeploy the application (WAR/EAR) every time a change is made to a web.xml de开发者_如何学Goscriptor file?Depends on what you refer to by \"a c

In WebSphere Application Server 6.1, is it necessary to redeploy the application (WAR/EAR) every time a change is made to a web.xml de开发者_如何学Goscriptor file?


Depends on what you refer to by "a change is made to a web.xml descriptor file".

If you made a change to the web.xml file inside your IDE, then obviously this change has to somehow make it to the application server's world. Repackage your WAR file and deploy to WebSphere, for changes to take effect.

If you made a change to the web.xml file inside WebSphere's internal directories (the installedApps directory somewhere underneath the profile) - a practice I'd advise against - then a server restart would be sufficient for the changes to take effect. It goes without saying though, that your changes will disappear next time the application is deployed.

0

精彩评论

暂无评论...
验证码 换一张
取 消