<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Martin,</div>
<div><br>
</div>
<div>The recommended way to deploy Shib is to not unpack the war itself. You would use a deployment context to point Tomcat to the location of the war file on the filesystem.</div>
<div><br>
</div>
<div>If you are seeing a 404 and you see the file in the unpacked war, I would question whether that is the one Tomcat is actually serving. At that level, Shib is only a web application and Tomcat is serving files.</div>
<div><br>
</div>
<div>I would recommend going back and simplifying the deployment. Only deploy Shib within that Tomcat container. Use the deployment context as recommended. Pay special attention to any errors reported during the Tomcat start up (by Tomcat itself).</div>
<div><br>
</div>
<div>Paul</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>&lt;PARDEE&gt;, &quot;MARTIN (MARTIN)&quot; &lt;<a href="mailto:mlp@research.att.com">mlp@research.att.com</a>&gt;<br>
<span style="font-weight:bold">Reply-To: </span>Shibboleth Users &lt;<a href="mailto:users@shibboleth.net">users@shibboleth.net</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Tuesday, May 22, 2012 9:15 AM<br>
<span style="font-weight:bold">To: </span>Shibboleth Users &lt;<a href="mailto:users@shibboleth.net">users@shibboleth.net</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>RE: External Auth example, missing logo.<br>
</div>
<div><br>
</div>
<div 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">
<meta name="Generator" content="Microsoft Word 12 (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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.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]-->
<div lang="EN-US" link="blue" vlink="purple" style="word-wrap: break-word;-webkit-nbsp-mode: space;-webkit-line-break: after-white-space">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; ">Paul,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; ">Thanks for the tip, But tomcat unpacks the war file when it deploys,&nbsp; so it is easy to see that the logo file is indeed present.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; ">I’m pursuing the idea that the server is actually looking inside the jar where my servlet lives…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; ">Martin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">
<a href="mailto:users-bounces@shibboleth.net">users-bounces@shibboleth.net</a> [<a href="mailto:users-bounces@shibboleth.net">mailto:users-bounces@shibboleth.net</a>]
<b>On Behalf Of </b>Paul Hethmon<br>
<b>Sent:</b> Monday, May 21, 2012 3:42 PM<br>
<b>To:</b> Shib Users<br>
<b>Subject:</b> Re: External Auth example, missing logo.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal"><span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; ">Did you put those files in the &quot;src/main/webapp&quot; directory structure? Prior to building your war file?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; ">One easy check is to simply unzip the war file to a temp directory and look.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; ">Paul<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
</div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size: 11pt; color: black; font-family: Calibri, sans-serif; ">From:
</span></b><span style="font-size: 11pt; color: black; font-family: Calibri, sans-serif; ">&lt;PARDEE&gt;, &quot;MARTIN (MARTIN)&quot; &lt;<a href="mailto:mlp@research.att.com">mlp@research.att.com</a>&gt;<br>
<b>Reply-To: </b>Shibboleth Users &lt;<a href="mailto:users@shibboleth.net">users@shibboleth.net</a>&gt;<br>
<b>Date: </b>Monday, May 21, 2012 3:11 PM<br>
<b>To: </b>Shibboleth Users &lt;<a href="mailto:users@shibboleth.net">users@shibboleth.net</a>&gt;<br>
<b>Subject: </b>External Auth example, missing logo.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size: 11pt; color: black; font-family: Calibri, sans-serif; ">The bad news is that my login.jsp page, won’t bring back the logo file for this app. In a related issue,&nbsp; the formatting for this login page disappeared a while
 ago but I never followed up on it.&nbsp;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: black; font-family: Calibri, sans-serif; ">&nbsp;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: black; font-family: Calibri, sans-serif; ">&lt;as an aside,&nbsp; mu css file lives in webapps/idp/login.css<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: black; font-family: Calibri, sans-serif; ">And my logo file lives in webapps/idp/images/safe_logo.png&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: black; font-family: Calibri, sans-serif; ">&nbsp;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: black; font-family: Calibri, sans-serif; ">&nbsp;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: black; font-family: Calibri, sans-serif; ">Using LiveHeaders to look at the traffic between the SP and the IdP I see the following two note-worthy items:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: black; font-family: Calibri, sans-serif; ">&nbsp;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: black; font-family: Calibri, sans-serif; ">&nbsp;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: black; font-family: Calibri, sans-serif; ">This request for the css file brings back a 404:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: black; font-family: Calibri, sans-serif; ">----------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: black; font-family: Calibri, sans-serif; "><a href="https://dt-safe1.client.research.att.com:8443/idp/login.css">https://dt-safe1.client.research.att.com:8443/idp/login.css</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><br>
<br>
<o:p></o:p></span></p>
</div>
</div>
</div>
</span>
</body>
</html>