Tomcat 8.5.15: bad jaxb performance in comparison with Tomcat 8.0.32
See original GitHub issueHello,
We have a microservice transforming json input to xml output. Jaxb 2.0 is used to create the xml. After an upgrade from version 1.3.3 to 1.5.4 we noticed bad performance. Jaxb2RootElementHttpMessageConverter
is used to transform the java bean to an xml. Jackson is used to transform the json input into a pojo. With a profiler we noticed that following call’s were causing the bad performance: JAXBContext.newInstance(<some class>)
& SchemaFactory.newInstance(<some schema string>)
. Both are searching for classes on the classpath.
Could this be related to #9670 ?
The solution was forcing spring boot to use tomcat 8.0.32 instead of tomcat 8.5.15
Regards,
Peter
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Apache Tomcat 8 (8.5.84) - Changelog
Improve the performance of the ImportHandler in the Expression ... Fix JNDIRealm pooling problems retrying on another bad connection.
Read more >Why is Tomcat looking for jaxb jars in the wrong places?
The jaxb-impl. jar file contains a classpath reference to jaxb-core. jar hence Tomcat looks for it in the same directory as the jaxb-impl....
Read more >subject:"jasper" - The Mail Archive
Re: embeded tomcat apache-jasper dependency ... A while ago, we upgraded to 8.5.15 and I think at that stage, the above ant task ......
Read more >Upgrade to Tomcat 8.5.32 necessary - Jira Atlassian
The new vulnerabilities reported by apache are very serious. They can be patched by Tomcat 8.5.32 only. Currently the latest Tomcat available in...
Read more >JRebel Changelog | JRebel & XRebel by Perforce
Improvement: improved compatibility when enabling JRebel with VS Code ... Bug fix: fixed an integration issue with Tomcat and Remote Server Support that ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Should be fixed in https://svn.apache.org/viewvc?view=revision&revision=1802404
@wilkinsona @markt-asf thank you both!
Regards,
Peter