<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:Roboto;
panose-1:2 0 0 0 0 0 0 0 0 0;}
@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:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
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;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 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="FR-CH" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB">Hi folks,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I have an issue with deployment logo and reading the previous thread from Elsa does not help me much.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I am deploying Midpoint 4.0.1 on a Windows Server and I have to set up the logo.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">So I created a static-web folder, put my logo on it and added the following xml to systemConfiguration:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><deploymentInformation><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> <skin>skin-green-light</skin><o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-GB"><name>Midpoint Test</name><o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-GB"><logo><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> <imageUrl>static-web/evolveum.png</imageUrl>
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-GB"></logo><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"></deploymentInformation><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">(Yep, I stole your logo to test the imageUrl configuration
</span><span lang="EN-GB" style="font-family:"Segoe UI Emoji",sans-serif">😉</span><span lang="EN-GB">)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Sadly it doesn’t work: I can see a request sent to
<a href="http://localhost:8080/midpoint/static-web/evolveum.png">http://localhost:8080/midpoint/static-web/evolveum.png</a> but it end up with a 500 error.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><img border="0" width="1020" height="43" style="width:10.625in;height:.4479in" id="Picture_x0020_5" src="cid:image004.png@01D5F0A7.83236FC0"></span><span lang="EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I also tried to request <a href="http://localhost:8080/midpoint/static-web/">
http://localhost:8080/midpoint/static-web/</a> but got a 404.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">It seems that the static-web folder is not server at all, However I tried in my dev docker (on linux) and it works fine.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I am not used to tomcat so maybe there is some configuration to make in order to serve the static-web folder on a windows infrastructure<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I can not use docker for the deployment and I would like to avoid less style modification in order to keep midpoint configuration easy for non-technical administrators.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Any Idea?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td colspan="3" valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-GB" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#E22D36;mso-fareast-language:FR-CH">Loïc Schamber</span></b><span lang="EN-GB" style="mso-fareast-language:FR-CH">
</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#919191;mso-fareast-language:FR-CH"> | Junior IT Consultant<br>
</span><span lang="EN-GB" style="mso-fareast-language:FR-CH"> <o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width="188" valign="top" style="width:141.0pt;border:none;border-right:solid #E22D36 1.5pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="https://www.serial.ch/"><span style="color:blue;mso-fareast-language:FR-CH;text-decoration:none"><img border="0" width="193" height="69" style="width:2.0104in;height:.7187in" id="_x0000_i1037" src="cid:image005.png@01D5F0A7.83236FC0" alt="logo"></span></a><span style="mso-fareast-language:FR-CH"><o:p></o:p></span></p>
</td>
<td width="10" style="width:7.5pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="mso-fareast-language:FR-CH"> <o:p></o:p></span></p>
</td>
<td width="497" valign="top" style="width:372.75pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#E22D36;mso-fareast-language:FR-CH"><a href="mailto:lschamber@serial.ch"><span style="color:#E22D36">lschamber@serial.ch</span></a>
| <a href="tel:+41%2022%20555%2027%2069"><span style="color:#919191">+41 22 555 27 69</span></a>
<br>
</span><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#919191;mso-fareast-language:FR-CH">Chemin du Pré-Fleuri 5 – CH 1228 Plan-les-Ouates
<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td valign="bottom" style="border:none;border-right:solid #E22D36 1.5pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="https://www.linkedin.com/company/redcactus-by-positivethinkingcompany" target="_blank"><span style="color:blue;mso-fareast-language:FR-CH;text-decoration:none"><img border="0" width="19" height="19" style="width:.1979in;height:.1979in" id="_x0000_i1036" src="cid:image006.png@01D5F0A7.83236FC0" alt="LinkedIn"></span></a><span style="mso-fareast-language:FR-CH">
</span><a href="https://www.instagram.com/positivethinkingcompany" target="_blank"><span style="color:blue;mso-fareast-language:FR-CH;text-decoration:none"><img border="0" width="19" height="19" style="width:.1979in;height:.1979in" id="_x0000_i1035" src="cid:image007.png@01D5F0A7.83236FC0" alt="Instagram"></span></a><span style="mso-fareast-language:FR-CH"><o:p></o:p></span></p>
</td>
<td valign="bottom" style="padding:0cm 0cm 0cm 0cm"></td>
<td valign="bottom" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:FR-CH"><a href="www.serial.ch"><b><span lang="EN-GB" style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#E22D36">Redcactus by SERIAL
</span></b><span lang="EN-GB" style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#E22D36">www.serial.ch</span></a></span><span lang="EN-GB" style="mso-fareast-language:FR-CH"><br>
</span><span style="mso-fareast-language:FR-CH"><a href="www.positivethinking.co"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#919191">www.positivethinking.co</span></a></span><span lang="EN-GB" style="mso-fareast-language:FR-CH"><br>
</span><span lang="EN-GB" style="font-size:3.5pt;font-family:"Tahoma",sans-serif;color:#919191;mso-fareast-language:FR-CH"> </span><span lang="EN-GB" style="mso-fareast-language:FR-CH"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<div class="MsoNormal" align="center" style="text-align:center"><span style="mso-fareast-language:FR-CH">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><b><span lang="EN-GB" style="font-size:8.0pt;font-family:Roboto;color:#E22D36;mso-fareast-language:FR-CH">Help save paper, do you really need to print this email?</span></b><span lang="EN-GB" style="mso-fareast-language:FR-CH"><br>
</span><i><span lang="EN-GB" style="font-size:8.0pt;font-family:Roboto;color:black;mso-fareast-language:FR-CH">The content of this email and any attachments are confidential and are intended solely for the person and/or company to whom they are addressed. The
information may also be legally privileged. No employee or agent is authorized to conclude any binding agreement on behalf of SERIAL with another party by email without express written confirmation. If you have received this email in error, any use, reproduction
or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by return E-mail and delete this message, its attachments and all copies from your system. Internet communications cannot
be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
</span></i><i><span style="font-size:8.0pt;font-family:Roboto;color:black;mso-fareast-language:FR-CH">Thank you for your cooperation.<br>
</span></i><o:p></o:p></p>
</div>
</body>
</html>