Lots-O-Labs: OOM Diagnosis
下载
WebSphere7部署Web应用注意点
WebSphere7部署SSH2本身不需要做特殊处理。直接通过console上传部署Web应用即可。但是WebSphere校验比较严格,需要注意以下两点:
JSP页面中的“pageEncoding”必须为“UTF-8”全大写,小写或者大小写混合都会报错。
路 径问题。JSP中导入的js、css、dwr等路径中,不能带有“//”(http之后的除外)。如:“src='http://ip/proj //path1/path2/xx.js'>”错误,无常加载(Tomcat、JBoss、Weblogic都无此问题)。因此,JSP中诸如 “basePath”的根目录,要确定最后是否带有“/”,如果已经带有“/”,则后面跟的子路基不再需要在首字母处带“/”。
在basePaht最后带有“/”的情况下:
正确:src='<%=basePath%>path1/path2/xx.js'
错误:src='<%=basePath%>/path1/path2/xx.js'
以上结论在如下环境中测试得出:Windows2003+JDK1.6+WebSphere+Struts2.1.8+Spring2.5.6+Hibernate3.3.2,其他环境未作测试。
Exception:
?uid=swg21242197
1.两root用户同时安装DB2Client冲突问题解决方法 db2_08_01.client 8.1.1.156
# su - root
#/db2client/admcl.dbcs/db2_deinstall卸载后,再安装出现 wcsdbins用户创建失败 DBI1131E
ERROR:An error occurred while initializing the warehouse control database. The
instance "wcsdbins" does not exist or the user is invalid.
or
ERROR:An error occurred while initializing the warehouse control database. The
instance "db2inst1" does not exist or the user is invalid.
Configuring the warehouse control database:.......Failure
WARNING:A minor error occurred while installing "DB2 Universal Database
Enterprise Server Edition" on this computer. Some features may not function
correctly.
db2_08_01 wcsdbins 用户卸载方法
确认 如下文件没有新建的wcsdbins用户
* /etc/passwd
* /etc/security/.profile
* /etc/security/limits
* /etc/security/passwd
* /etc/security/user
* /usr/lib/security/mkuser.default
* /etc/passwd
* /etc/security/.profile
* /etc/security/limits
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/jisuanjixue/article-30599-27.html
恶狗理解草狗意
就是行贿的最典型代表啊