Subject: | Re: Java_opts, memory, cannot reset buffer??? |
---|---|
Date: | Tue, 26 Apr 2016 18:04:15 +0200 |
From: | Oscar Arribas <oscar@redhat.com> |
To: | Qadeer Khan <qkhan@redhat.com> |
CC: | jboss-migration@redhat.com |
We are getting these error messages during run time on EAP 6.4 server. We recently migrated an application from EAP 5 to EAP 6.4
------------------------------
1. ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/wac-ia].[jsp]] (http-127.0.0.1/127.0.0.1:8080-4) JBWEB000236: Servlet.service() for servlet jsp threw exception: javax.servlet.jsp.JspException: JBWEB004062: Unable to compile class for JSP:
2. JBWEB004061: An error occurred at line: 90 in the generated java file: C:\jboss6\standalone\tmp\work\jboss.web\default-host\wac-ia\org\apache\jsp\pages\content\credit_005frisk_005fdecision_005fcontent_jsp.java
The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit
3. ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host]] (http-127.0.0.1/127.0.0.1:8080-4) JBWEB000313: Exception processing error page /prepareExceptionOccured.do: java.lang.IllegalStateException: JBWEB000029: Cannot reset buffer after response has been committed
-------------------------------
I am not sure if it is related to JAVA_OPTS setting but that's what we have for JAVA_OPTS
"JAVA_OPTS=-Xms256m -Xmx1024m -XX:MaxPermSize=256m.
We are using servlet version 3.0 and server RAM is 6G.
Appreciate any insight into the problem and any recommendation on how to resolve it?
Regards
Qadeer Khan - RHCJA,RHCSA
RedHat Consulting - Public Sector
Senior Consultant
Mobile: 703-798-5621
Email: qkhan@redhat.com
http://www.redhat.com