RE: Server Administration page causes Exception

Amos Fong, modified 7 Years ago. New Member Posts: 7 Join Date: 4/5/12 Recent Posts

We are running Liferay Portal Community Edition 6.2 CE GA6 (Newton / Build 6205 / January 6, 2016)

 

When I try to access the "Control Panel > Configuration > Server Administration" page, I only see a blank page and the log shows this

12:26:04,358 ERROR [ajp-bio-127.0.0.1-8009-exec-3][IncludeTag:129] Current URL /group/control_panel?refererPlid=22274&p_p_id=137 generates exception: Unable to compile class for JSP:

 

An error occurred at line: [560] in the generated java file: [/var/lib/tomcat7/work/Catalina/localhost/_/org/apache/jsp/html/portlet/admin/view_jsp.java]

The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit

 

Stacktrace:

org.apache.jasper.JasperException: Unable to compile class for JSP:

 

An error occurred at line: [560] in the generated java file: [/var/lib/tomcat7/work/Catalina/localhost/_/org/apache/jsp/html/portlet/admin/view_jsp.java] The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit

 

Stacktrace:

at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)

at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)

at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:536)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:379)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:341)

at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:660)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)

at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:743)

at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:603)

at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:542)

 

I'm not aware of any changes we made to the portal since I last saw this page working properly.

Where would I start looking for the problem?

thumbnail
Jorge Díaz, modified 7 Years ago. Liferay Master Posts: 753 Join Date: 1/9/14 Recent Posts

Hi Florian,

That is a Java limitation related to JSP files, have a look to:

 

Last link has a workaround, perhaps  it is the same problem than yours.

Regards,

Jorge