Closed frederictobiasc closed 2 years ago
I cannot reproduce this issue - it starts nicely for me.
Are you sure that you have the latest code of main
and that the resolve operation was successful? I cannot see any jakarta.ws.rs-api
in the app.bndrun, so your workaround sounds a bit odd to me...
Haven't seen this issue either. Maybe it helps if you update your JDK to get fixes or wipe your Maven cache so the artifacts are redownloaded which may help incase the files on your disk got corrupt.
I'm getting the same thing in my development environment (exactly as far as I can tell). I'm running MacOS Monterey 12.0.1, java zulu-16, eclipse 20210910-1417. The run continues and I can do some debug, but my UI is a blank screen. I get the stack traces in the console and a popup with the OSGI error.
java zulu-16
We only support running openHAB with Java 11 currently.
My eclipse->Preferences->Java->Installed JREs specifies JRE for JavaSE-11 from the Zulu-16 library. That should be sufficient, shouldn't it? I'll see if I can force the Zulu 11 runtime.
That should be sufficient, shouldn't it?
It could still be that plugins like bnd don't work correctly with newer Java versions. I haven't tested that myself and would be surprised if it all worked flawlessly with these newer Java versions. 😉
I've put the Java 11 home/bin in the eclipse.ini in the eclipse.ini in the openHAB folder. I've also placed the Java 11 home in /etc/profile and /etc/zprofile and rebooted. java --version shows:
% java --version openjdk 11.0.12 2021-07-20 LTS OpenJDK Runtime Environment Zulu11.50+19-CA (build 11.0.12+7-LTS) OpenJDK 64-Bit Server VM Zulu11.50+19-CA (build 11.0.12+7-LTS, mixed mode)
I open the openHAB eclipse by clicking the eclipse.app in the openHAB folder. The problem persists. Do I need to recompile everything. I did the original install of openHAB while running java 16.
Recompilation might help if there are issues with newer Java versions.
Is your Mac using Intel or Apple (M1) silicon?
Intel
The Intel Macs should be pretty well tested and supported. AFAIK @kaikreuzer has a similar setup. I develop using an Intel CPU running Ubuntu 20.04 :penguin: and Zulu 11.0.13 , so can't really test the Mac use case.
This issue has been mentioned on openHAB Community. There might be relevant details there:
Same error on my env with Win10 and java 11.0.11 2021-04-20 LTS
.
The workaround makes the error disappear, however several bundles added to the dev environment are not loaded, making the development environment unusable.
Exact same issue (same log, same empty screen (but a white one !?)), with a totally new development environnement. Two attempts :
The workaround works for me.
I've rebuilt everything with Zulu-11 (11.0.12). I get the same problem.
Same issue for me. I just realized that I created the same issue here as I am not aware that it is most likely the same thing. I just encounter a white screen. Has anyone tried to back in the repo commits to see what is the latest version which is working in order to find out what is causing the problem?
I also confirm that the workaround is working. However it throws other errors on the console. It does start then, but added bundles to the environment do not appear, so still useless dev environment.
Here are the console output:
at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:945) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.publishEvent(Module.java:499) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.start(Module.java:486) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) [org.eclipse.osgi-3.16.300.jar:?] at aQute.launcher.Launcher.start(Launcher.java:687) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.startBundles(Launcher.java:667) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.activate(Launcher.java:573) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.launch(Launcher.java:403) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.run(Launcher.java:185) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.main(Launcher.java:161) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.pre.EmbeddedLauncher.executeWithRunPath(EmbeddedLauncher.java:170) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.findAndExecute(EmbeddedLauncher.java:135) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.main(EmbeddedLauncher.java:52) [biz.aQute.launcher.pre.jar:?] Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) ~[?:?] at sun.nio.ch.Net.bind(Net.java:459) ~[?:?] at sun.nio.ch.Net.bind(Net.java:448) ~[?:?] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227) ~[?:?] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ~[?:?] ... 55 more 19:57:20.521 [ERROR] [.service.internal.HttpServiceStarted] - Could not start the servlet context for context path [rest] java.io.IOException: Failed to bind to /0.0.0.0:8080 at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:349) ~[?:?] at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:310) ~[?:?] at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[?:?] at org.eclipse.jetty.server.Server.doStart(Server.java:401) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[?:?] at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:350) ~[?:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:255) ~[?:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:395) ~[?:?] at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:504) ~[?:?] at org.ops4j.pax.web.extender.whiteboard.internal.element.ServletWebElement.register(ServletWebElement.java:102) ~[?:?] at org.ops4j.pax.web.extender.whiteboard.internal.WebApplication.registerWebElement(WebApplication.java:392) ~[?:?] at org.ops4j.pax.web.extender.whiteboard.internal.WebApplication.addWebElement(WebApplication.java:188) ~[?:?] at org.ops4j.pax.web.extender.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:191) ~[?:?] at org.ops4j.pax.web.extender.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:44) ~[?:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:943) ~[org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1) ~[org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) ~[org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) ~[org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:903) ~[org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:120) ~[?:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:957) ~[?:?] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) ~[?:?] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) ~[?:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:936) ~[?:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:873) ~[?:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) ~[?:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:261) ~[?:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:496) ~[?:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:515) ~[?:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:1050) ~[?:?] at org.apache.aries.component.dsl.internal.ServiceRegistrationOSGiImpl.lambda$new$1(ServiceRegistrationOSGiImpl.java:53) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$68(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.ServiceRegistrationOSGiImpl.getServiceRegistrationOSGiResult(ServiceRegistrationOSGiImpl.java:89) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.ServiceRegistrationOSGiImpl.lambda$new$0(ServiceRegistrationOSGiImpl.java:43) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$flatMap$69(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$flatMap$69(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$68(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.JustOSGiImpl.lambda$new$2(JustOSGiImpl.java:47) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$68(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.jax.rs.whiteboard.internal.Registry.lambda$registerService$3(Registry.java:98) ~[?:?] at org.apache.aries.component.dsl.OSGi.lambda$flatMap$69(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$flatMap$69(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$68(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$64(OSGi.java:602) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.JustOSGiImpl.lambda$new$2(JustOSGiImpl.java:47) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$effects$65(OSGi.java:596) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$flatMap$69(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$68(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OnlyLastPublisher.publish(OnlyLastPublisher.java:53) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.JustOSGiImpl.lambda$new$2(JustOSGiImpl.java:47) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.AllOSGi.lambda$new$1(AllOSGi.java:38) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$transform$84(OSGi.java:757) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$68(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.JustOSGiImpl.lambda$new$2(JustOSGiImpl.java:47) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$flatMap$69(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$flatMap$69(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$effects$65(OSGi.java:596) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.IgnoreImpl.lambda$new$1(IgnoreImpl.java:29) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$68(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$64(OSGi.java:602) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.Publisher.apply(Publisher.java:28) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$75(OSGi.java:715) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$64(OSGi.java:602) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$64(OSGi.java:602) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.JustOSGiImpl.lambda$new$2(JustOSGiImpl.java:47) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$effects$65(OSGi.java:596) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$effects$65(OSGi.java:596) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$68(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.Publisher.apply(Publisher.java:28) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$75(OSGi.java:715) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.JustOSGiImpl.lambda$new$2(JustOSGiImpl.java:47) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$68(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.JustOSGiImpl.lambda$new$2(JustOSGiImpl.java:47) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$flatMap$69(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$recoverWith$76(OSGi.java:711) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$flatMap$69(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$68(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.JustOSGiImpl.lambda$new$2(JustOSGiImpl.java:47) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.BundleContextOSGiImpl.lambda$new$0(BundleContextOSGiImpl.java:29) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$flatMap$69(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$recoverWith$76(OSGi.java:711) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$effects$65(OSGi.java:596) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$flatMap$69(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.lambda$create$0(OSGiImpl.java:39) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$68(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.Publisher.apply(Publisher.java:28) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.HighestRankingOSGi.lambda$null$1(HighestRankingOSGi.java:62) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.Pad.publish(Pad.java:59) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$79(OSGi.java:739) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.JustOSGiImpl.lambda$new$2(JustOSGiImpl.java:47) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$80(OSGi.java:732) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.JustOSGiImpl.lambda$new$2(JustOSGiImpl.java:47) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$68(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.JustOSGiImpl.lambda$new$2(JustOSGiImpl.java:47) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$68(OSGi.java:674) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.Publisher.apply(Publisher.java:28) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$66(OSGi.java:663) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.Pad.publish(Pad.java:59) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.DistributeOSGiImpl.lambda$null$1(DistributeOSGiImpl.java:51) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$64(OSGi.java:602) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.Publisher.apply(Publisher.java:28) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.HighestRankingOSGi.lambda$null$1(HighestRankingOSGi.java:62) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.Pad.publish(Pad.java:59) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$79(OSGi.java:739) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.JustOSGiImpl.lambda$new$2(JustOSGiImpl.java:47) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$80(OSGi.java:732) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$64(OSGi.java:602) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.Publisher.apply(Publisher.java:28) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.OSGi.lambda$null$66(OSGi.java:663) ~[bundleFile:1.2.2] at org.apache.aries.component.dsl.Publisher.apply(Publisher.java:28) [bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.addingService(ServiceReferenceOSGi.java:74) [bundleFile:1.2.2] at org.apache.aries.component.dsl.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.addingService(ServiceReferenceOSGi.java:56) [bundleFile:1.2.2] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:943) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:903) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:120) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:957) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:936) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:873) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:261) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:496) [org.eclipse.osgi-3.16.300.jar:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915) [bundleFile:?] at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:674) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:437) [bundleFile:?] at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:667) [bundleFile:?] at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:305) [bundleFile:?] at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:554) [bundleFile:?] at org.apache.felix.scr.impl.Activator.access$200(Activator.java:70) [bundleFile:?] at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:421) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:488) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:1) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:945) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.publishEvent(Module.java:499) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.start(Module.java:486) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) [org.eclipse.osgi-3.16.300.jar:?] at aQute.launcher.Launcher.start(Launcher.java:687) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.startBundles(Launcher.java:667) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.activate(Launcher.java:573) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.launch(Launcher.java:403) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.run(Launcher.java:185) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.main(Launcher.java:161) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.pre.EmbeddedLauncher.executeWithRunPath(EmbeddedLauncher.java:170) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.findAndExecute(EmbeddedLauncher.java:135) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.main(EmbeddedLauncher.java:52) [biz.aQute.launcher.pre.jar:?] Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) ~[?:?] at sun.nio.ch.Net.bind(Net.java:459) ~[?:?] at sun.nio.ch.Net.bind(Net.java:448) ~[?:?] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227) ~[?:?] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ~[?:?] ... 219 more 19:57:23.363 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.items' 19:57:24.020 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'mapdb.persist' 19:57:24.286 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.sitemap' 19:57:24.476 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.things' 19:57:26.673 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.rules' 19:57:29.468 [ERROR] [.service.internal.HttpServiceStarted] - Could not start the servlet context for context path [] java.io.IOException: Failed to bind to /0.0.0.0:8080 at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:349) ~[?:?] at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:310) ~[?:?] at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[?:?] at org.eclipse.jetty.server.Server.doStart(Server.java:401) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[?:?] at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:350) ~[?:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:255) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:226) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:210) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:69) [bundleFile:?] at org.openhab.core.io.http.servlet.BaseOpenHABServlet.activate(BaseOpenHABServlet.java:56) [bundleFile:?] at org.openhab.core.io.http.servlet.OpenHABServlet.activate(OpenHABServlet.java:40) [bundleFile:?] at org.openhab.core.ui.internal.chart.ChartServlet.activate(ChartServlet.java:132) [bundleFile:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:244) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:685) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:529) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:318) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:308) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:354) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:115) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:1000) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:973) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:776) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:674) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:437) [bundleFile:?] at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:667) [bundleFile:?] at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:305) [bundleFile:?] at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:554) [bundleFile:?] at org.apache.felix.scr.impl.Activator.access$200(Activator.java:70) [bundleFile:?] at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:421) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:488) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:1) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:945) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.publishEvent(Module.java:499) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.start(Module.java:486) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) [org.eclipse.osgi-3.16.300.jar:?] at aQute.launcher.Launcher.start(Launcher.java:687) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.startBundles(Launcher.java:667) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.activate(Launcher.java:573) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.launch(Launcher.java:403) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.run(Launcher.java:185) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.main(Launcher.java:161) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.pre.EmbeddedLauncher.executeWithRunPath(EmbeddedLauncher.java:170) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.findAndExecute(EmbeddedLauncher.java:135) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.main(EmbeddedLauncher.java:52) [biz.aQute.launcher.pre.jar:?] Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) ~[?:?] at sun.nio.ch.Net.bind(Net.java:459) ~[?:?] at sun.nio.ch.Net.bind(Net.java:448) ~[?:?] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227) ~[?:?] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ~[?:?] ... 62 more 19:57:29.953 [ERROR] [.service.internal.HttpServiceStarted] - Could not start the servlet context for context path [] java.io.IOException: Failed to bind to /0.0.0.0:8080 at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:349) ~[?:?] at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:310) ~[?:?] at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[?:?] at org.eclipse.jetty.server.Server.doStart(Server.java:401) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[?:?] at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:350) ~[?:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:255) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:226) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:210) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:69) [bundleFile:?] at org.openhab.core.ui.internal.proxy.ProxyServletService.activate(ProxyServletService.java:166) [bundleFile:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:244) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:685) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:529) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:318) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:308) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:354) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:115) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:1000) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:973) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:785) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:674) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:437) [bundleFile:?] at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:667) [bundleFile:?] at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:305) [bundleFile:?] at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:554) [bundleFile:?] at org.apache.felix.scr.impl.Activator.access$200(Activator.java:70) [bundleFile:?] at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:421) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:488) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:1) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:945) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.publishEvent(Module.java:499) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.start(Module.java:486) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) [org.eclipse.osgi-3.16.300.jar:?] at aQute.launcher.Launcher.start(Launcher.java:687) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.startBundles(Launcher.java:667) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.activate(Launcher.java:573) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.launch(Launcher.java:403) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.run(Launcher.java:185) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.main(Launcher.java:161) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.pre.EmbeddedLauncher.executeWithRunPath(EmbeddedLauncher.java:170) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.findAndExecute(EmbeddedLauncher.java:135) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.main(EmbeddedLauncher.java:52) [biz.aQute.launcher.pre.jar:?] Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) ~[?:?] at sun.nio.ch.Net.bind(Net.java:459) ~[?:?] at sun.nio.ch.Net.bind(Net.java:448) ~[?:?] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227) ~[?:?] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ~[?:?] ... 60 more 19:57:30.311 [ERROR] [.service.internal.HttpServiceStarted] - Could not start the servlet context for context path [] java.io.IOException: Failed to bind to /0.0.0.0:8080 at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:349) ~[?:?] at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:310) ~[?:?] at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[?:?] at org.eclipse.jetty.server.Server.doStart(Server.java:401) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[?:?] at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:350) ~[?:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:255) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:226) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:210) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:69) [bundleFile:?] at org.openhab.core.io.http.servlet.BaseOpenHABServlet.activate(BaseOpenHABServlet.java:56) [bundleFile:?] at org.openhab.core.io.http.servlet.OpenHABServlet.activate(OpenHABServlet.java:40) [bundleFile:?] at org.openhab.core.ui.icon.internal.IconServlet.activate(IconServlet.java:85) [bundleFile:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:244) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:685) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:529) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:318) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:308) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:354) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:115) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:1000) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:973) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:785) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:674) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:437) [bundleFile:?] at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:667) [bundleFile:?] at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:305) [bundleFile:?] at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:554) [bundleFile:?] at org.apache.felix.scr.impl.Activator.access$200(Activator.java:70) [bundleFile:?] at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:421) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:488) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:1) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:945) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.publishEvent(Module.java:499) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.start(Module.java:486) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) [org.eclipse.osgi-3.16.300.jar:?] at aQute.launcher.Launcher.start(Launcher.java:687) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.startBundles(Launcher.java:667) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.activate(Launcher.java:573) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.launch(Launcher.java:403) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.run(Launcher.java:185) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.main(Launcher.java:161) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.pre.EmbeddedLauncher.executeWithRunPath(EmbeddedLauncher.java:170) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.findAndExecute(EmbeddedLauncher.java:135) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.main(EmbeddedLauncher.java:52) [biz.aQute.launcher.pre.jar:?] Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) ~[?:?] at sun.nio.ch.Net.bind(Net.java:459) ~[?:?] at sun.nio.ch.Net.bind(Net.java:448) ~[?:?] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227) ~[?:?] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ~[?:?] ... 62 more 19:57:30.679 [ERROR] [.service.internal.HttpServiceStarted] - Could not start the servlet context for context path [] java.io.IOException: Failed to bind to /0.0.0.0:8080 at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:349) ~[?:?] at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:310) ~[?:?] at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[?:?] at org.eclipse.jetty.server.Server.doStart(Server.java:401) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[?:?] at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:350) ~[?:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:255) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerResources(HttpServiceStarted.java:310) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerResources(HttpServiceProxy.java:76) [bundleFile:?] at org.openhab.ui.internal.UIService.activate(UIService.java:95) [bundleFile:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:244) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:685) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:529) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:318) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:308) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:354) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:115) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:1000) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:973) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:918) [bundleFile:?] at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:216) [org.eclipse.osgi-3.16.300.jar:?] at java.security.AccessController.doPrivileged(Native Method) ~[?:?] at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:213) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:114) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:48) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:547) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:533) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:656) [org.eclipse.osgi-3.16.300.jar:?] at org.ops4j.pax.web.extender.whiteboard.internal.tracker.AbstractHttpContextTracker.addingService(AbstractHttpContextTracker.java:124) [bundleFile:?] at org.ops4j.pax.web.extender.whiteboard.internal.tracker.HttpContextTracker.addingService(HttpContextTracker.java:41) [bundleFile:?] at org.ops4j.pax.web.extender.whiteboard.internal.tracker.AbstractHttpContextTracker.addingService(AbstractHttpContextTracker.java:43) [bundleFile:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:943) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:903) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:120) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:957) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:936) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:873) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:261) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:496) [org.eclipse.osgi-3.16.300.jar:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915) [bundleFile:?] at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:674) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:437) [bundleFile:?] at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:667) [bundleFile:?] at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:305) [bundleFile:?] at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:554) [bundleFile:?] at org.apache.felix.scr.impl.Activator.access$200(Activator.java:70) [bundleFile:?] at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:421) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:488) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:1) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:945) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.publishEvent(Module.java:499) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.start(Module.java:486) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) [org.eclipse.osgi-3.16.300.jar:?] at aQute.launcher.Launcher.start(Launcher.java:687) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.startBundles(Launcher.java:667) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.activate(Launcher.java:573) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.launch(Launcher.java:403) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.run(Launcher.java:185) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.main(Launcher.java:161) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.pre.EmbeddedLauncher.executeWithRunPath(EmbeddedLauncher.java:170) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.findAndExecute(EmbeddedLauncher.java:135) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.main(EmbeddedLauncher.java:52) [biz.aQute.launcher.pre.jar:?] Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) ~[?:?] at sun.nio.ch.Net.bind(Net.java:459) ~[?:?] at sun.nio.ch.Net.bind(Net.java:448) ~[?:?] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227) ~[?:?] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ~[?:?] ... 89 more 19:57:30.699 [INFO ] [org.openhab.ui.internal.UIService ] - Started UI on port 8080 19:57:30.801 [ERROR] [.service.internal.HttpServiceStarted] - Could not start the servlet context for context path [] java.io.IOException: Failed to bind to /0.0.0.0:8080 at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:349) ~[?:?] at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:310) ~[?:?] at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[?:?] at org.eclipse.jetty.server.Server.doStart(Server.java:401) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[?:?] at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:350) ~[?:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:255) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:226) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:210) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:69) [bundleFile:?] at org.openhab.core.io.http.servlet.BaseOpenHABServlet.activate(BaseOpenHABServlet.java:56) [bundleFile:?] at org.openhab.core.io.http.servlet.OpenHABBundleServlet.activate(OpenHABBundleServlet.java:38) [bundleFile:?] at org.openhab.core.io.http.servlet.OpenHABBundleServlet.activate(OpenHABBundleServlet.java:42) [bundleFile:?] at org.openhab.ui.basic.internal.servlet.CmdServlet.activate(CmdServlet.java:68) [bundleFile:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:244) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:685) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:529) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:318) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:308) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:354) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:115) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:1000) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:973) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:785) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:674) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:437) [bundleFile:?] at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:667) [bundleFile:?] at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:305) [bundleFile:?] at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:554) [bundleFile:?] at org.apache.felix.scr.impl.Activator.access$200(Activator.java:70) [bundleFile:?] at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:421) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:488) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:1) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:945) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.publishEvent(Module.java:499) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.start(Module.java:486) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) [org.eclipse.osgi-3.16.300.jar:?] at aQute.launcher.Launcher.start(Launcher.java:687) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.startBundles(Launcher.java:667) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.activate(Launcher.java:573) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.launch(Launcher.java:403) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.run(Launcher.java:185) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.main(Launcher.java:161) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.pre.EmbeddedLauncher.executeWithRunPath(EmbeddedLauncher.java:170) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.findAndExecute(EmbeddedLauncher.java:135) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.main(EmbeddedLauncher.java:52) [biz.aQute.launcher.pre.jar:?] Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) ~[?:?] at sun.nio.ch.Net.bind(Net.java:459) ~[?:?] at sun.nio.ch.Net.bind(Net.java:448) ~[?:?] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227) ~[?:?] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ~[?:?] ... 63 more 19:57:30.895 [ERROR] [.service.internal.HttpServiceStarted] - Could not start the servlet context for context path [] java.io.IOException: Failed to bind to /0.0.0.0:8080 at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:349) ~[?:?] at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:310) ~[?:?] at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[?:?] at org.eclipse.jetty.server.Server.doStart(Server.java:401) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[?:?] at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:350) ~[?:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:255) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:226) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:210) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:69) [bundleFile:?] at org.openhab.core.io.http.servlet.BaseOpenHABServlet.activate(BaseOpenHABServlet.java:56) [bundleFile:?] at org.openhab.ui.basic.internal.servlet.WebAppServlet.activate(WebAppServlet.java:108) [bundleFile:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:244) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:685) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:529) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:318) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:308) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:354) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:115) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:1000) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:973) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:918) [bundleFile:?] at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:216) [org.eclipse.osgi-3.16.300.jar:?] at java.security.AccessController.doPrivileged(Native Method) ~[?:?] at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:213) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:114) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:48) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:547) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:533) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:656) [org.eclipse.osgi-3.16.300.jar:?] at org.ops4j.pax.web.extender.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:171) [bundleFile:?] at org.ops4j.pax.web.extender.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:44) [bundleFile:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:943) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:903) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:120) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:957) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:936) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:873) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:261) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:496) [org.eclipse.osgi-3.16.300.jar:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915) [bundleFile:?] at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:674) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:437) [bundleFile:?] at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:667) [bundleFile:?] at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:305) [bundleFile:?] at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:554) [bundleFile:?] at org.apache.felix.scr.impl.Activator.access$200(Activator.java:70) [bundleFile:?] at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:421) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:488) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:1) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:945) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.publishEvent(Module.java:499) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.start(Module.java:486) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) [org.eclipse.osgi-3.16.300.jar:?] at aQute.launcher.Launcher.start(Launcher.java:687) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.startBundles(Launcher.java:667) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.activate(Launcher.java:573) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.launch(Launcher.java:403) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.run(Launcher.java:185) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.main(Launcher.java:161) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.pre.EmbeddedLauncher.executeWithRunPath(EmbeddedLauncher.java:170) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.findAndExecute(EmbeddedLauncher.java:135) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.main(EmbeddedLauncher.java:52) [biz.aQute.launcher.pre.jar:?] Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) ~[?:?] at sun.nio.ch.Net.bind(Net.java:459) ~[?:?] at sun.nio.ch.Net.bind(Net.java:448) ~[?:?] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227) ~[?:?] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ~[?:?] ... 90 more 19:57:30.958 [ERROR] [.service.internal.HttpServiceStarted] - Could not start the servlet context for context path [] java.io.IOException: Failed to bind to /0.0.0.0:8080 at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:349) ~[?:?] at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:310) ~[?:?] at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[?:?] at org.eclipse.jetty.server.Server.doStart(Server.java:401) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[?:?] at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:350) ~[?:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:255) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerResources(HttpServiceStarted.java:310) [bundleFile:?] at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerResources(HttpServiceProxy.java:76) [bundleFile:?] at org.openhab.ui.basic.internal.servlet.WebAppServlet.activate(WebAppServlet.java:111) [bundleFile:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:244) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:685) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:529) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:318) [bundleFile:?] at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:308) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:354) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:115) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:1000) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:973) [bundleFile:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:918) [bundleFile:?] at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:216) [org.eclipse.osgi-3.16.300.jar:?] at java.security.AccessController.doPrivileged(Native Method) ~[?:?] at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:213) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:114) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:48) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:547) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:533) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:656) [org.eclipse.osgi-3.16.300.jar:?] at org.ops4j.pax.web.extender.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:171) [bundleFile:?] at org.ops4j.pax.web.extender.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:44) [bundleFile:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:943) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:903) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:120) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:957) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:936) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:873) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:261) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:496) [org.eclipse.osgi-3.16.300.jar:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915) [bundleFile:?] at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:674) [bundleFile:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:437) [bundleFile:?] at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:667) [bundleFile:?] at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:305) [bundleFile:?] at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:554) [bundleFile:?] at org.apache.felix.scr.impl.Activator.access$200(Activator.java:70) [bundleFile:?] at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:421) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?] at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:488) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:1) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:945) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:232) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.publishEvent(Module.java:499) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.container.Module.start(Module.java:486) [org.eclipse.osgi-3.16.300.jar:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) [org.eclipse.osgi-3.16.300.jar:?] at aQute.launcher.Launcher.start(Launcher.java:687) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.startBundles(Launcher.java:667) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.activate(Launcher.java:573) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.launch(Launcher.java:403) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.run(Launcher.java:185) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.Launcher.main(Launcher.java:161) [biz.aQute.launcher-6.0.0.jar:?] at aQute.launcher.pre.EmbeddedLauncher.executeWithRunPath(EmbeddedLauncher.java:170) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.findAndExecute(EmbeddedLauncher.java:135) [biz.aQute.launcher.pre.jar:?] at aQute.launcher.pre.EmbeddedLauncher.main(EmbeddedLauncher.java:52) [biz.aQute.launcher.pre.jar:?] Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) ~[?:?] at sun.nio.ch.Net.bind(Net.java:459) ~[?:?] at sun.nio.ch.Net.bind(Net.java:448) ~[?:?] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227) ~[?:?] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ~[?:?] at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ~[?:?] ... 88 more 19:57:33.563 [INFO ] [e.automation.internal.RuleEngineImpl] - Rule engine started. 19:57:33.577 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DemoLocation' changed from NULL to 52,9 19:57:33.577 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DemoContact' changed from NULL to OPEN 19:57:33.577 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DemoString' changed from NULL to Hello SmartHome! 19:57:33.577 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DemoDateTime' changed from NULL to 2021-11-15T19:57:33.563375600+0100 19:57:33.577 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DemoNumber' changed from NULL to 12.34 19:57:38.428 [INFO ] [rt.internal.loader.ScriptFileWatcher] - Loading script '/C:/Users/chris/openhab-main/git/openhab-distro/launch/app/runtime/conf/automation/jsr223/demo.js'
I cannot reproduce this issue - it starts nicely for me.
Are you sure that you have the latest code of
main
and that the resolve operation was successful? I cannot see anyjakarta.ws.rs-api
in the app.bndrun, so your workaround sounds a bit odd to me...
In the original app.bndrun
the entry jakarta.ws.rs-api;version='[2.1.6,2.1.7)',\
is not included. It appears in the file as soon as you hit Resolve
and Update
in Eclipse.
So the question is, where does it come from and why is it appearing?
chingon007, what workaround? Did you mean not clicking Resolve?
Hello, as stated above at the beginning of the issue:
Open the source of
app.bndrun
and remove the line:jakarta.ws.rs-api;version='[2.1.6,2.1.7)',\
However I just works for me by getting the environment running again, but including bundles is not working though with this workaround
Removing that line fixed it for me. Thanks!
@AixNPanes are you able to add some binding / bundles to the run configuration? is it activated ?
I was not able to get it running with a binding. Is there nobody who can tell how to fix the whole thing? Seems to be a valid bug.
I am able to get it running.
@AixNPanes Can you describe a bit more in detail your environment. As mentioned by @mvalla and me, both of us get the environment running, however due to the failure (at least I guess so) we cannot hock up some bindings, which is at least my goal in order to continue with my binding development.
Binding development works for me. For instance, I'm adding the Modbus binding and applying the described workaround in comment #1. From there, everything works as expected.
Do you have the a lot of errors in the console after you removed the dependency? I have a lot of errors in the console as mentioned above.
I don't get any errors in the console. Maybe your resolve even adds more bad dependencies. You could follow the same approach as I did to identify:
openhab-distro
launch/app/app.bndrun
launch/app/app.bndrun
and try to alter them manually.Ok, thx I will try that and give feedback.
Ok, just did a fresh eclipse install to continue my zwave S2 work, I'm having the same error and black screen. Win10 and java 11 - I've tried a couple of java builds - amazon corrento, openjdk, etc.
I can't tell if the workaround is causing problems for my binding development. Dumb quetsion.. the binding UI looks different in this build: there's no search or + button Screenshot
Does that mean no bindings are currently installed/being seen? I added the modbus binding since someone said that one is showing up with the workaround in place
So far I think I have it working on MacOS Monterey/Zulu-11, Windows 11/Zulu-11 on an Intel NUC. I'm trying now on Fedora 34/java-11-openjdk on a RaspberryPi 4B+. So far, I have avoided clicking the Resolve button and everyting works fine at least on the first 2. I'll update with a detailed procedure after I finish the RPI. I have Buster installed on a RPI 3B+ but obviously I won't try an install there as that's not a 64-bit install and I only have 1GB memory on that system.
I don't get any errors in the console. Maybe your resolve even adds more bad dependencies. You could follow the same approach as I did to identify:
- Checkout the latest main of
openhab-distro
- Open
launch/app/app.bndrun
- Click "Resolve" and "Update"
- Compare the introduced changes to
launch/app/app.bndrun
and try to alter them manually.
After I once reinstalled it from scratch, it works for me with the workaround. I did the exact same steps as you did. Then deleted the entry manually out of the app.bndrun.
I am not not receiving errors in the console and now I am able also deploy my binding. Just a small hint for the others. On the first startup my binding did not appear. I closed the complete eclipse environment and open it again. Then I run again, then my binding appeared. I am not sure if is related, but this is how I got it working now.
Sorry, I forgot. Can't do RPi with the normal install as it takes a downloaded version of Eclipse. With RPi you have to compile Eclipse.
Here's a detailed procedure I developed while running on Windows 11. I've used the same procedure on MacOS with the differences noted that I can remember. Similar results should be obtainable on Intel-based Linux. If you have trouble with the install, try switching Java to Zulu-11 and see if that helps.
I did a fresh install of the IDE on a brand new Win10 computer:
Infrastructure/org.openhab.demo.app
app.bndrun
and clicked Debug OSGi --> openHAB started correctly with no errors and I could access Main UI correctlyInfrastructure/org.openhab.demo.app
and added dependency to hue binding as suggested in the OH dev guideapp.bndrun
searched hue under Browse Repos and added it to the right list, then savedapp.bndrun
again! Failed to start bundle org.apache.aries.jax.rs.whiteboard-2.0.1, exception activator error Bad type on operand stack
Exception Details:
Location:
org/apache/aries/jax/rs/whiteboard/activator/CxfJaxrsBundleActivator.<clinit>()V @56: invokestatic
Reason:
Type 'org/apache/cxf/jaxrs/impl/RuntimeDelegateImpl' (current frame, stack[0]) is not assignable to 'javax/ws/rs/ext/RuntimeDelegate'
Current Frame:
bci: @56
flags: { }
locals: { 'java/lang/Class', 'java/lang/Class' }
stack: { 'org/apache/cxf/jaxrs/impl/RuntimeDelegateImpl' }
[.....]
This (repeatable) test shows that the current OH Eclipse IDE dev env for Win10 is broken, starting from a fresh install without any changes/customizations from the developer.
It should be noted that the console shows a problem starting bundle org.apache.aries.jax.rs.whiteboard-2.0.1
, and that one of the latest commit from @wborn on openhab-distro is 31fbf28730688b21a0acb9273701733a6d64a900 and is related to org.apache.aries.jax.rs.whiteboard dependency.
@wborn, @kai can you test a fresh install and reproduce the problem?
Can the dependecy for bundle org.apache.aries.jax.rs.whiteboard-2.0.1
be checked and maybe rolled back?
I thought I'd try a test as @mvalla is requesting of others. I took the build I detailed above with no other changes other than restarting Eclipse. I clicked Resolve and got the following errors in the Resolve popup:
Resolution failed. Capabilities satisfying the following requirements could not be found:
[<
I did a fresh install of the IDE on a brand new Win10 computer:
- installed latest Oracle Java 11, Git, MVN from scratch
- followed instructions on the OH developer page, waited all tasks in Eclipse to complete
- in the Eclipse Project Explorer (left pane) opened
Infrastructure/org.openhab.demo.app
- opened
app.bndrun
and clicked Debug OSGi --> openHAB started correctly with no errors and I could access Main UI correctly- stopped openHAB, edited pom.xml under
Infrastructure/org.openhab.demo.app
and added dependency to hue binding as suggested in the OH dev guide- opened
app.bndrun
searched hue under Browse Repos and added it to the right list, then saved- clicked Resolve and saw result windows, closed it and saved
app.bndrun
again- clicked Debug OSGi--> the following error popup now appeared
- in the Eclipse console, the error already reported at the beginning of the issue appeared:
! Failed to start bundle org.apache.aries.jax.rs.whiteboard-2.0.1, exception activator error Bad type on operand stack Exception Details: Location: org/apache/aries/jax/rs/whiteboard/activator/CxfJaxrsBundleActivator.<clinit>()V @56: invokestatic Reason: Type 'org/apache/cxf/jaxrs/impl/RuntimeDelegateImpl' (current frame, stack[0]) is not assignable to 'javax/ws/rs/ext/RuntimeDelegate' Current Frame: bci: @56 flags: { } locals: { 'java/lang/Class', 'java/lang/Class' } stack: { 'org/apache/cxf/jaxrs/impl/RuntimeDelegateImpl' } [.....]
- now if I open Main UI I get only a blank screen (black in my case since t the first run I activated black mode): so elements in the UI are not working anymore.
This (repeatable) test shows that the current OH Eclipse IDE dev env for Win10 is broken, starting from a fresh install without any changes/customizations from the developer.
It should be noted that the console shows a problem starting bundle
org.apache.aries.jax.rs.whiteboard-2.0.1
, and that one of the latest commit from @wborn on openhab-distro is 31fbf28 and is related to org.apache.aries.jax.rs.whiteboard dependency.@wborn, @kai can you test a fresh install and reproduce the problem? Can the dependecy for bundle
org.apache.aries.jax.rs.whiteboard-2.0.1
be checked and maybe rolled back?
As said, I did the exact same thing and can also reproduce the problem on Windows 11 with Java 11
I can confirm that on a fresh install (Win10, Java 11), using latest opeanhab-distro
main, if each time after clicking Resolve in app.bndrun the following line is removed:
jakarta.ws.rs-api;version='[2.1.6,2.1.7)',\
then after launching Debug, OH3 starts correctly in Eclipse and other selected bundles are also loaded correctly.
So the bug in the resolution remains, but at least the workaround works for now.
@wborn, @kai can you test a fresh install and reproduce the problem? Can the dependecy for bundle org.apache.aries.jax.rs.whiteboard-2.0.1 be checked and maybe rolled back?
I've rolled the Whiteboard upgrade of #1325 back with #1342. So after it is merged, maybe everybody can check if it fixes the issue in Eclipse?
@wborn I upgraded my Eclipse install to the latest version and updated my add-on development environment. I did not do a reinstall. But I still run into this same issue. I could not run my binding from Eclipse (had the same error as shown above) without the workaround from @mvalla. As indicated, I did not do a re-install. Could the newer version still be used from a cache? If not, it must be something else.
Hello, I did a complete reinstall today. Seems not to work. Getting still a white screen afterwards. Some other errors are thrown in the console:
@wborn
Hello, I did a complete reinstall today. Seems not to work. Getting still a white screen afterwards. Some other errors are thrown in the console
this seems to be another problem, as the bundle that does not start is now org.openhab.core.addon.marketplace
.
@chingon007 : can you get around it by removing the following line from app.bndrun ? jakarta.ws.rs-api;version='[2.1.6,2.1.7)',\
I played with it and yes that's another issue. However I receive the same error as mentioned above and I am also able to start again by applying the workaround removing the mentioned line. Therefore I think @wborn that your last commit did not lead to the expected success or am I wrong?
@chingon007 this is another issue, see https://github.com/openhab/openhab-core/issues/2673. It seems to have been introduced by https://github.com/openhab/openhab-core/pull/2592.
I have the same issue over here after a fresh install
Darwin Karels-M1-MacBook-Pro.local 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
openjdk 11.0.13 2021-10-19 LTS [This is x86 via Rosetta, but problem prevails with an arm64 JVM] OpenJDK Runtime Environment Zulu11.52+13-CA (build 11.0.13+8-LTS) OpenJDK 64-Bit Server VM Zulu11.52+13-CA (build 11.0.13+8-LTS, mixed mode)
Same issue for me on MacOS Monterey with Java 11.
The offending jakarta.ws.rs jar comes as a transitive dependency of CXF
A nicer workaround is to define an exclusion in the maven dependencies:
<dependency>
<groupId>org.openhab.core.bom</groupId>
<artifactId>org.openhab.core.bom.runtime</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
</exclusion>
</exclusions>
</dependency>
The issue is still present and my workaround still works.
The jakarta.ws.rs-api
bundle should no longer be resolved now as it is blacklisted with the changes in #1379.
Can you check if that resolves this issue?
correct, with the latest update the packagejakarta.ws.rs-api
is not resolved and now OH can be started with no error and selected bundles are also started correctly.
The workaround is not needed anymore.
Hi, since today, my development setup stopped working. When running, just a black page is presented instead of openhab. I'm using openhab-distro from the latest main.
Steps to reproduce:
launch/app/app.bndrun
Workaround
Open the source of
app.bndrun
and remove the line:jakarta.ws.rs-api;version='[2.1.6,2.1.7)',\
or more persistent, define an exclusion
Console output