-
-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add temporary patch of pax-web-jetty to avoid slow startup times. #19
Conversation
Shall we maybe place the jar somewhere on Bintray (https://bintray.com/openhab/mvn) and include it from there? Then we would not need to have it in the source repo. |
That would work too. We'll need to give it a different name then to indicate the patch. |
Hm, if you use another GAV for the artifact, then you have to change the feature, to use the other one. Or do I miss something? |
I was rather thinking to only update the assembly descriptor to pick up the file as a Maven dependency than from the local project - this way, it should not have any impact on the features as the result is identical to the current PR. |
During the assembly we could rename it back to the original name. |
Ah okay. |
It is up to you, but shouldn't we set the version (in the repo) to 4.2.3.sp1 or something similar to indicate it is a patched / modified 4.2.3 one? |
Signed-off-by: Davy Vanherbergen <davy.vanherbergen@gmail.com>
PR updated to use mvn dependency. |
Thanks a lot! |
Add temporary patch of pax-web-jetty to avoid slow startup times.
Is this fix included in the current oh beta ? I tested oh2 offline distro in a raspbian jessie/java8.openjdk based docker container on a rpi2. Host OS is arch linux. Startup times are terribly slow ~ 20 minutes for first start. If yes it does not help for me |
Just tried with the online distro makes no difference, startup is also painfully slow no difference to the offline distro |
@JSurf, there is something else happening on your system. I just did a test with rpi1. The initial startup takes 8 minutes. Subsequent starts take about 3 minutes. |
Tested outside docker environment. Seems my issues are related to my docker container/environment. |
Turned out that openjdk on raspbian seems to be super slow. Changed to oracle jdk provided by the rpi foundation. Now startup is very fast |
Temporary solution for #10
Signed-off-by: Davy Vanherbergen davy.vanherbergen@gmail.com