<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Aptos",serif;
mso-fareast-language:EN-US;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:11.0pt;
mso-ligatures:none;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’m currently working on the upgrade from Shib v4 and Jetty9 to Shib v5 and Jetty12.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">At this point the setup is working with Jetty11 and Shibv5:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">jdk_version: 17.0.15<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">idp_version: 5.1.4<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">jetty version: 11.0.25<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">After I’ve upgraded to Jetty12, I know get these errors in the jetty.log:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2025-05-22 17:27:56,240 - WARN [org.eclipse.jetty.ee9.annotations.AnnotationParser:665] - org.apache.taglibs.standard.lang.jstl.BinaryOperator scanned from multiple locations: jar:file:///opt/jetty-home-12.0.21/lib/ee9-glassfish-jstl/org.glassfish.web.jakarta.servlet.jsp.jstl-2.0.0.jar!/org/apache/taglibs/standard/lang/jstl/BinaryOperator.class,
jar:file:///opt/jetty-base-12/tmp/jetty-127_0_0_1-80-idp_war-_idp-any-13251502949287076639/webinf/WEB-INF/lib/jakarta.servlet.jsp.jstl-3.0.1.jar!/org/apache/taglibs/standard/lang/jstl/BinaryOperator.class<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2025-05-22 17:27:56,240 - WARN [org.eclipse.jetty.ee9.annotations.AnnotationParser:665] - org.apache.taglibs.standard.lang.jstl.ModulusOperator scanned from multiple locations: jar:file:///opt/jetty-home-12.0.21/lib/ee9-glassfish-jstl/org.glassfish.web.jakarta.servlet.jsp.jstl-2.0.0.jar!/org/apache/taglibs/standard/lang/jstl/ModulusOperator.class,
jar:file:///opt/jetty-base-12/tmp/jetty-127_0_0_1-80-idp_war-_idp-any-13251502949287076639/webinf/WEB-INF/lib/jakarta.servlet.jsp.jstl-3.0.1.jar!/org/apache/taglibs/standard/lang/jstl/ModulusOperator.class<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2025-05-22 17:27:56,687 - INFO [org.eclipse.jetty.ee9.nested.ContextHandler.idp:2040] - No Spring WebApplicationInitializer types detected on classpath<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2025-05-22 17:27:56,708 - INFO [org.eclipse.jetty.ee9.nested.ContextHandler.idp:2040] - Initializing Spring root WebApplicationContext<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2025-05-22 17:28:01,592 - WARN [org.eclipse.jetty.util.DeprecationWarning:38] - Using @Deprecated Class net.shibboleth.idp.log.SLF4JMDCServletFilter<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2025-05-22 17:28:01,610 - WARN [org.eclipse.jetty.ee9.servlet.BaseHolder:103] - Unable to load class org.eclipse.jetty.servlet.DefaultServlet<o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">java.lang.ClassNotFoundException</span></i><span lang="EN-US">: org.eclipse.jetty.servlet.DefaultServlet<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2025-05-22 17:28:01,626 - INFO [org.eclipse.jetty.ee9.nested.ContextHandler.idp:2040] - Initializing Spring DispatcherServlet 'idp'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2025-05-22 17:28:02,096 - WARN [org.eclipse.jetty.ee9.webapp.WebAppContext:538] - Failed startup of context oeje9w.WebAppContext@2ed3b1f5{Shibboleth Identity Provider,/idp,[file:///opt/jetty-base-12/tmp/jetty-127_0_0_1-80-idp_war-_idp-any-13251502949287076639/webinf/,
jar:file:///opt/shibboleth-idp/war/idp.war!/],false}{/opt/shibboleth-idp/war/idp.war}<o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">jakarta.servlet.UnavailableException</span></i><span lang="EN-US">: Class loading error for holder default==org.eclipse.jetty.servlet.DefaultServlet@5c13d641{jsp=null,order=0,inst=false,async=false,src=DESCRIPTOR:file:///opt/jetty-home-12.0.21/etc/webdefault-ee9.xml,STARTING}<o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US"> at org.eclipse.jetty.ee9.servlet.BaseHolder.doStart(BaseHolder.java:104)<o:p></o:p></span></i></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’ve checked that idp.properties exists and I set the idp.home directory in the jetty start.ini. Permissions shouldn’t matter too much, because I start the jetty server as root, at least for now.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">After starting, the Shibboleth IdP only throws 503 errors:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"># bin/status.sh <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">(http://localhost/idp/status) Server returned HTTP response code: 503 for URL: http://localhost/idp/status<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The output of the start.jar includes these lines:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2025-05-22 17:56:40.819 [ WARN] : DEPRECATED: Java class 'net.shibboleth.ext.spring.context.DelimiterAwareApplicationContext', (web.xml): This will be removed in the next major version of this software; replacement is
auto-registration via updated web.xml<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2025-05-22 17:56:41.886 [ WARN] : com.zaxxer.hikari.util.DriverDataSource: Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I don’t really get how these warnings occur. Our MySQL Config uses HikariCP as the class, which should be loaded correctly. The same warnings also occur on jetty11 and that does start correctly.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">What can I do to debug this further?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Greetings<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Philip </span><span style="font-family:"Calibri",sans-serif;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>