Problem Note 50525: During the accept/respond stage of a form-based assessment in SAS® Enterprise GRC, an "exception occurred processing JSP" error might be displayed
When you use form-based assessments in the SAS Enterprise GRC web application, the following error message might be displayed during the accept/respond stage:
org.apache.jasper.JasperException: An exception occurred processing JSP
page /tiles/CSA/assessment/ratingsSummary/ratingsSummaryEditor.jsp at line 107
104: </c:if>
105:
106: <%-- render the screen --%>
107: <cpb:screen readOnly="<%= model.isReadOnly() %>" />
108:
109: </mon:Content>
110: </html:form>
Stacktrace:
at org.apache.jasper.servlet.JspServletWrapper.handleJspException
(JspServletWrapper.java:518)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
....
....
Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException:
org.apache.jasper.JasperException: Unable to compile class for JSP:
In the application server log file, this message appears:
An error occurred at line: 32 in the jsp file:
/tiles/CSA/assessment/ratingsSummary/RatingsSummaryTableComponent.jsp
Syntax error, parameterized types are only available if source level is 5.0
29: final ComponentFieldRenderer.ComponentInfo componentInfo =
30: ComponentFieldRenderer.getComponentInfo(request);
31:
32: Map<String,Object> params = componentInfo.getField().getParameters(uiContext);
33:
34: boolean showClose = true;
35: if (params.get(RatingsSummaryAsblTableComponent.PARAM_SHOW_CLOSE) != null)
The error messages are caused by the application server's jsp compiler when the compiler version is prior to JDK 5. The resolution of the problem depends on your application server. Here are examples showing how to resolve it for WebSphere and JBoss:
-
For WebSphere
Edit the web module file WEB-INF/ibm-web-ext.xmi to change its JSP compiler options. Set the “jdkSourceLevel” to “15”:
<jspAttributes xmi:id="JSPAttribute_1" name="jdkSourceLevel" value="15"/>
-
For JBboss
Update the file <JBOSS_HOME>/server/<serverName>/deploy/jboss-web.deployer/conf/web.xml. Add the following compilerSourceVM and compilerTargetVM parameters to the JSP Servlet:
<init-param>
<param-name>compilerSourceVM</param-name>
<param-value>1.5</param-value>
</init-param>
<init-param>
<param-name>compilerTargetVM</param-name>
<param-value>1.5</param-value>
</init-param>
Operating System and Release Information
SAS System | SAS Enterprise GRC | Microsoft® Windows® for x64 | 4.3 | | | |
Microsoft Windows 8 Enterprise 32-bit | 4.3 | | | |
Microsoft Windows 8 Enterprise x64 | 4.3 | | | |
Microsoft Windows 8 Pro 32-bit | 4.3 | | | |
Microsoft Windows 8 Pro x64 | 4.3 | | | |
Microsoft Windows 95/98 | 4.3 | | | |
Microsoft Windows 2000 Advanced Server | 4.3 | | | |
Microsoft Windows 2000 Datacenter Server | 4.3 | | | |
Microsoft Windows 2000 Server | 4.3 | | | |
Microsoft Windows 2000 Professional | 4.3 | | | |
Microsoft Windows NT Workstation | 4.3 | | | |
Microsoft Windows Server 2003 Datacenter Edition | 4.3 | | | |
Microsoft Windows Server 2003 Enterprise Edition | 4.3 | | | |
Microsoft Windows Server 2003 Standard Edition | 4.3 | | | |
Microsoft Windows Server 2003 for x64 | 4.3 | | | |
Microsoft Windows Server 2008 | 4.3 | | | |
Microsoft Windows Server 2008 R2 for x64 | 4.3 | | | |
Microsoft Windows Server 2008 for x64 | 4.3 | | | |
Microsoft Windows Server 2012 Datacenter | 4.3 | | | |
Microsoft Windows Server 2012 Std | 4.3 | | | |
Microsoft Windows XP Professional | 4.3 | | | |
Windows 7 Enterprise 32 bit | 4.3 | | | |
Windows 7 Enterprise x64 | 4.3 | | | |
Windows 7 Home Premium 32 bit | 4.3 | | | |
Windows 7 Home Premium x64 | 4.3 | | | |
Windows 7 Professional 32 bit | 4.3 | | | |
Windows 7 Professional x64 | 4.3 | | | |
Windows 7 Ultimate 32 bit | 4.3 | | | |
Windows 7 Ultimate x64 | 4.3 | | | |
Windows Millennium Edition (Me) | 4.3 | | | |
Windows Vista | 4.3 | | | |
Windows Vista for x64 | 4.3 | | | |
64-bit Enabled AIX | 4.3 | | | |
64-bit Enabled Solaris | 4.3 | | | |
HP-UX IPF | 4.3 | | | |
Linux for x64 | 4.3 | | | |
Solaris for x64 | 4.3 | | | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2013-07-31 13:21:36 |
Date Created: | 2013-07-26 15:30:15 |