On a WebSphere Application Server 6.1 instance, the /sample/saml2/sp/configure.jsp and /sample/saml2/idp/configure.jsp files fail to compile. The configure.jsp files require JDK 1.5, but the JDK source level for JSP files is set to JDK 1.3 on WebSphere Application Server 6.1.
Workaround: Edit the JSP engine configuration parameters to set the JDK source level to 1.5:
Open the WEB-INF/ibm-web-ext.xmi file.
JSP engine configuration parameters are stored either in a web module's configuration directory or in a web module's binaries directory in the WEB-INF/ibm-web-ext.xmi file:
Configuration directory. For example:
{WAS_ROOT}/profiles/profilename/config/cells/cellname/applications/ enterpriseappname/deployments/deployedname/webmodulename/
Binaries directory, if an application was deployed into WebSphere Application Server with the flag “Use Binary Configuration” flag set to true. For example:
{WAS_ROOT}/profiles/profilename/installedApps/nodename/ enterpriseappname/webmodulename/
Delete the compileWithAssert parameter by either deleting the statement from the file or enclosing the statement with comment tags (<!— and –>).
Add the jdkSourceLevel parameter with the value of 15. For example:
<jspAttributes xmi:id="JSPAttribute_1" name="jdkSourceLevel" value="15"/>
Note: The integer (_1) in JSPAttribute_1 must be unique within the file.
Save the ibm-web-ext.xmi file.
Restart the application.
For more information about the jdkSourceLevel parameter as well as other JSP engine configuration parameters, see: