<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:"Segoe UI Emoji";
panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Roboto;
panose-1:2 0 0 0 0 0 0 0 0 0;}
/* 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;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle21
{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: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">Hi Elsa,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB">I also had Midpoint crashes when using Widows path ( With “\” character )<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I don’t think the “\” should be escaped on XML file so it must be a problem in midpoint handling.<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">As you had the same problem before, did you found a workaround that I could use?<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"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<div>
<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_i1033" src="cid:image001.png@01D5F15D.085AD240" 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_i1032" src="cid:image002.png@01D5F15D.085AD240" 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_i1031" src="cid:image003.png@01D5F15D.085AD240" 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>
</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>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:FR-CH">From:</span></b><span lang="EN-US" style="mso-fareast-language:FR-CH"> midPoint <midpoint-bounces@lists.evolveum.com>
<b>On Behalf Of </b>Gómez Martínez, Elsa<br>
<b>Sent:</b> mardi, 3 mars 2020 12:00<br>
<b>To:</b> midPoint General Discussion <midpoint@lists.evolveum.com><br>
<b>Subject:</b> Re: [midPoint] Deployment Logo - Midpoint 4.0.1 - Embedded Tomcat - Windows<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Hi Loïc,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">I think that the main problema is the slash.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">As you are working on Windows, I guess that it doesn’t find the directory (on Windows the paths are like: midpoint-4.0.1-demobank\var\static-web\logo.png and in Linux/Docker systems is like: static-web/evolveum.png).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">I have tried to change slash on my local Midpoint on Windows and write it as backslash but I have got a worse result because midPoint crash. Maybe there’s some way to escape it.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">If you try it, I recommend that save some security copy.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Sorry I couldn’t help more.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="ES" style="mso-fareast-language:ES">De:</span></b><span lang="ES" style="mso-fareast-language:ES"> midPoint <<a href="mailto:midpoint-bounces@lists.evolveum.com">midpoint-bounces@lists.evolveum.com</a>>
<b>En nombre de </b>Loïc Schamber<br>
<b>Enviado el:</b> lunes, 2 de marzo de 2020 15:31<br>
<b>Para:</b> <a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><br>
<b>Asunto:</b> [midPoint] Deployment Logo - Midpoint 4.0.1 - Embedded Tomcat - Windows<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="ES"><o:p> </o:p></span></p>
<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
</span><span lang="ES"><a href="http://localhost:8080/midpoint/static-web/evolveum.png"><span lang="EN-GB">http://localhost:8080/midpoint/static-web/evolveum.png</span></a></span><span lang="EN-GB"> but it end up with a 500 error.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES" style="mso-fareast-language:ES"><img border="0" width="1020" height="43" style="width:10.625in;height:.4479in" id="Picture_x0020_5" src="cid:image005.png@01D5F15D.0851D190" alt="cid:image001.png@01D5F145.26C1A500"></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 </span><span lang="ES"><a href="http://localhost:8080/midpoint/static-web/"><span lang="EN-GB">http://localhost:8080/midpoint/static-web/</span></a></span><span lang="EN-GB"> 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:ES;text-decoration:none"><img border="0" width="193" height="69" style="width:2.0104in;height:.7187in" id="Imagen_x0020_2" src="cid:image001.png@01D5F15D.085AD240" 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"><a href="mailto:lschamber@serial.ch"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#E22D36;mso-fareast-language:FR-CH">lschamber@serial.ch</span></a><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#E22D36;mso-fareast-language:FR-CH">
| </span><a href="tel:+41%2022%20555%2027%2069"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#919191;mso-fareast-language:FR-CH">+41 22 555 27 69</span></a><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#E22D36;mso-fareast-language:FR-CH">
<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:ES;text-decoration:none"><img border="0" width="19" height="19" style="width:.1979in;height:.1979in" id="Imagen_x0020_3" src="cid:image002.png@01D5F15D.085AD240" 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:ES;text-decoration:none"><img border="0" width="19" height="19" style="width:.1979in;height:.1979in" id="Imagen_x0020_4" src="cid:image003.png@01D5F15D.085AD240" 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"><a href="www.serial.ch"><b><span lang="EN-GB" style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#E22D36;mso-fareast-language:FR-CH">Redcactus by SERIAL
</span></b><span lang="EN-GB" style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#E22D36;mso-fareast-language:FR-CH">www.serial.ch</span></a><span lang="EN-GB" style="mso-fareast-language:FR-CH"><br>
</span><a href="www.positivethinking.co"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#919191;mso-fareast-language:FR-CH">www.positivethinking.co</span></a><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="1" 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>