Error using jsp pages in idpv3

Lipscomb, Gary glipscomb at
Tue Apr 12 18:09:51 EDT 2016


I’m trying to re-use our existing v2 .jsp pages in a new install of idpv3 until we can develop the velocity templates and I’m getting the following error [1] in the logs.  The wiki [2] says that v2 TagLibs are supported.  The login.jsp code snippet is at [3].

Are there any changes that need to be done that I’ve missed.

java  is Oracle
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)



Charles Sturt University

[1] idp-process.log

2016-04-12 14:26:26,132 - INFO [] - Unwrapped data has expired
2016-04-12 14:26:27,207 - ERROR [org.apache.velocity:96] - ResourceManager : unable to find resource 'login.vm' in any resource loader.
2016-04-12 14:26:27,652 - ERROR [org.springframework.webflow.execution.FlowExecutionException:76] -
org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'DisplayUsernamePasswordPage' of flow 'authn/Password'
                at org.springframework.webflow.engine.impl.FlowExecutionImpl.wrap(
Caused by: java.lang.IllegalStateException: Exception occurred rendering view org.springframework.web.servlet.view.JstlView: name 'login'; URL [/WEB-INF/jsp/login.jsp]
                at org.springframework.webflow.mvc.view.AbstractMvcView.render(

Caused by: org.apache.jasper.JasperException: /WEB-INF/jsp/login.jsp (line: 151, column: 78) Unable to load tag handler class "edu.internet2.middleware.shibboleth.idp.ui.ServiceNameTag" for tag "idpui:serviceName"

                at org.apache.jasper.compiler.DefaultErrorHandler.jspError(


[3] login.jsp

<!DOCTYPE html>
<%@ page buffer="32kb" autoFlush="false" %>

<%@ taglib uri="urn:mace:shibboleth:2.0:idp:ui" prefix="idpui" %>
<%@ taglib prefix="c" uri="" %>
<%@ taglib prefix="fn" uri="" %>

<%@ page import="edu.internet2.middleware.shibboleth.common.relyingparty.RelyingPartyConfigurationManager" %>
<%@ page import="edu.internet2.middleware.shibboleth.idp.util.HttpServletHelper" %>
<%@ page import="" %>
<%@ page import="edu.internet2.middleware.shibboleth.idp.authn.LoginContext" %>
<%@ page import="edu.internet2.middleware.shibboleth.idp.authn.LoginContextEntry" %>
<%@ page import="" %>

<%@ page import="javax.servlet.http.Cookie" %>
<%@ page import="org.opensaml.xml.util.DatatypeHelper" %>
<%@ page import="org.joda.time.DateTime" %>
<%@ page import="org.joda.time.DateTimeZone" %>

<html xmlns="" xml:lang="en" lang="en">
<%@ include file="header.jsp" %>


<section id="container-wrap">

        <%@ include file="global.jsp" %>
        <section id="page"><!-- Page Container -->
                <%@ include file="top-header.jsp" %>
                <section id="content" class="show-menu-no show-right-column-no" >
                        <div id="block-2"><!-- Start content block 2-->
                                <div class="page-wrap-2-3"><!-- start page-wrap-2-3 -->

Line 151                                        <h2 class="module-title-1">LOGIN TO : <idpui:serviceName/>${serviceName}</h2>

                                                <% if (loginContext == null) {%>
                                                        <div id="content-module-1-4a-div" class="login-padding">
                                                                <h3><span class="red">LOGIN ERROR:</span> </h3>
                                                                <p>We  are unable to determine what you are trying to access. This is commonly caused  by:</p>


Charles Sturt University


This email (and any attachment) is confidential and is intended for the use of the addressee(s) only. If you are not the intended recipient of this email, you must not copy, distribute, take any action in reliance on it or disclose it to anyone. Any confidentiality is not waived or lost by reason of mistaken delivery. Email should be checked for viruses and defects before opening. Charles Sturt University (CSU) does not accept liability for viruses or any consequence which arise as a result of this email transmission. Email communications with CSU may be subject to automated email filtering, which could result in the delay or deletion of a legitimate email before it is read at CSU. The views expressed in this email are not necessarily those of CSU.

Charles Sturt University in Australia
The Grange Chancellery, Panorama Avenue, Bathurst NSW Australia 2795
(ABN: 83 878 708 551; CRICOS Provider Numbers: 00005F (NSW), 01947G (VIC), 02960B (ACT)). TEQSA Provider Number: PV12018

Consider the environment before printing this email.

More information about the users mailing list