Why is JBoss compiling our JSP?

Solution In Progress - Updated -

Environment

  • JBoss Enterprise Application Platform (EAP) 5.x

Issue

  • Why is JBoss compiling our JSP? We use precompiled JSPs so would not expect to see such JSP compilation activity.

Resolution

  • JSPs will need to be compiled at least on the first access, and potentially afterwards too if you have recompilation enabled.
  • If using precompiled JSPs, ensure that a precompiled class is generated and mapped in your web.xml for every page.

Root Cause

  • A page was left without a mapped precompiled JSP.

Diagnostic Steps

  • Check the app for any JSPs that are not precompiled and mapped in the application WEB-INF/web.xml

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.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.