Java website development Common Faults

Source: Internet
Author: User

I. server or toolkit Defects]

1. velocity1.6.1 misuse of hashmap leads to endless Loops

Http://code.alibabatech.com/blog/experience_555/sun-jdk-hashmap-get-analysis-of-the-illegal-use-of-the-hang.html

2. Application Data disorder in jboss4.2.3

Http://blog.csdn.net/axman/article/details/5694212

3. xstream1.1.2 cache using string. Intern, leading to perm Overflow

Http://jira.codehaus.org/browse/XSTR-395

4. Submit Ajax requests in post mode in IE, which may cause data loss.

Http://blog.csdn.net/axman/article/details/7008515

Similarly, httpclient4.0.1 has this problem.

Http://dongliu84.appspot.com/post/537142

5. jboss4.0.5 uses webappclassloader to cause RMI performance degradation

Http://www.neverevernote.com /? P = 90

6. In jdk6u26, cmsrefproctaskproxy causes the application to stop responding.

Http://coderplay.iteye.com/blog/1709338

7. After maven2 uses the release dependency, the Compilation speed slows down.

Http://blog.csdn.net/whubrian/article/details/8544379

8. Oracle JDBC driver v10.2.0.1, batch insertion of lost data

Http://forums.oracle.com/forums/thread.jspa? Threadid = 970315 & tstart = 75

Http://jaykhimani.blogspot.com/2009/10/problem-with-ojdbc-14-preparedstatement.html

Https://issues.apache.org/jira/browse/DERBY-428

Google
More

[2. Improper use]

1. Duplicate xstream instances, resulting in high load

Http://stackoverflow.com/questions/10956154/xstream-creating-classes-and-causing-painful-permgen-collections

Http://aprilsoft.cn/blog/post/309.html

2. Declare the simpledateformat variable as a static variable.

3. New stringbuilder (INT)

Http://blog.csdn.net/axman/article/details/7086339

4. caused OOM by copyonwritearraylist

Http://blog.csdn.net/axman/article/details/6826074

5.

Http://blog.csdn.net/axman/article/details/6360707

6. The Deflater class is not immediately closed after use, resulting in performance degradation.

Http://blog.csdn.net/axman/article/details/5591301

7. repeatedly calling font. createfont causes navtive Memory leakage

Http://aprilsoft.cn/blog/post/295.html'

8. Repeat netty's nioclientsocketchannelfactory to cause direct memory leakage

Http://code.alibabatech.com/blog/experience_1348/netty-nio-direct-memory-leak.html

9. Hessian serialization has no serializerfactory performance problems

Http://code.alibabatech.com/blog/experience_1089/hessian-set-serializerfactory-performance.html

10. The server returns 502 because the timeout value set by JK is too short.

Http://blog.csdn.net/madding/article/details/7708326

11. Memory leakage of javasblockingqueue in JDK

Http://sesame.iteye.com/blog/428026

12. Pay attention to the details of Apache Oro usage (concurrency issues)

Http://agapple.iteye.com/blog/1682858

[3. Jokes]

1. Eclipse cannot be started due to JDK version upgrade

2. JDK reads the directory of the wrong directory, causing the JPs to find the wrong process.

Http://blog.csdn.net/axman/article/details/6202198

[4. Others]

1. An extremely high load process analysis is very valuable

Http://blog.csdn.net/axman/article/details/7104819

2. Diagnosis of template cycle Reference Fault

Http://blog.csdn.net/axman/article/details/7730918

3. common tools for Online Fault Diagnosis

Http://code.alibabatech.com/blog/experience_1014/design-for-dummy.html

4. Fault Summary

Http://hi.baidu.com/dyyx007/item/cded90151a9a9c473b176e54

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.