My Oracle Support Banner

JSP Compilation Fails with the Error "PWC6199: Generated servlet error: code too large for try statement" on Oracle GlassFish Server (Doc ID 1408234.1)

Last updated on FEBRUARY 27, 2024

Applies to:

Oracle GlassFish Server - Version 9.1 and later
Information in this document applies to any platform.


When you deploy a web module or application that includes a web module that uses JSPs you see the following error in the server.log: 

or perhaps you use a framework that generates dynamic code that has changed which is generating more code.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.