JSP COMPILE -GETTING WEBLOGIC RUNTIME EXCEPTION - CODE TOO LARGE FOR TRY STATEMENT (Doc ID 1059685.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version: 8.1 to 9.2
Information in this document applies to any platform.

Symptoms

When the content of a JSP page is unusually large it might cause the below exception in the logs:
D:\SOFTWARE\BEA\BEA8.1-5\user_projects\domains\biologics\.\myserver\.wlnotdelete\extract\myserver_iNetApp_BiologicsWeb.war\jsp_servlet\_resources\_submission\__consolidated.java:10519: code too large for try statement
} catch (Throwable __ee) {
^ ^
3 errors

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:428)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:526)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms