-
-
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
Upgrade Karaf to 4.3.1 #1167
Comments
Let's wait for Karaf 4.2.11 because I found an annoying bug in 4.2.10 with the |
There are still no news on 4.2.11, but 4.3.0 is out instead and I assume it also contains the fix for the issue you've found. |
According to the download page "soon" is 2 months later. 😞
Yes it has the fix but I currently don't have time to test it and it is not that high prio for me. It doesn't look like we're missing out on 4.3.0 features (http://blog.nanthrax.net/?p=1038) at the moment to risk stability. Unless you want to start using newer Java versions or OSGi R7 features today. 😉 |
Ah, I should have scrolled down that page 😆 . |
I've removed the issue from the openHAB 3 tracking. |
This weekend I successfully tested integrating Karaf 4.3.1-SNAPSHOT in OH 3.1 and it also seems to be released "soon". 😄 |
* Aligns compile dependencies with OSGi R7 * Aligns runtime dependencies with Karaf 4.3.1 * Fixes issues due to dependency changes: * AudioServletTest never ending due to Jetty upgrade * Feature resolution failing due to Karaf activation-api no longer visible * Uses Pax Logging as runtime dependency instead of Felix Log This dependency change makes itests and Demo App behave more like the actual distro To change the log level in itests, change the value of org.ops4j.pax.logging.DefaultServiceLog.level in itest-include.bndrun * Adds --add-opens and nashorn.args in itest-include.bndrun to prevent some warnings being logged in itests Related to openhab/openhab-distro#1167 Signed-off-by: Wouter Born <[email protected]>
* Upgrades Karaf to 4.3.1 * Uses Pax Logging as runtime dependency instead of Felix Log To change the log level in itests, change the value of org.ops4j.pax.logging.DefaultServiceLog.level in itest-include.bndrun * Adds --add-opens and nashorn.args in itest-include.bndrun to prevent some warnings being logged in itests Related to openhab/openhab-distro#1167 Signed-off-by: Wouter Born <[email protected]>
Related to openhab/openhab-distro#1167 Signed-off-by: Wouter Born <[email protected]>
* Upgrades Karaf to 4.3.1 * Use Pax Logging as runtime dependency instead of Felix Log This dependency change makes the Demo App behave more like the actual distro. It also allows for using a single log4j2.xml which simplifies the logging config and makes it more like the distro. Fixes some noisy Pax Web commons-logging in the Demo App that would occur when using Felix Log. The Log4j2 Demo App configuration is now very similar to that of the distro except for: * Karaf specific logger configuration has been removed * A commented example logger for a binding is added to help with debug logging To allow for reconfiguring Log4j2 without making changes some enviroment variables can be used: * The default root/openhab logger level can be overriden * Several logger level/names can be reconfigured similarly Fixes openhab#1167 Signed-off-by: Wouter Born <[email protected]>
As you can see I already created some draft PRs for upgrading to Karaf 4.3.1 which is currently on vote. |
I've removed the draft status from my PRs since Karaf 4.3.1 has been released. |
* Aligns compile dependencies with OSGi R7 * Aligns runtime dependencies with Karaf 4.3.1 * Fixes issues due to dependency changes: * AudioServletTest never ending due to Jetty upgrade * Feature resolution failing due to Karaf activation-api no longer visible * Uses Pax Logging as runtime dependency instead of Felix Log This dependency change makes itests and Demo App behave more like the actual distro To change the log level in itests, change the value of org.ops4j.pax.logging.DefaultServiceLog.level in itest-include.bndrun * Adds --add-opens and nashorn.args in itest-include.bndrun to prevent some warnings being logged in itests Related to openhab/openhab-distro#1167 Signed-off-by: Wouter Born <[email protected]>
Related to openhab/openhab-distro#1167 Signed-off-by: Wouter Born <[email protected]>
* Upgrades Karaf to 4.3.1 * Use Pax Logging as runtime dependency instead of Felix Log This dependency change makes the Demo App behave more like the actual distro. It also allows for using a single log4j2.xml which simplifies the logging config and makes it more like the distro. Fixes some noisy Pax Web commons-logging in the Demo App that would occur when using Felix Log. The Log4j2 Demo App configuration is now very similar to that of the distro except for: * Karaf specific logger configuration has been removed * A commented example logger for a binding is added to help with debug logging To allow for reconfiguring Log4j2 without making changes some enviroment variables can be used: * The default root/openhab logger level can be overriden * Several logger level/names can be reconfigured similarly Fixes #1167 Signed-off-by: Wouter Born <[email protected]>
* Upgrades Karaf to 4.3.1 * Uses Pax Logging as runtime dependency instead of Felix Log To change the log level in itests, change the value of org.ops4j.pax.logging.DefaultServiceLog.level in itest-include.bndrun * Adds --add-opens and nashorn.args in itest-include.bndrun to prevent some warnings being logged in itests Related to openhab/openhab-distro#1167 Signed-off-by: Wouter Born <[email protected]>
* Upgrades Karaf to 4.3.1 * Uses Pax Logging as runtime dependency instead of Felix Log To change the log level in itests, change the value of org.ops4j.pax.logging.DefaultServiceLog.level in itest-include.bndrun * Adds --add-opens and nashorn.args in itest-include.bndrun to prevent some warnings being logged in itests Related to openhab/openhab-distro#1167 Signed-off-by: Wouter Born <[email protected]>
* Upgrades Karaf to 4.3.1 * Uses Pax Logging as runtime dependency instead of Felix Log To change the log level in itests, change the value of org.ops4j.pax.logging.DefaultServiceLog.level in itest-include.bndrun * Adds --add-opens and nashorn.args in itest-include.bndrun to prevent some warnings being logged in itests Related to openhab/openhab-distro#1167 Signed-off-by: Wouter Born <[email protected]> Signed-off-by: John Marshall <[email protected]>
* Upgrades Karaf to 4.3.1 * Uses Pax Logging as runtime dependency instead of Felix Log To change the log level in itests, change the value of org.ops4j.pax.logging.DefaultServiceLog.level in itest-include.bndrun * Adds --add-opens and nashorn.args in itest-include.bndrun to prevent some warnings being logged in itests Related to openhab/openhab-distro#1167 Signed-off-by: Wouter Born <[email protected]>
* Upgrades Karaf to 4.3.1 * Uses Pax Logging as runtime dependency instead of Felix Log To change the log level in itests, change the value of org.ops4j.pax.logging.DefaultServiceLog.level in itest-include.bndrun * Adds --add-opens and nashorn.args in itest-include.bndrun to prevent some warnings being logged in itests Related to openhab/openhab-distro#1167 Signed-off-by: Wouter Born <[email protected]>
* Upgrades Karaf to 4.3.1 * Uses Pax Logging as runtime dependency instead of Felix Log To change the log level in itests, change the value of org.ops4j.pax.logging.DefaultServiceLog.level in itest-include.bndrun * Adds --add-opens and nashorn.args in itest-include.bndrun to prevent some warnings being logged in itests Related to openhab/openhab-distro#1167 Signed-off-by: Wouter Born <[email protected]>
* Aligns compile dependencies with OSGi R7 * Aligns runtime dependencies with Karaf 4.3.1 * Fixes issues due to dependency changes: * AudioServletTest never ending due to Jetty upgrade * Feature resolution failing due to Karaf activation-api no longer visible * Uses Pax Logging as runtime dependency instead of Felix Log This dependency change makes itests and Demo App behave more like the actual distro To change the log level in itests, change the value of org.ops4j.pax.logging.DefaultServiceLog.level in itest-include.bndrun * Adds --add-opens and nashorn.args in itest-include.bndrun to prevent some warnings being logged in itests Related to openhab/openhab-distro#1167 Signed-off-by: Wouter Born <[email protected]> GitOrigin-RevId: ef1b86c
These Karaf versions will be released soon so we should upgrade the Karaf version used in the distro to get the latest bugfixes and enhancements.
The text was updated successfully, but these errors were encountered: