<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<base href="https://issues.shibboleth.net/jira">
<title>Message Title</title>
</head>
<body class="jira" style="color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 1.429">
<table id="background-table" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #f5f5f5; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt" bgcolor="#f5f5f5">
<!-- header here -->
<tbody>
<tr>
<td id="header-pattern-container" style="padding: 0px; border-collapse: collapse; padding: 10px 20px">
<table id="header-pattern" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tbody>
<tr>
<td id="header-avatar-image-container" valign="top" style="padding: 0px; border-collapse: collapse; vertical-align: top; width: 32px; padding-right: 8px" width="32"> <img id="header-avatar-image" class="image_fix" src="cid:jira-generated-image-avatar-195a7f7e-dd22-4472-92ab-bb5db7fa1ae3" height="32" width="32" border="0" style="border-radius: 3px; vertical-align: top"> </td>
<td id="header-text-container" valign="middle" style="padding: 0px; border-collapse: collapse; vertical-align: middle; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 1px"> <a class="user-hover" rel="f9ad184bcd295adbc39e28a8bab23abde90a1c8ad6769853824cd9ca5ae943a6@https://login.idp.eduid.se/idp.xml" id="email_f9ad184bcd295adbc39e28a8bab23abde90a1c8ad6769853824cd9ca5ae943a6@https://login.idp.eduid.se/idp.xml" href="https://issues.shibboleth.net/jira/secure/ViewProfile.jspa?name=f9ad184bcd295adbc39e28a8bab23abde90a1c8ad6769853824cd9ca5ae943a6%40https%3A%2F%2Flogin.idp.eduid.se%2Fidp.xml" style="color:#0052cc;; color: #3b73af; text-decoration: none">f9ad184bcd295adbc39e28a8bab23abde90a1c8ad6769853824cd9ca5ae943a6@https://login.idp.eduid.se/idp.xml</a> <strong>commented</strong> on <a href="https://issues.shibboleth.net/jira/browse/IDP-1820" style="color: #3b73af; text-decoration: none"><img src="cid:jira-generated-image-avatar-94e37834-b00d-4b6e-aba9-61be33061518" height="16" width="16" border="0" align="absmiddle" alt="Bug"> IDP-1820</a> </td>
</tr>
</tbody>
</table> </td>
</tr>
<tr>
<td id="email-content-container" style="padding: 0px; border-collapse: collapse; padding: 0 20px">
<table id="email-content-table" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0; border-collapse: separate">
<tbody>
<tr>
<!-- there needs to be content in the cell for it to render in some clients -->
<td class="email-content-rounded-top mobile-expand" style="padding: 0px; border-collapse: collapse; color: #ffffff; padding: 0 15px 0 16px; height: 15px; background-color: #ffffff; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; border-right: 1px solid #cccccc; border-bottom: 0; border-top-right-radius: 5px; border-top-left-radius: 5px; height: 10px; line-height: 10px; padding: 0 15px 0 16px; mso-line-height-rule: exactly" height="10" bgcolor="#ffffff"> </td>
</tr>
<tr>
<td class="email-content-main mobile-expand " style="padding: 0px; border-collapse: collapse; border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #ffffff" bgcolor="#ffffff">
<table class="page-title-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tbody>
<tr>
<td style="vertical-align: top;; padding: 0px; border-collapse: collapse; padding-right: 5px; font-size: 20px; line-height: 30px; mso-line-height-rule: exactly" class="page-title-pattern-header-container"> <span class="page-title-pattern-header" style="font-family: Arial, sans-serif; padding: 0; font-size: 20px; line-height: 30px; mso-text-raise: 2px; mso-line-height-rule: exactly; vertical-align: middle"> <a href="https://issues.shibboleth.net/jira/browse/IDP-1820" style="color: #3b73af; text-decoration: none">Re: After Upgrading 4.0.1 to 4.1.0 on Tomcat 9, IDP won't deploy, global.xml not found</a> </span> </td>
</tr>
</tbody>
</table> </td>
</tr>
<tr>
<td id="text-paragraph-pattern-top" class="email-content-main mobile-expand comment-top-pattern" style="padding: 0px; border-collapse: collapse; border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #ffffff; border-bottom: none; padding-bottom: 0" bgcolor="#ffffff">
<table class="text-paragraph-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 2px">
<tbody>
<tr>
<td class="text-paragraph-pattern-container mobile-resize-text " style="padding: 0px; border-collapse: collapse; padding: 0 0 10px 0"> <p style="margin: 10px 0 0 0; margin-top: 0">Scott, thanks for continuing to look at this with me.</p> <p style="margin: 10px 0 0 0"> </p> <p style="margin: 10px 0 0 0">I ran through same procedure on tomcat 9.0.37, made sure to clear directories, same issue</p> <p style="margin: 10px 0 0 0">Then as suggested I installed tomcat 9.0.45 which has a clean webapps folder and has never been launched before... (no temporary work directories or any disk staging/caching of any kind.) I then configure it to launch idp.xml which points to the 4.1.0 idp.war and start the java container and see the same issue. (You can see updated tomcat path in the IOException stack)</p> <p style="margin: 10px 0 0 0"> </p> <p style="margin: 10px 0 0 0">2021-05-11 15:00:57.061 <span class="error">[ERROR]</span> : org.springframework.web.context.ContextLoader: Context initialization failed<br> org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location <span class="error">[classpath:/net/shibboleth/idp/conf/global-system.xml]</span><br> Offending resource: file <span class="error">[/opt/shibboleth-idp/system/conf/global-system.xml]</span>; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location <span class="error">[/opt/shibboleth-idp/conf/global.xml]</span><br> Offending resource: class path resource <span class="error">[net/shibboleth/idp/conf/global-system.xml]</span>; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from URL <span class="error">[jar:file:/opt/apache-tomcat-9.0.45/webapps/idp/WEB-INF/lib/idp-conf-impl-4.1.0.jar!/net/shibboleth/idp/conf/opt/shibboleth-idp/conf/global.xml]</span>; nested exception is java.io.FileNotFoundException: JAR entry net/shibboleth/idp/conf/opt/shibboleth-idp/conf/global.xml not found in /opt/apache-tomcat-9.0.45/webapps/idp/WEB-INF/lib/idp-conf-impl-4.1.0.jar<br> at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:72)<br> ..<br> Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location <span class="error">[/opt/shibboleth-idp/conf/global.xml]</span><br> Offending resource: class path resource <span class="error">[net/shibboleth/idp/conf/global-system.xml]</span>; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from URL <span class="error">[jar:file:/opt/apache-tomcat-9.0.45/webapps/idp/WEB-INF/lib/idp-conf-impl-4.1.0.jar!/net/shibboleth/idp/conf/opt/shibboleth-idp/conf/global.xml]</span>; nested exception is java.io.FileNotFoundException: JAR entry net/shibboleth/idp/conf/opt/shibboleth-idp/conf/global.xml not found in /opt/apache-tomcat-9.0.45/webapps/idp/WEB-INF/lib/idp-conf-impl-4.1.0.jar</p> <p style="margin: 10px 0 0 0">I attached full catalina.out</p> <p style="margin: 10px 0 0 0">I am happy to enable any debug and try again - Can you perhaps provide some info on the specific debug you want me to enable? Or any other tests you'd like me to run?</p> <p style="margin: 10px 0 0 0">It would be disappointing to have to move to Jetty to resolve this, we've been running Shib on Tomcat for a decade in my org and this is where our expertise is.</p> </td>
</tr>
</tbody>
</table> </td>
</tr>
<tr>
<td class="email-content-main mobile-expand " style="padding: 0px; border-collapse: collapse; border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #ffffff" bgcolor="#ffffff">
<table id="actions-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 1px">
<tbody>
<tr>
<td id="actions-pattern-container" valign="middle" style="padding: 0px; border-collapse: collapse; padding: 10px 0 10px 24px; vertical-align: middle; padding-left: 0">
<table align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tbody>
<tr>
<td class="actions-pattern-action-icon-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 0; vertical-align: middle"> <a href="https://issues.shibboleth.net/jira/browse/IDP-1820#add-comment" target="_blank" title="Add Comment" style="color: #3b73af; text-decoration: none"> <img class="actions-pattern-action-icon-image" src="cid:jira-generated-image-static-comment-icon-9b034680-4543-401c-a4ec-877b7a896098" alt="Add Comment" title="Add Comment" height="16" width="16" border="0" style="vertical-align: middle"> </a> </td>
<td class="actions-pattern-action-text-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 4px; padding-left: 5px"> <a href="https://issues.shibboleth.net/jira/browse/IDP-1820#add-comment" target="_blank" title="Add Comment" style="color: #3b73af; text-decoration: none">Add Comment</a> </td>
</tr>
</tbody>
</table> </td>
</tr>
</tbody>
</table> </td>
</tr>
<!-- there needs to be content in the cell for it to render in some clients -->
<tr>
<td class="email-content-rounded-bottom mobile-expand" style="padding: 0px; border-collapse: collapse; color: #ffffff; padding: 0 15px 0 16px; height: 5px; line-height: 5px; background-color: #ffffff; border-top: 0; border-left: 1px solid #cccccc; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; mso-line-height-rule: exactly" height="5" bgcolor="#ffffff"> </td>
</tr>
</tbody>
</table> </td>
</tr>
<tr>
<td id="footer-pattern" style="padding: 0px; border-collapse: collapse; padding: 12px 20px">
<table id="footer-pattern-container" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tbody>
<tr>
<td id="footer-pattern-text" class="mobile-resize-text" width="100%" style="padding: 0px; border-collapse: collapse; color: #999999; font-size: 12px; line-height: 18px; font-family: Arial, sans-serif; mso-line-height-rule: exactly; mso-text-raise: 2px"> This message was sent by Atlassian Jira <span id="footer-build-information">(v8.5.4#805004-<span title="0444eab799707f9ad7b248d69f858774aadfd250" data-commit-id="0444eab799707f9ad7b248d69f858774aadfd250}">sha1:0444eab</span>)</span> </td>
<td id="footer-pattern-logo-desktop-container" valign="top" style="padding: 0px; border-collapse: collapse; padding-left: 20px; vertical-align: top">
<table style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tbody>
<tr>
<td id="footer-pattern-logo-desktop-padding" style="padding: 0px; border-collapse: collapse; padding-top: 3px"> <img id="footer-pattern-logo-desktop" src="https://issues.shibboleth.net/jira/images/mail/atlassian-email-logo.png" alt="Atlassian logo" title="Atlassian logo" width="191" height="24" class="image_fix"> </td>
</tr>
</tbody>
</table> </td>
</tr>
</tbody>
</table> </td>
</tr>
</tbody>
</table>
</body>
</html>