tomcat 插件导致tomcat重启一例
转载:tomcat 插件导致tomcat重启一例,原因是tcnative-1.dll这个插件,导致 tomcat 不断重启。[@more@]Hi Jeff,Thanks for the response. I have a webapp which throws a similarexception which is pasted below. I am using Tomcat 5.5.23.WARNING: Exception thrown whilst processing POSTed parametersjava.io.IOException: Socket read failedat org.apache.coyote.ajp.AjpAprProcessor.read(AjpAprP rocessor.java:1035)atorg.apache.coyote.ajp.AjpAprProcessor.readMessage( AjpAprProcessor.java:1156)at org.apache.coyote.a
横向扩展还是竖向扩展?
长期以来系统性能的提升,主机和存储厂家宣传的都是竖向扩展,用更好的小机、更高端的存储、更好的网络设备....然后在绿色节能、低成本的时代浪潮下,这种竖向扩展的趋势已经过时了。新的更好的架构是横向扩展....[@more@]横向扩展的代表就是google为代表的后台系统,淘宝,ebay都在往这个方向发展。有这么几个特点值得注意1 硬件上尽量用最廉价的PC SERVER或刀片。3 使用分布式数据库,数据分布在多个点上,通过数据复制等方法实现读写分离,实现数据容灾。3 由于容灾和群集技术的广泛使用,任何一个节点的损害,不影响整个系统的运行。4
how to improve seaching string performance in huge database
We usually use like ,instr or other key words like that to search string in database. But at present the table size becomes more and more bigger,So we have to choose some others methods to improve seaching string performance in huge database.[@more@]I may suggest some methods here for you.1 use fulltext search in database (sybase or oracle,or sqlserver. It is a easy method with limited function.2 use memory cache such as Memcached , a typical open source software.or memory database such as times
some tips in developing multinational language website
There are lots of tips in developing multinational language website.I will introduce some some usefule tips to you.[@more@]The most import thing is to choose the right character set of database.We can use utf-8 or local characeter set that the database company have recommended. Uft-8 can be used to in most nations and easily to maintain but the local character set can support the loca language better.After that you can visit the local goverment website to know what character set in html is often
综合运用工具监视和排查tomcat应用问题
tomcat经常碰到偶尔无法正常响应甚至宕机重起后恢复的情况,此情况该如何监视和排查呢总结思路如下。[@more@]1 远程监控法利用某些网站提供的免费检测网站功能,对tomcat应用进行长期自动检测,观察问题出现的频率,为排查问题搜集数据。推荐用www.jiankongbao.com提供了比较强大的监控功能,特别是服务器监控功能比较强大。此类网站国外还有很多,需要搜索。2 本地监控法在web服务器上 windows 利用系统自带的性能监视器perfmon进行监控;微软的process monitor也是一个很好的监控工具。分析;linux和unix 推荐用nmon进行整体监控通常长期
how to analyze why two system'data is not consistent?
We have see too many cases just like thatone application system have to send messages or files to B application and B have to reflect some messages.The two system'data have to be consistent by some rule.But A is devepoped by one company, B is devepoped by another one.In most case they will censure each other when their data are notconsistent. What can I do ,if I am customter in the case.[@more@]I will ask two company to make their own record for each opertion in detail (ok or fail,why not fail,
windows 程序CPU 时高时低的诊断思路
windows 程序CPU 时高时低的问题,确实比较很难查,往往等你去查的时候,CPU又下来了,人的精力很难长期跟踪。最近在WINDOWS用户态程序高效排错,看到一个很管用的思路,结合下自己的考虑记录如下。[@more@]1 使用任务管理器,性能监视器先定位具体是那个程序在CPU反复波动。2 在性能监视器定义ALERT,ALERT,有条件的触发ADPLUS.具体做法参见WINDOWS用户态程序高效排错 ,198页。3 然后抓到dump文件之后,使用windbg 来分析dump文件。如下是一些相关资料http://support.microsoft.com/kb/286350/zh-cnhttp://www.cnblogs.com/Winston/arc
talking about self diagnosis and online testing feature of software
Now software become more and more bigger.How can we resolve problem in productive environment efficiently? [@more@]Well, I think there maybe two important features interrelating each other that can help us.The first is self diagnosis . Software can trace and annalyze it's own log , intelligently lead user to resolve problem more quickly . It is more and more popular now.You can see such feature in oracle 11g typically.You don't have to remember too many complex commands.The second is online simu
WINDOWS程序一般性保护错误的原因与解决办法
一 什么是一般性保护错误(GP)? 一般性保护错误(general protect简称GP),通常只是WINDOWS下的一个术语,我们现在也常把它引用到UNIX下指程序的崩溃。 本文主要探讨WINDOWS下面程序GP的原因,预防和解决办法。[@more@]二 GP的原因 WIN32操作系统在发现某应用程序企图访问不属于自己的非法的内存区域时,将触发一般性保护错误,立刻终止该应用程序,防止该程序破坏其他程序的内存数据,对其他程序造成不良影响。如果该机器上装Dr Washington软件,该软件将捕捉该错误,并出错时的应用程序内存地址情况抓下来,但实际上要分析的话,