?uid=swg21115785
?uid=swg21115785&aid=1
MustGather: Performance, hang, or high CPU issues on AIX (aixperf.sh)
?uid=swg21052641
用法:
[lindows@Loadrunner19 ~]$ ./linperf.sh 17909 (17909 ---- java进程号)
Question:
三台WAS应用集群,
前两台WAS集群cell1 + cell2压测性能正常,WAS CPU消耗=60%左右,DB=10%左右,
后一台WAS集群cell3 loadrunner 压测性能异常,WAS CPU消耗=40%左右,DB=90%左右。
Answer:
检查cell 3 WAS JDBC 数据源配置环境发现:wc-server.targettable.pre.xml 配置有误,参照cell1或cell2的WAS集群数据源正确配置即可。
Question:
消息
EAR 文件可能是损坏的和/或不完整的。
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml
解决
web.xml 描述循序比较严格
在websphere6中部署应用遇到的struts问题
在一个应用程序包部署到websphere6中后,出现一下异常:
[07-1-15 19:18:47:234 CST] 00000027 ActionServlet E Parsing error processing resource path
[07-1-15 19:18:47:250 CST] 00000027 ActionServlet E TRAS0014I: 下列异常已记录 java.net.MalformedURLException: SRVE0238E: 资源路径应该以斜杠开头
at com.ibm.ws.webcontainer.webapp.WebApp.getResource(WebApp.java:1915)
at com.ibm.ws.webcontainer.facade.ServletContextFacade.getResource(ServletContextFacade.java:100)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1002)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
.
java.net.MalformedURLException: SRVE0238E: 资源路径应该以斜杠开头
...
该应用包在websphere5.x中部署正常,后发现websphere使用的struts版本问题.
Struts 1.1 中,获得资源路径时,前面不带斜线 ( / ) ,但在 Servlet 2.4 规范中,要求在获得一个资源路径时,路径必须是相对与当前上下文根并以斜线 ( / ) 开头,在 WebSphere Application Server 5.x中使用的是struts1.1版本规则,而websphere6则使用了Servlet 2.4版本的规则,故导致问题出现.
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/jisuanjixue/article-30599-17.html
胡说
应该说爱卿所言甚是