<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=iso-8859-1">
<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;}
/* 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.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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="FI" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoPlainText">Hi,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><span lang="EN-US">Thanks for the response. I created "application.yml" on "/opt/midpoint/var" -location. The file is following:<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<div style="mso-element:para-border-div;border:solid windowtext 1.0pt;padding:1.0pt 4.0pt 1.0pt 4.0pt">
<p class="MsoPlainText" style="border:none;padding:0cm"><span lang="EN-US"># EMBEDDED SERVER CONFIGURATION (ServerProperties)<o:p></o:p></span></p>
<p class="MsoPlainText" style="border:none;padding:0cm"><span lang="EN-US">server.port=8081<o:p></o:p></span></p>
</div>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">After when I did this file, I allowed port number 8081 on my firewall and rebooted the IdM but it didn’t change the port number. The log is showing this:<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<div style="mso-element:para-border-div;border:solid windowtext 1.0pt;padding:1.0pt 4.0pt 1.0pt 4.0pt">
<p class="MsoPlainText" style="border:none;padding:0cm"><span lang="EN-US">2018-11-17 05:33:10,488 [] [main] INFO (org.apache.coyote.http11.Http11NioProtocol): Initializing ProtocolHandler ["http-nio-8080"]<o:p></o:p></span></p>
<p class="MsoPlainText" style="border:none;padding:0cm"><span lang="EN-US">2018-11-17 05:33:10,539 [] [main] INFO (org.apache.coyote.http11.Http11NioProtocol): Starting ProtocolHandler ["http-nio-8080"]<o:p></o:p></span></p>
<p class="MsoPlainText" style="border:none;padding:0cm"><span lang="EN-US">2018-11-17 05:33:10,564 [] [main] INFO (org.apache.tomcat.util.net.NioSelectorPool): Using a shared selector for servlet write/read<o:p></o:p></span></p>
<p class="MsoPlainText" style="border:none;padding:0cm"><span lang="EN-US">2018-11-17 05:33:23,593 [] [main] INFO (org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer): Tomcat started on port(s): 8080 (http)<o:p></o:p></span></p>
<p class="MsoPlainText" style="border:none;padding:0cm"><span lang="EN-US">2018-11-17 05:33:23,605 [] [main] INFO (com.evolveum.midpoint.web.boot.MidPointSpringApplication): Started MidPointSpringApplication in 153.707 seconds (JVM running for 144.388)<o:p></o:p></span></p>
</div>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">It's like Midpoint 3.8 doesn't recognize my "application.yml" -file at all.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Is anyone have the same problem? Did I something wrong? What should I do?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Best Regards,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Jan<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText">Jan Parttimaa<o:p></o:p></p>
<p class="MsoPlainText">1602738,<o:p></o:p></p>
<p class="MsoPlainText">Tietojenkäsittelyn koulutusohjelma,<o:p></o:p></p>
<p class="MsoPlainText">Haaga-Helia ammattikorkeakoulu, Pasilan kampus<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><span lang="EN-US" style="mso-fareast-language:FI">-----Original Message-----<br>
From: midPoint <midpoint-bounces@lists.evolveum.com> On Behalf Of Andrew Morgan<br>
Sent: perjantai 16. marraskuuta 2018 21.08<br>
To: midPoint General Discussion <midpoint@lists.evolveum.com><br>
Subject: Re: [midPoint] Where is application.yml -file?</span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Jan,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">You place your application.yml file in midpoint's var directory, the same location as your config.xml file.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Thanks,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Andy Morgan<o:p></o:p></p>
<p class="MsoPlainText">Systems Administrator, Identity & Access Management Information Services | Oregon State University<o:p></o:p></p>
<p class="MsoPlainText">541-737-8877 | is.oregonstate.edu<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">On Fri, 16 Nov 2018, Parttimaa Jan wrote:<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> Hi,<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Could anyone also tell the location where is "application.yml" on the Embedded Tomcat<<a href="https://wiki.evolveum.com/display/midPoint/Using+MidPoint+with+embedded+Tomcat"><span style="text-decoration:none">https://wiki.evolveum.com/display/midPoint/Using+MidPoint+with+embedded+Tomcat</span></a>>?
We can't find location "admin-gui/src/main/resources". We use MidPoint 3.8.<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Best Regards,<o:p></o:p></p>
<p class="MsoPlainText">> Jan Parttimaa<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Jan Parttimaa<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> 1602738,<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Tietojenkäsittelyn koulutusohjelma,<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Haaga-Helia ammattikorkeakoulu, Pasilan kampus<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
</div>
</body>
</html>