在websphere下部署了一个java工程后,如果修改了web.xml文件,重新启动这个java工程发现websphere并没有自动加载web.xml文件,即修改后的web.xml并不起作用,除非重新把这个java工程再部署
一次,这需要花一些时间,如果是远程操作机器,上传整个jar包也是很慢的事情。
其实这是因为websphere下的配置文件通常有两份,一份在installedApps下,另一份在
config下面,所以需要修改两个地方的web.xml文件后才能起效。这里以websphere6为例,两份配置文件的详细路径一般为
1、/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/test01Node01Cell/cms_war.ear/cms.war/WEB-INF/web.xml
2、/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/test01Node01Cell/applications/cms_war.ear/deployments/cms_war/cms.war/WEB-INF/web.xml
只要修改这两处的web.xml文件,就可以生效了。
相关推荐
websphere_plugin-cfg.xml文件内容解析.pdf
WebSphere MQ配置.rar WebSphere MQ配置.rar WebSphere MQ配置.rar
Prentice.Hall.PTR.IBM.WebSphere.Deployment.and.Advanced.Configuration.Aug.2004.eBook-DDU.chm
IBM websphereMQ 8.0.0.5 lib包; IBM\WebSphere MQ\java\lib下的文件 文件列表: com.ibm.mq.jms.Nojndi.jar com.ibm.mq.pcf.jar com.ibm.mq.allclient.jar com.ibm.mq.postcard.jar com.ibm.mq.axis2.jar ...
Websphere.Application.Developer(WSAD)使用外置WinCVS解决方案Websphere.Application.Developer(WSAD)使用外置WinCVS解决方案
websphere commerce的使用即websphere commerce图解.在网上扒了半天才找到的稀品啊!IBM创建商品店铺(websphere commerce).pdf 一些其他的相关资料: ...
Websphere实用手册.pdf
IBM.Press.Getting.Started.with.IBM.WebSphere.sMash.Aug.2010.rar
websphere培训教程.pdf
WebSphere快速入门.pdf
配置websphere application server ssl.pdf
美河提供.IBM.WebSphere.Studio.J2EE应用开发.
IBM.Press.Rapid.Portlet.Developme.with.WebSphere.Portlet.Factory.Sep.2008.pdf E文
WebSphere快速入门.doc
websphere配置手册.doc ,供websphere 爱好者学习和参考。
WebSphere培训教程.ppt
Prentice.Hall.PTR.IBM.WebSphere.Deployment.and.Advanced.Configuration.Aug.2004.eBook-DDU.chm
WebSphere内部培训.pptx
WebSphere项目部署.docxWebSphere项目部署.docx