Preview Of Any Asset Gives 'The Code Of Method _jspService() Is Exceeding The 65535 Bytes Limit'

(Doc ID 2195050.1)

Last updated on OCTOBER 24, 2016

Applies to:

Oracle WebCenter Sites - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Symptoms

After upgrade from WebCenter Sites 11g to 12c a blank page is being returned when trying to preview an asset.
The following error is observed in sites.log:

[2016-09-26T19:19:16.407+00:00] [wcsites_server1] [ERROR] [] [oracle.wcsites.request] [tid: 122] [userId: ] [ecid: a7d5aa49-3d67-4d85-80b4-eec23130c460-00000119,0] [APP: sites] [partition-name: DOMAIN] [tenant-name: GLOBAL] Exception including resource /jsp/cs_deployed/Asset_C/AssetNavImage/Detail.jsp[[
javax.servlet.ServletException: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /jsp/cs_deployed/Asset_C/AssetNavImage/Detail.jsp
Detail.jsp:7:4: The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit
%>
  ^-----^

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