<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=us-ascii">
<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:Cambria;
        panose-1:2 4 5 3 5 4 6 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@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">
<div class="WordSection1">
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have been working on upgrading tomcat from 9.0.14 to 9.0.33 to remediate vulnerabilities.<o:p></o:p></p>
<p class="MsoNormal">Tomcat is installed on D:\apps  directory<o:p></o:p></p>
<p class="MsoNormal">IDP is installed on D:\opt]shibboleth-idp<o:p></o:p></p>
<p class="MsoNormal">IDP Version: 3.4.1<o:p></o:p></p>
<p class="MsoNormal">OS: Windows 2016<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But after I move the IDP appl. to web apps on 9.0.33, I start getting following error in Catalina logs:<o:p></o:p></p>
<p class="MsoNormal">29-Apr-2020 14:27:14.750 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\apps\webapps\idp]<o:p></o:p></p>
<p class="MsoNormal">29-Apr-2020 14:27:20.922 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs
 were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.<o:p></o:p></p>
<p class="MsoNormal">29-Apr-2020 14:27:21.453 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file<o:p></o:p></p>
<p class="MsoNormal">29-Apr-2020 14:27:21.453 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal Context [/idp] startup failed due to previous errors<o:p></o:p></p>
<p class="MsoNormal">29-Apr-2020 14:27:21.547 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\apps\webapps\idp] has finished in [6,797] ms<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Logs from stdout logs:<o:p></o:p></p>
<p class="MsoNormal">2020-04-29 12:56:21.988 [ERROR] : net.shibboleth.idp.spring.IdPPropertiesApplicationContextInitializer: Unable to find '/conf/idp.properties' at well known locations '[/opt/shibboleth-idp]'<o:p></o:p></p>
<p class="MsoNormal">2020-04-29 12:56:22.004 [ERROR] : org.springframework.web.context.ContextLoader: Context initialization failed<o:p></o:p></p>
<p class="MsoNormal">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">                at net.shibboleth.idp.spring.IdPPropertiesApplicationContextInitializer.initialize(IdPPropertiesApplicationContextInitializer.java:138)<o:p></o:p></p>
<p class="MsoNormal">                at org.springframework.web.context.ContextLoader.customizeContext(ContextLoader.java:482)<o:p></o:p></p>
<p class="MsoNormal">                at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:442)<o:p></o:p></p>
<p class="MsoNormal">                at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)<o:p></o:p></p>
<p class="MsoNormal">                at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Has anybody faced the same issue on latest version of tomcat? Please let me know if you were able to fix it and how.<o:p></o:p></p>
<p class="MsoNormal">Thanks in advance.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Kshitij Chug </span></b><span style="font-size:9.0pt;font-family:"Cambria",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>