Websphere8.5.5 modification web.xml solution does not take effect

After deploying a java project under websphere, if the web.xml file is modified, restart the java project and find that websphere does not automatically load the web.xml file, that is, the modified web.xml does not work unless the The java project is deployed
again, which takes some time. If the machine is operated remotely, uploading the entire jar package is also very slow.
 In fact, this is because there are usually two configuration files under websphere, one is under installedApps and the other is under
config, so you need to modify the web.xml file in both places to take effect. Taking websphere6 as an example here, the detailed paths of the two configuration files are generally 1
, /webapps/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/test01Node01Cell/crm_war.ear/crm.war/WEB-INF/web.xml

2. /webapps/IBM/WebSphere/AppServer/profiles/AppSrv01/ config /cells/test01Node01Cell/applications/crm_war.ear/deployments/crm_war/cms.war/WEB-INF/web.xml
Just modify the web in these two places. xml file, it will take effect.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326647729&siteId=291194637