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
shows the time taken by the classloading api in Tomcat 8 and this
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.