[midPoint] Where is application.yml -file?
Ivan Noris
ivan.noris at evolveum.com
Mon Nov 19 10:28:39 CET 2018
Hi Jan,
we will fix the documentation. I have just tested and you're right it is
incorrect.
Best regards,
Ivan
On 18. 11. 2018 9:43, Parttimaa Jan wrote:
> Thank you so much, it works! On wiki, there is typos about the format. They use "=" instead ":".
>
> Hopefully someone responsible one fix that.
>
> - Jan
>
> Jan Parttimaa
> 1602738,
> Tietojenkäsittelyn koulutusohjelma,
> Haaga-Helia ammattikorkeakoulu, Pasilan kampus
>
> -----Original Message-----
> From: midPoint <midpoint-bounces at lists.evolveum.com> On Behalf Of Andrew Morgan
> Sent: sunnuntai 18. marraskuuta 2018 0.58
> To: midPoint General Discussion <midpoint at lists.evolveum.com>
> Subject: Re: [midPoint] Where is application.yml -file?
>
> I YAML, the format is "key: value". Here is our application.yml:
>
> server.address: 127.0.0.1
> server.port: 8080
> server.session.timeout: 60
> server.use-forward-headers: true
> server.tomcat.internal-proxies: 127.0.0.1
>
> We have Apache httpd as a reverse proxy in front of the embedded midPoint Tomcat instance, btw.
>
> Thanks,
>
> Andy Morgan
> Systems Administrator, Identity & Access Management Information Services | Oregon State University
> 541-737-8877 | is.oregonstate.edu
>
> On Sat, 17 Nov 2018, Parttimaa Jan wrote:
>
>> Hi,
>>
>>
>>
>> Thanks for the response. I created "application.yml" on "/opt/midpoint/var" -location. The file is following:
>>
>>
>>
>> # EMBEDDED SERVER CONFIGURATION (ServerProperties)
>>
>> server.port=8081
>>
>>
>>
>> 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:
>>
>>
>>
>> 2018-11-17 05:33:10,488 [] [main] INFO
>> (org.apache.coyote.http11.Http11NioProtocol): Initializing
>> ProtocolHandler ["http-nio-8080"]
>>
>> 2018-11-17 05:33:10,539 [] [main] INFO
>> (org.apache.coyote.http11.Http11NioProtocol): Starting ProtocolHandler
>> ["http-nio-8080"]
>>
>> 2018-11-17 05:33:10,564 [] [main] INFO
>> (org.apache.tomcat.util.net.NioSelectorPool): Using a shared selector
>> for servlet write/read
>>
>> 2018-11-17 05:33:23,593 [] [main] INFO
>> (org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServle
>> tContainer): Tomcat started on port(s): 8080 (http)
>>
>> 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)
>>
>>
>>
>> It's like Midpoint 3.8 doesn't recognize my "application.yml" -file at all.
>>
>>
>>
>> Is anyone have the same problem? Did I something wrong? What should I do?
>>
>>
>>
>> Best Regards,
>>
>> Jan
>>
>>
>>
>> Jan Parttimaa
>>
>> 1602738,
>>
>> Tietojenkäsittelyn koulutusohjelma,
>>
>> Haaga-Helia ammattikorkeakoulu, Pasilan kampus
>>
>>
>>
>> -----Original Message-----
>> From: midPoint <midpoint-bounces at lists.evolveum.com> On Behalf Of
>> Andrew Morgan
>> Sent: perjantai 16. marraskuuta 2018 21.08
>> To: midPoint General Discussion <midpoint at lists.evolveum.com>
>> Subject: Re: [midPoint] Where is application.yml -file?
>>
>>
>>
>> Jan,
>>
>>
>>
>> You place your application.yml file in midpoint's var directory, the same location as your config.xml file.
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Andy Morgan
>>
>> Systems Administrator, Identity & Access Management Information
>> Services | Oregon State University
>>
>> 541-737-8877 | is.oregonstate.edu
>>
>>
>>
>> On Fri, 16 Nov 2018, Parttimaa Jan wrote:
>>
>>
>>
>>> Hi,
>>> Could anyone also tell the location where is "application.yml" on the Embedded Tomcat<https://wiki.evolveum.com/display/midPoint/Using+MidPoint+with+embedded+Tomcat>? We can't find location "admin-gui/src/main/resources". We use MidPoint 3.8.
>>> Best Regards,
>>> Jan Parttimaa
>>> Jan Parttimaa
>>> 1602738,
>>> Tietojenkäsittelyn koulutusohjelma,
>>> Haaga-Helia ammattikorkeakoulu, Pasilan kampus
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
--
Ivan Noris
Senior Identity Engineer
evolveum.com
More information about the midPoint
mailing list