Degraded performance in EAP 7.1 from ImportedClassELResolver
Environment
- JBoss Enterprise Application Platform (EAP) 7.1
Issue
- We recently upgraded from EAP 7.0 to 7.1 and see degraded performance. It seems EAP 7.1 is hitting extra processing overhead in
org.wildlfy.extension.undertow.ImportedClassELResolver.getValueand its underlyingjavax.el.ImportHandler.resolveClasscalls
Resolution
- Apply EAP 7.1 CP5 or later
- As a workaround, downgrade the servlet version in your WEB-INF/web.xml from 3.1 to 3.0 to avoid the use of the ImportedClassELResolver:
<web-app version="3.0">
...
Root Cause
- Content from issues.jboss.org is not included.JBEAP-14605
- EAP 7.1 added the ImportedClassELResolver with Content from issues.jboss.org is not included.WFLY-6939 and caused increased overhead
Diagnostic Steps
- Capture profiler snapshots from 7.1 and 7.0 and compare to see increased time in ImportedClassELResolver
Components
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.