is online // iOS app doesn't show sitemap -> Solution: Java update!

Either way works. They both get you to 1.8.0_101.

Hi, same problem. I’m running Openhab on a Mac.

I have updated Java as per normal Mac reminders, and get the following when I run ‘java -version’:

java version "1.8.0_102" Java(TM) SE Runtime Environment (build 1.8.0_102-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)

I also downloaded JDK 1.8 from Oracle site and installed it, and I rebooted the Mac. But my iOS app can still not get the sitemap remotely, where it was working previously. I can get it on the same phone if I go to

Any ideas for Mac?

I think it is the iPhone app, because I have the same issue and my OpenHab is on a Windows box. After I updated Java it works on the browser but the app still fails.

Does it work if you select “ignore SSL certificates” in the settings of the iOS app?

Same issue here, Java update fixed it. Thanks!

I just updated Java according to the WebUpd8 method.
But now my IHC binding dosen’t work :frowning2:
Anybody how can guide me how to remove the newest java version again?

I found the app was working on my iPad, not on my iPhone. I tried “Ignore SSL certificates” and “Clear cache” with no luck.

I deleted the app on my iphone, reinstalled it and now it works.

Hi, I have just updated Java, and that has fixed the myOpenHab problem. However, the NetAtmo binding will stop working because new Java comes with new keystore and you also need to add the Starcom certificate to the new keystore. There may be other bindings using certificates as well, but I did not check that. So if a binding stops working, check if it needs a certificate.

Is there a method that doesn’t require a graphic interface? My pi is located away from any sort of screen at the moment, so I only have SSH access through my phone. Apt-get seems to only update me to 1.8.0_65.

Ok, so I accidentally installed v1.7.0_101. I uninstalled that. Uninstalled v1.8.0_xxx. Then reinstalled v1.8 using apt-get. “Java -version” still says I’m using v1.7.0_101. I don’t know what version I’m really using, but openHAB is allowing me to connect remotely again. I’ll figure it out later. Thanks for all the info in this thread!

I’m in the same boat as you. My RPi 2 is headless with only SSH access. I used those instructions on my Mac SSH’d into the RPi.

@Steve40: You don’t need a graphic interface. SSH access is enough to update/install the recent java version. The instructions of sihui should do the job!

All who have problems: Maybe the correct version is already installed, but not activated. Try

sudo update-alternatives --config java

to check, which versions are installed and which one is activated. You can have different versions installed at the same time (or Oracle Java and Open JDK at the same time). If so, you have to choose the right version with this command.

1 Like

hi all,

that tutorial from sihui works great for my RasPI3!! and my openhab 1.8.3 version!

many thx to sihui

greets, eibalinchen

Thx, appreciation goes to @Udo_Hartmann for sharing the link … :ribbon:

I’ve followed these instructions and that brought myopenhab back online…thanks for that.

I do have a problem where the web interface is no longer working (but HabDroid is).

Anyone else get this?

Problem accessing /start/index. Reason: Not Found

2016-08-06 10:06:23.612 [WARN ] [eclipse.jetty.servlet.ServletHandler] - /proxy java.nio.channels.ClosedChannelException at[] at[] at[] at[] at[] at[] at$ManagedSelector.closeNoExceptions([] at$ManagedSelector.access$1100([] at$ManagedSelector$[] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob([81:org.eclipse.jetty.util:9.2.14.v20151106] at org.eclipse.jetty.util.thread.QueuedThreadPool$[81:org.eclipse.jetty.util:9.2.14.v20151106] at[:1.8.0_65] 2016-08-06 10:06:23.618 [WARN ] [org.eclipse.jetty.server.HttpChannel] - /proxy?sitemap=default.sitemap&widgetId=0800&t=11807784156069734 javax.servlet.ServletException: java.nio.channels.ClosedChannelException at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle([164:org.ops4j.pax.web.pax-web-jetty:4.2.4] at org.eclipse.jetty.server.handler.HandlerWrapper.handle([78:org.eclipse.jetty.server:9.2.14.v20151106] at org.eclipse.jetty.server.Server.handle([78:org.eclipse.jetty.server:9.2.14.v20151106] at org.eclipse.jetty.server.HttpChannel.handle([78:org.eclipse.jetty.server:9.2.14.v20151106] at org.eclipse.jetty.server.HttpConnection.onFillable([78:org.eclipse.jetty.server:9.2.14.v20151106] at$[] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob([81:org.eclipse.jetty.util:9.2.14.v20151106] at org.eclipse.jetty.util.thread.QueuedThreadPool$[81:org.eclipse.jetty.util:9.2.14.v20151106] at[:1.8.0_65] Caused by: java.nio.channels.ClosedChannelException at[] at[] at[] at[] at[] at[] at$ManagedSelector.closeNoExceptions([] at$ManagedSelector.access$1100([] at$ManagedSelector$[] ... 3 more 2016-08-06 10:06:23.623 [WARN ] [org.eclipse.jetty.server.HttpChannel] - Could not send response error 500: javax.servlet.ServletException: java.nio.channels.ClosedChannelException 2016-08-06 10:07:02.326 [INFO ] [] - Squeeze Server connection started. 2016-08-06 10:07:05.434 [WARN ] [] - Exception caught while starting SSH server Cannot assign requested address at Method)[:1.8.0_101] at[:1.8.0_101] at[:1.8.0_101] at[:1.8.0_101] at[1:org.apache.sshd.core:0.14.0] at[1:org.apache.sshd.core:0.14.0] at org.apache.sshd.SshServer.start([1:org.apache.sshd.core:0.14.0] at[] at[] at java.util.concurrent.Executors$[:1.8.0_101] at[:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor.runWorker([:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor$[:1.8.0_101] at[:1.8.0_101]

I am not sure if I got you right.

You mean, Ijust need to run your script above (or single commands) to update java with the next apt-get upgrade to the required version?

Yes, just copy the whole stuff at once to a command prompt and hit enter.
You could do it with single commands, but then you have to remove the “echo” and quote signs …

Thanks, it worked like a charm. :slight_smile:

I have the same problem with my netatmo.
Could you please share some information / link how to proceed with the certificate issue?

Found it in the Netatmo wiki.
Never mind. :wink: