<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=Windows-1252">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am looking for some assistance with a new installation of Shibboleth IDP3. I currently have IDP3 with jetty-9.3.9.v20160517 running on a Windows 2016R2 server. I am looking to upgrade the system to a Windows 2019 and the latest version
 of Shibboleth IDP 4. Per Shib’s documentation, it is recommended to do an in-place upgrade rather than going directly to IDP4 as certain files from an older version might not work with IDP4 and could cause issues later. As of right now, I have a new instance
 of Windows 2019R2 server with IDP3 and jetty-9.4.35.v20201120. My goal was to configure the new server, copy the metadata file from the 2016 server, and get up and running, then do an in-place upgrade to IDP4. I wanted to stay away from touching the current
 Windows 2016R2 server to avoid any disruption. However, I keep running into the following issue:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">- WARN [org.eclipse.jetty.annotations.AnnotationParser:569] - javax.json.stream.JsonParsingException scanned from multiple locations: jar:file:///C:/Program%20Files%20(x86)/Shibboleth/IdP/jetty-base/tmp/jetty-0_0_0_0-443-idp_war-_idp-any-7673431210289208811/webinf/WEB-INF/lib/javax.json-1.0.4.jar!/javax/json/stream/JsonParsingException.class,
 jar:file:///C:/Program%20Files%20(x86)/Shibboleth/IdP/jetty-base/tmp/jetty-0_0_0_0-443-idp_war-_idp-any-7673431210289208811/webinf/WEB-INF/lib/javax.json-api-1.0.jar!/javax/json/stream/JsonParsingException.class<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">2021-11-15 17:26:52,870 - INFO [org.eclipse.jetty.annotations.AnnotationConfiguration:473] - Scanning elapsed time=4429ms<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">2021-11-15 17:26:53,952 - INFO [org.eclipse.jetty.server.handler.ContextHandler.idp:2363] - No Spring WebApplicationInitializer types detected on classpath<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">2021-11-15 17:26:54,015 - INFO [org.eclipse.jetty.server.session:334] - DefaultSessionIdManager workerName=node0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">2021-11-15 17:26:54,015 - INFO [org.eclipse.jetty.server.session:339] - No SessionScavenger set, using defaults<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">2021-11-15 17:26:54,015 - INFO [org.eclipse.jetty.server.session:132] - node0 Scavenging every 600000ms<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">2021-11-15 17:26:54,031 - WARN [org.eclipse.jetty.security.SecurityHandler:758] - ServletContext@o.e.j.w.WebAppContext@3745e5c6{Shibboleth Identity Provider,/idp,[file:///C:/Program%20Files%20(x86)/Shibboleth/IdP/jetty-base/tmp/jetty-0_0_0_0-443-idp_war-_idp-any-7673431210289208811/webinf/,
 jar:file:///C:/Program%20Files%20(x86)/Shibboleth/IdP/war/idp.war!/],STARTING}{C:/Program Files (x86)/Shibboleth/IdP/war/idp.war} has uncovered http methods for path: /*<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">2021-11-15 17:26:54,031 - INFO [org.eclipse.jetty.server.handler.ContextHandler.idp:2363] - Initializing Spring root WebApplicationContext<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">2021-11-15 17:26:54,234 - WARN [org.eclipse.jetty.webapp.WebAppContext:533] - Failed startup of context o.e.j.w.WebAppContext@3745e5c6{Shibboleth Identity Provider,/idp,[file:///C:/Program%20Files%20(x86)/Shibboleth/IdP/jetty-base/tmp/jetty-0_0_0_0-443-idp_war-_idp-any-7673431210289208811/webinf/,
 jar:file:///C:/Program%20Files%20(x86)/Shibboleth/IdP/war/idp.war!/],UNAVAILABLE}{C:/Program Files (x86)/Shibboleth/IdP/war/idp.war}<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">net.shibboleth.utilities.java.support.logic.ConstraintViolationException: Unable to find '/conf/idp.properties' at well known locations<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">                at net.shibboleth.idp.spring.IdPPropertiesApplicationContextInitializer.initialize(IdPPropertiesApplicationContextInitializer.java:138)<b><o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">The C:\Program Files (x86)\Shibboleth\IdP\jetty-base\webapps\idp.xml file contains the following:
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><?xml version="1.0"?><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd"><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><!-- =============================================================== --><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><!-- Configure the Shibboleth IdP webapp                             --><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><!-- =============================================================== --><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><Configure class="org.eclipse.jetty.webapp.WebAppContext"><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">  <Set name="war"><Property name="idp.war.path" /></Set><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">  <Set name="contextPath"><Property name="idp.context.path"  /></Set><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">  <Set name="extractWAR">false</Set><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">  <Set name="copyWebDir">false</Set><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">  <Set name="copyWebInf">true</Set><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"></Configure><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have modified the C:\Program Files (x86)\Shibboleth\IdP\jetty-base\start.d\idp.ini file to have the following entries:<o:p></o:p></p>
<p class="MsoNormal">                                <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">idp.context.path=/idp<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">idp.war.path=C:/Program Files (x86)/Shibboleth/IdP/war/idp.war<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have modified the idp.ini file to either use the full path or just the /idp path as I saw some users report online that might fix it. The Shibboleth IDP3 daemon has the following properties configured:<o:p></o:p></p>
<p class="MsoNormal">                <b>JAVA</b>: <o:p></o:p></p>
<p class="MsoNormal">                                Java class path= C:\Program Files (x86)\Shibboleth\Jetty\\start.jar<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">-Didp.home=C:/Program Files (x86)/Shibboleth/IdP<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">-Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.Slf4jLog<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">-Djava.io.tmpdir=C:/Program Files (x86)/Shibboleth/IdP/jetty-base/tmp<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">-XX:+UseG1GC<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"><o:p> </o:p></p>
<p class="MsoNormal">                <b>STARTUP: <o:p></o:p></b></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">jetty.base=C:\Program Files (x86)\Shibboleth\IdP\\jetty-base<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">jetty.logging.dir=C:\Program Files (x86)\Shibboleth\IdP\\jetty-base\logs<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">STOP.PORT=8963<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">STOP.Key={5EC3DDCF-1047-4A76-99EC-687A248A0DB2}<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am not entirely sure what I am missing or if I am changing the correct settings. Any help on this is highly appreciated it. And if I should do the upgrade differently, please let me know, I am all open ears.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you in advance!<o:p></o:p></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b>                <o:p></o:p></b></p>
</div>
</div>
</div>
</body>
</html>