-
1. Re: After MacOS Mojave update Wildfly is very slow to start.
lafr Nov 28, 2018 3:15 PM (in response to jdafi)Any virus protection software active for the installation folder?
AFAIK during this time the modules are scanned and loaded. Lot's of files accessed.
-
2. Re: After MacOS Mojave update Wildfly is very slow to start.
jdafi Nov 29, 2018 1:23 AM (in response to lafr)Hi,
no antivirus or similar sofware, before upgrading to Mojave the clean installation started in 10 seconds, now the total time to boot is about 1 minute
An old JBoss 4.2.2 starts as usual so I think Wildfly does something "different"
Does exist a way to log progress modules loading?
-
3. Re: After MacOS Mojave update Wildfly is very slow to start.
spulatkan Nov 29, 2018 4:12 AM (in response to jdafi)A colleague of mine shared this link : https://amsterdam.luminis.eu/2017/05/10/fixing-slow-startup-time-java-application-running-macos-sierra/
The fix was for High Sierra but it also worked for us (who had the same problem after Mojave update)
-
4. Re: After MacOS Mojave update Wildfly is very slow to start.
jdafi Nov 29, 2018 6:06 AM (in response to spulatkan)Oh my god!!!!
After editing the /etc/hosts as mentioned on the link Wildfly starts in 5 seconds, FIVE!!!
spulatkan thank you very very much
As side effect I noticed the connection to our oracle server is now faster than ever
-
5. Re: After MacOS Mojave update Wildfly is very slow to start.
spulatkan Jan 30, 2020 5:07 AM (in response to jdafi)1 of 1 people found this helpfulI had the same reaction many thanks to Jeroen Reijn's 30 minute investigation and my colleague Volkan's search
To be precise, if the link does not work in future. The solution was "... make sure that your
/etc/hosts
file also contains the .local domain entry for ‘localhost’ entries."Just use the hostname command:
$ hostname
and it should return something like:
Jeroens-MacBook-Pro.local
In the end, the entries in your host file should look something like:
127.0.0.1 localhost Jeroens-MacBook-Pro.local
::1 localhost Jeroens-MacBook-Pro.localreference : https://amsterdam.luminis.eu/2017/05/10/fixing-slow-startup-time-java-application-running-macos-sierra
Fix the Slow Startup Time of My Java Application Running on macOS Sierra - DZone Performance