- 浏览: 169797 次
- 性别:
- 来自: 上海
-
最新评论
-
Aceslup:
好复杂的说
Redis集群方案 -
fuzhaohui:
通过不段的调试发现是ngix版本过低的原因,CentOS自动安 ...
Jenkins通过nginx远程部署应用发布报错 -
smallestmonkey:
...
realvnc 4.6 企业版序列号 for linux & windows -
fuzhaohui:
引起这个报错原因是因为引用mybatis-spring版本过高 ...
Spring4.0.5+MyBatis3.2.7+mybatis-spring 1.2.2插入数据所所异常 -
cbxjj:
果然是酷狗这个狗东西
python测试django系统出现 Error: [Errno 10013]
文章列表
LDAP
Redhat
Share
We all respect Redhat's goal of providing a stable operating system to its customers, the stability often comes at price. Often in the form of missing features that are available in the more recent releases of many packages. One such product has always been Ope ...
liferay包含有提供了许多种服务器中间件,如何通过liferay官方发布的源码生成自己所需要的bundle,下面就介绍一下怎样打包src.
1.从liferay官方下载liferay6.0.6源码
1). 下载打包成zip源码包
http://nchc.dl.sourceforge.net/project/lportal/Liferay%20Portal/6.0.6/liferay-portal-tomcat-6.0.6-20110225.zip
2). liferay官方 svn下载
2. 将源码导入到eclipse 打开Ant工具 ...
When some code within a portlet consumes non-Liferay web services with
the help of the AXIS package, an unexpected error happens.
This error is related to the invocation of the com.liferay.util.axis.SimpleHTTPSender.
The same code will not produce this error if it is running outside of the Lifera ...
异常:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.ClassCastException: org.apache.axis.attachments.AttachmentsImpl cannot be cast to org.apache.axis.attachments.Attachments
faultActor:
faultNode:
faultDetail:
...
公司开发IM系统,采用Openfire+Spark,需要对openfire服务器进行压力测试,采用多线程几台PC连接Openfire进行测试。
但是当openfire部署在Windows 32位上都能支撑到4000+,反而在Redhat Linux Enterprise 64位下竟然不能突破1000,当时很郁闷,经过反复测试及网上查找资料,得出需要对Linux进行优化。优化命令如下:
● 增加文件描述符
ulimit -n 65535
echo 65532 > /proc/sys/fs/file-max
● 优化TCP/IP设置
echo 30 > /proc/ ...
bat是dos下的批处理文件 .cmd是nt内核命令行环境的另一种批处理文件 从更广义的角度来看,unix的shell脚本以及其它操作系统甚至应用程序中由外壳进行解释执行的文本,都具有与批处理文件十分相似的作用,而且同样是由专用解释器以行为单位解释执行,这种文本形式更通用的称谓是脚本语言。所以从某个程度分析,batch, unix shell, awk, basic, perl 等脚本语言都是一样的,只不过应用的范围和解释的平台各有不同而已。甚至有些应用程序仍然沿用批处理这一称呼,而其内容和扩展名与dos的批处理却又完全不同。 ================================== ...
package com.forshinelog.say;
public class SayToYou {
public String sayWhat(String boyName, String girlName, String about){
if(boyName.equals("fuzhaohui")){
return "\n"+boyName+" love " + girlName +"\n"+ about +"\n";
}else{
return ...