Websphere缓存问题
来源:互联网 发布:恋爱软件免费版 编辑:程序博客网 时间:2024/06/13 02:19
一、场景:
∷∷ linux环境,通过websphere控制更新程序,但是由于业务需求,所有更新必须撤销。因此,我将对应的应用目录删除,并将备份文件重新归档;最后发现与预期效果不一样。
∷∷ 通过反复确认代码没错,最后也做了一些其他的测试,可还是没有解决问题!
- 解决方案:
∷∷ 原来是因为,WebSphere缓存文件造成,当你部署完application后会将web.xml缓存到如下目录 :
/app/WebSphere/AppServer/profiles/AppSrv01/config/cells/YDZYTNode01Cell/applications/......
(不适合所有系统,此处提出只为以后遇到同样问题时方便查阅);找到web.xml删除即可
特别注意:
∷∷ 以上解决方案只适用于提交更新之后对web.xml文件有改动的情况,如果是jsp效果与预期不一致,则需要找到以下目录:
∷∷ WebSphere jsp编译为class缓存目录
部署目录为:
/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/MBSITAPPCell01/mobilebank1_war.ear/mobilebank1.war
对应的class缓存目录为:
/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/temp/MBSITAPPNode01/server1/mobilebank1_war/mobilebank
config/cells/主机名称/applications/根.ear/deployments/根_war/根.war/WEB-INF/web.xml
如:
/app/WebSphere/AppServer/profiles/AppSrv01/config/cells/YDZYTNode01Cell/applications/...
1 0
- Websphere缓存问题
- webSphere缓存问题
- websphere的 DistrubutedMap缓存问题
- websphere缓存
- websphere(WAS)增量更新web.xml时的缓存问题
- 清除WebSphere中缓存
- 清除WebSphere中jsp缓存
- websphere数据库乱码问题
- websphere 部署servlet问题
- WebSphere MQ字符集问题
- WebSphere 挂起问题
- WebSphere classpath相关问题
- WebSphere: 中文乱码问题
- websphere问题ADMR0104E解决
- websphere安全设置问题
- Websphere 问题记录
- webSphere配置问题
- Websphere时区设置问题
- Linux学习笔记(三)
- java动态代理
- css3相关
- 数的计算
- 百度地图IOS平台开发-如何一对一对应大头钉和泡泡
- Websphere缓存问题
- C++ 多线程编程总结
- HTML第十五节(导航基础一)
- Linux学习笔记(四)
- 【Linux】rsync用法
- mysql按照网段分类IP
- WebAPP设计和入门开发需要注意的5个事项
- Appium基于安卓的各种FindElement的控件定位方法实践和建议
- JAVA操作properties文件