- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
JBOSS常见问题
类问题(已解决):
编号问题描述解决方法1手工执行功能成功,但vugen执行脚本服务器响应返回0字节利用嗅探器ethereal发现手工执行与vugen执行脚本的差异,增加web_add_auto_header(modeltype,model);
?
解决问题后,经咨询东软开发工程师,服务器端解析输入代码有
?if (model.equals(webRequest.getHeader(ModelType))) 判断
?2Contoller? Insufficient records for param X? in table to provide the Vuser with unique data删除根盘目录 Local Settings\Temp下文件,排除干扰3并发执行时,发现服务器随机错误,确认有非线程安全代码在客户端、服务器端分别用嗅探器(fiddler , ethereal, tcpdump )确认发包、收包的状况,确认发包正确,服务器HttpRequest接收到的包也正确。故程序出现在内部变量未做到线程同步
?4Apache? error_log :? [error] server reached MaxClients setting, consider raising the MaxClients setting
?在httpd.conf增加:
StartServers 10
MinSpareServers 10
MaxSpareServers 15
ServerLimit 3000
MaxClients 2000?
MaxRequestsPerChild 10000
KeepAliveTimeout 30
?
并重启httpd服务
?5java.lang.OutOfMemoryError: PermGen space、
java.lang.OutOfMemoryError: unable to create new native
?
?调整JVM,增加堆、栈控制等参数。最终
Run.conf:
?
JAVA_OPTS=-Xms1536m -Xmx1536m? -XX:PermSize=512m -XX:MaxPermSize=512m -Xss256k? -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
?
?6jboss server.log有All threads (200) are currently busy, waiting. Increase maxThreads (200) or check the servlet status
?Apache通过mod_jk1.2 转发http 请求给jboss。
故修改 jboss-4.0.5.GA/server/default/deploy/server.xml
调整ajp connector 设置:
?
!-- A AJP 1.3 Connector on port 8009 --
????? Connector port=8009 address=${jboss.bind.address} backlog=1200
???????? maxThreads=2100 minSpareThreads=20 maxSpareThreads=50
???????? emptySessionPath=true enableLookups=false redirectPort=8443
???????? protocol=AJP/1.3/
?
同时在linux? 的.bash_profile? 增加文件句柄:? ulimit? -n? 4096
?
?7ORA-00020: maximum number of processes (600) exceeded?? 利用oracle statspack以及检查wait event,没有发现数据库方面有阻塞!故定位到连接池参数配置不当导致异常。
更改apache dbcp连接池参数,防止连接leak 。
set property=removeAbandoned value=true/
??????????????????????????????? set property=removeAb
您可能关注的文档
- Impact factor and education journals.pdf
- Impact Factor For Chemistry Sorted By IF.pdf
- Impact Factor For Materials Science Sorted By IF.pdf
- Impact of Dark Matter Substructure on the Matter and Weak Lensing Power Spectra.pdf
- Impact of Different Mobility Models on Connectivity Probability of a Wireless Ad Hoc Networ.pdf
- Impact of Departure from Normality on the Efficiency of Estimating Regression Coefficients.pdf
- Impact of dissipative effects on the macroscopic evolution of a Vlasov system.pdf
- Impact of Distance in Pitch Class Profile Computation.pdf
- Impact of Heavy Industrialization on the Carbon EmissionsAn Empirical Study of China.pdf
- Impact of Frame Rate and Resolution on Objective QoE Metrics.pdf
文档评论(0)