宝贝鱼

CshBBrain的安装配置运行和测试

房东的猫 提交于 2019-11-28 17:35:49
安装配置运行 1.项目的安装 从http://code.google.com/p/cshbbrain/downloads/list 下载源代码包,解压。从Eclipse 导入项目。 或直接从Eclipse通过svn从http://cshbbrain.googlecode.com/svn/trunk/下载获取项目代码。在Eclipse编译项目没有错误提示即成功(项目编译要求jdk1.6及以上版本)。 2.项目的配置 2.1项目系统参数配置 项目参数文件位置:src/com/jason/config.properties 项目系统参数列表: #the port of the server #服务器所使用的端口 port=9090 #the priority of the thread in pool #服务器工作线程的优先级,使用默认优先级即可 maxPriority=5 #the tmp folder #服务器使用的默认临时文件夹 tmpRoot=e:/tmp/ #the factor of the work process thread per CPU kernel #业务处理线程CPU内核因子,例如设置为5则表示每个CPU核将创建5个处理线程,如果你的服务器有4个内核,那么将创建5*4=20个处理线程 requestWorker=5 #the factor of the read