Samsung binding: Could not start servlet context for context path

Tags: #<Tag:0x00007f61733df8c0>

I have a problem with the Samsung binding. Every third minute I get the following in my log and the TV is offline in OpenHAB for a few seconds.

Probably except the offline-time period, I can still control the TV volume.

10:18:13.883 [DEBUG] [.internal.service.MainTVServerService] - Received channel: url, command: REFRESH
10:18:13.884 [DEBUG] [ernal.service.RemoteControllerService] - getSupportedChannelNames: [keyCode, power, channel]
10:18:13.884 [DEBUG] [ernal.service.RemoteControllerService] - Received channel: keyCode, command: REFRESH
10:18:13.884 [DEBUG] [ernal.service.RemoteControllerService] - Received channel: power, command: REFRESH
10:18:13.884 [DEBUG] [internal.service.MediaRendererService] - Received channel: volume, command: REFRESH
10:18:13.967 [TRACE] [internal.service.MediaRendererService] - Value '33' for CurrentVolume hasn't changed, ignoring update
10:18:13.967 [DEBUG] [internal.service.MediaRendererService] - Received channel: mute, command: REFRESH
10:18:14.111 [TRACE] [internal.service.MediaRendererService] - Value 'false' for CurrentMute hasn't changed, ignoring update
10:18:14.943 [DEBUG] [.internal.service.MainTVServerService] - onStatusChanged: status=false
10:18:14.943 [DEBUG] [internal.service.MediaRendererService] - onStatusChanged: status=false
10:18:14.943 [DEBUG] [scovery.SamsungTvDiscoveryParticipant] - Retrieved Thing UID for a Samsung TV '[TV]Samsung LED46' model 'UE46F7000' thing with UDN '0bebc200_00c8_1000_adfd_78abbb4ede5a'
10:18:14.943 [DEBUG] [gtv.internal.handler.SamsungTvHandler] - Thing Removed: samsungtv:tv:0bebc200_00c8_1000_adfd_78abbb4ede5a
10:18:14.944 [DEBUG] [gtv.internal.handler.SamsungTvHandler] - Shutdown all Samsung services
10:18:14.945 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'samsungtv:tv:0bebc200_00c8_1000_adfd_78abbb4ede5a' changed from ONLINE to OFFLINE
10:18:14.945 [INFO ] [smarthome.event.ItemStateChangedEvent] - SamsungTV_Power changed from ON to OFF
10:18:14.955 [ERROR] [b.service.internal.HttpServiceStarted] - Could not start the servlet context for context path []
java.io.IOException: Failed to bind to /0.0.0.0:8443
	at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:346) ~[?:?]
	at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:307) ~[?:?]
	at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[?:?]
	at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:231) ~[?:?]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) ~[?:?]
	at org.eclipse.jetty.server.Server.doStart(Server.java:385) ~[?:?]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) ~[?:?]
	at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:352) ~[?:?]
	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:252) ~[?:?]
	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:223) ~[?:?]
	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:207) ~[?:?]
	at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:69) ~[?:?]
	at org.jupnp.transport.impl.osgi.HttpServiceServletContainerAdapter.registerServlet(HttpServiceServletContainerAdapter.java:83) ~[?:?]
	at org.jupnp.transport.impl.ServletStreamServerImpl.init(ServletStreamServerImpl.java:73) ~[?:?]
	at org.jupnp.transport.RouterImpl.startAddressBasedTransports(RouterImpl.java:422) ~[?:?]
	at org.jupnp.transport.RouterImpl.enable(RouterImpl.java:125) ~[?:?]
	at org.eclipse.smarthome.config.discovery.upnp.internal.UpnpDiscoveryService.lambda$0(UpnpDiscoveryService.java:240) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_252]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_252]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_252]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_252]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_252]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_252]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]
Caused by: java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind0(Native Method) ~[?:1.8.0_252]
	at sun.nio.ch.Net.bind(Net.java:433) ~[?:1.8.0_252]
	at sun.nio.ch.Net.bind(Net.java:425) ~[?:1.8.0_252]
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:220) ~[?:1.8.0_252]
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85) ~[?:1.8.0_252]
	at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:342) ~[?:?]
	... 23 more
10:18:16.234 [DEBUG] [scovery.SamsungTvDiscoveryParticipant] - Retrieved Thing UID for a Samsung TV '[TV]Samsung LED46' model 'UE46F7000' thing with UDN '0bebc200_00c8_1000_adfd_78abbb4ede5a'
10:18:16.235 [DEBUG] [scovery.SamsungTvDiscoveryParticipant] - Created a DiscoveryResult for device 'UE46F7000' with UDN '0bebc200-00c8-1000-adfd-78abbb4ede5a' and properties: {hostName=192.168.1.92}
10:18:16.235 [DEBUG] [gtv.internal.handler.SamsungTvHandler] - thingDiscovered: 192.168.1.92, DiscoveryResult [thingUID=samsungtv:tv:0bebc200_00c8_1000_adfd_78abbb4ede5a, properties={hostName=192.168.1.92}, representationProperty=null, flag=NEW, label=[TV]Samsung LED46, bridgeUID=null, ttl=-1, timestamp=1592295496235]
10:18:16.235 [DEBUG] [gtv.internal.handler.SamsungTvHandler] - thingDiscovered, thingUID=samsungtv:tv:0bebc200_00c8_1000_adfd_78abbb4ede5a, discoveredUID=samsungtv:tv:0bebc200_00c8_1000_adfd_78abbb4ede5a
10:18:16.235 [DEBUG] [gtv.internal.handler.SamsungTvHandler] - Check and create missing UPnP services
10:18:16.235 [DEBUG] [.internal.service.MainTVServerService] - Creating a Samsung TV MainTVServer service
10:18:16.235 [DEBUG] [gtv.internal.handler.SamsungTvHandler] - Started service for: UE46F7000, MainTVServer2 (0aba9500-00b4-1000-b47c-78abbb4ede5a)
10:18:16.236 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'samsungtv:tv:0bebc200_00c8_1000_adfd_78abbb4ede5a' changed from OFFLINE to ONLINE
10:18:16.236 [TRACE] [gtv.internal.handler.SamsungTvHandler] - Skipping unknown UPnP service: UE46F7000, dialreceiver (0ee6b280-00fa-1000-a40c-78abbb4ede5a)
10:18:16.236 [INFO ] [smarthome.event.ItemStateChangedEvent] - SamsungTV_Power changed from OFF to ON
10:18:16.236 [DEBUG] [ernal.service.RemoteControllerService] - Creating a Samsung TV RemoteController service: true
10:18:16.236 [INFO ] [ernal.service.RemoteControllerService] - Using Legacy interface
10:18:16.237 [DEBUG] [ernal.protocol.RemoteControllerLegacy] - Open connection to host '192.168.1.92:55000'
10:18:16.237 [DEBUG] [ernal.protocol.RemoteControllerLegacy] - Connection successfully opened...querying access
10:18:16.338 [DEBUG] [ernal.protocol.RemoteControllerLegacy] - Access granted
10:18:16.338 [DEBUG] [gtv.internal.handler.SamsungTvHandler] - Started service for: UE46F7000, RemoteControlReceiver (0bebc201-00c8-1000-aa89-78abbb4ede5a)
10:18:16.339 [DEBUG] [internal.service.MediaRendererService] - Creating a Samsung TV MediaRenderer service
10:18:16.339 [DEBUG] [gtv.internal.handler.SamsungTvHandler] - Started service for: UE46F7000, MediaRenderer (0bebc200-00c8-1000-adfd-78abbb4ede5a)
10:18:17.112 [DEBUG] [.internal.service.MainTVServerService] - Received channel: url, command: REFRESH
10:18:17.112 [DEBUG] [ernal.service.RemoteControllerService] - getSupportedChannelNames: [keyCode, power, channel]
10:18:17.112 [DEBUG] [ernal.service.RemoteControllerService] - Received channel: keyCode, command: REFRESH
10:18:17.112 [DEBUG] [ernal.service.RemoteControllerService] - Received channel: power, command: REFRESH
10:18:17.112 [DEBUG] [internal.service.MediaRendererService] - Received channel: volume, command: REFRESH
10:18:17.195 [DEBUG] [gtv.internal.handler.SamsungTvHandler] - Received value 'volume':'33' for thing 'samsungtv:tv:0bebc200_00c8_1000_adfd_78abbb4ede5a'
10:18:17.195 [DEBUG] [internal.service.MediaRendererService] - Received channel: mute, command: REFRESH

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.