0

Background

Application server has been upgraded from tomcat 6 to tomcat 8. We are experiencing performance issues in transactions which involve XML processing using DOM4J and xerces api. The application uses dom4j-1.6.1.jar and xercesImpl-2.10.0.jar. There has been no change in the application which was deployed in tomcat 6 to the application deployed in tomcat 8.

Problem

We use Dynatrace to monitor our application. We have seen that in tomcat 8, the time taken for classloading api has increased significantly, leading to performance degradation. This

tomcat 8 classloading time and api breakdown leading to classloading

shows the time taken by the classloading api in Tomcat 8 and this

shows what was happening in tomcat 6

shows what was happening in tomcat 6.

From the above pics, we can see that Classloading is invoked from the xerces apis(Xml Processing in the pic), so the transactions using the xerces api have show performance degradation.

Please help in understanding why the classloading times have increased in tomcat 8 and how to get rid of this problem in tomcat8. Thanks.

4

1 回答 1

0

你看过这个博客吗?查看关于 Xerces 配置设置的第一条评论:http: //apmblog.dynatrace.com/2015/05/14/java-performance-impact-by-dynamic-class-loading/

于 2015-11-06T08:07:43.800 回答