[SOLUTION FOUND] IDE / Build does not work on macbook with Java SE 8.152, but it work with SE9 (but it works on windows, and eclipse home also works)

UPDATE: Setup work now with Java SE 9 SDK. See postings below.

Hello developers,

I have tried to start a development for a new binding. But currently I have a problem with the IDE setup on my mac book.

  • Platform information:
    • Hardware: CPUArchitecture/RAM/storage
    • OS: macOS High Sierra 10.13.2
    • Java Runtime Environment: java version "1.8.0_151"
      Java™ SE Runtime Environment (build 1.8.0_151-b12)
      Java HotSpot™ 64-Bit Server VM (build 25.151-b12, mixed mode)
    • openHAB version: 2.2
  • Issue of the topic:

If followed the instruction on https://docs.openhab.org/developers/development/ide.html and it seems that every thing goes ok. org.openhab.core.karaf fails to compile, but I think this is an known bug and I have closed the project.

But if I launch the project, something seems to block. For example it is not possible to open the dashboard most of the tries. The browser hangs in the call. I have tried the setup procedure several time and a got always an other result. Sometime, I saw the start-page in the web browser but nothing more. Sometime I saw that open hab executes the sample rules, sometimes not. But I have newer seen the initialize message of the yahoo wheater binding described in the sample.

So I have tried the same procedure in windows and there it works and I can debug bindings, but the machine is very old and slow and so I want use my mac.

I have tried also the eclipse smarthome https://www.eclipse.org/smarthome/documentation/development/ide.html. This work well on my mac, I have no idea whats the problem with the openhab.

Kind regards,
Michael

2017-12-19 20:51:28.790 [DEBUG] [.s.r.i.SitemapRuntimeActivator:26 ] - Registered ‘sitemap’ configuration parser
2017-12-19 20:51:28.841 [DEBUG] [s.m.i.r.i.ItemRuntimeActivator:26 ] - Registered ‘item’ configuration parser
2017-12-19 20:51:28.891 [DEBUG] [.i.PersistenceRuntimeActivator:26 ] - Registered ‘persistence’ configuration parser
2017-12-19 20:51:28.917 [INFO ] [org.eclipse.jetty.util.log :192 ] - Logging initialized @2032ms
2017-12-19 20:51:28.924 [INFO ] [.DefaultJettyAtJettyHomeHelper:159 ] - Configuring the default jetty server with [file:/Users/mgeramb/openhab2-master2/git/openhab-distro/launch/home/./etc/jetty.xml, file:/Users/mgeramb/openhab2-master2/git/openhab-distro/launch/home/./etc/jetty-http.xml, file:/Users/mgeramb/openhab2-master2/git/openhab-distro/launch/home/./etc/jetty-deployer.xml]
2017-12-19 20:51:28.925 [INFO ] [.DefaultJettyAtJettyHomeHelper:164 ] - JETTY.HOME=/Users/mgeramb/openhab2-master2/git/openhab-distro/launch/home/.
2017-12-19 20:51:28.925 [INFO ] [.DefaultJettyAtJettyHomeHelper:165 ] - JETTY.BASE=/Users/mgeramb/openhab2-master2/git/openhab-distro/launch/home/.
2017-12-19 20:51:29.087 [INFO ] [rg.eclipse.jetty.server.Server:346 ] - jetty-9.3.22.v20171030
2017-12-19 20:51:29.149 [INFO ] [tty.util.ssl.SslContextFactory:290 ] - x509=X509@9e84b27(mykey,h=[openhab.org],w=[]) for SslContextFactory@240ba319(file:///Users/mgeramb/openhab2-master2/git/openhab-distro/launch/home/etc/keystore,file:///Users/mgeramb/openhab2-master2/git/openhab-distro/launch/home/etc/keystore)
2017-12-19 20:51:29.290 [INFO ] [jetty.server.AbstractConnector:278 ] - Started 0.0.0.0:8443@3e00ddbd{SSL,[ssl, http/1.1]}{0.0.0.0:8443}
2017-12-19 20:51:29.291 [INFO ] [jetty.server.AbstractConnector:278 ] - Started ServerConnector@3fd3f639{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2017-12-19 20:51:29.291 [INFO ] [rg.eclipse.jetty.server.Server:414 ] - Started @2407ms
2017-12-19 20:51:29.292 [INFO ] [.DefaultJettyAtJettyHomeHelper:185 ] - Default jetty server configured
2017-12-19 20:51:29.337 [DEBUG] [.m.t.r.i.ThingRuntimeActivator:26 ] - Registered ‘thing’ configuration parser
2017-12-19 20:51:29.457 [DEBUG] [s.ui.icon.internal.IconServlet:81 ] - Starting up icon servlet at /icon
2017-12-19 20:51:29.474 [INFO ] [.server.handler.ContextHandler:781 ] - Started o.e.j.s.ServletContextHandler@6480baae{/,null,AVAILABLE}
2017-12-19 20:51:29.499 [INFO ] [.u.d.internal.DashboardService:62 ] - Started dashboard at http://10.0.0.3:8080
2017-12-19 20:51:29.500 [INFO ] [.u.d.internal.DashboardService:66 ] - Started dashboard at https://10.0.0.3:8443
2017-12-19 20:51:29.568 [DEBUG] [io.rest.internal.RESTActivator:77 ] - REST API has been started.
2017-12-19 20:51:29.680 [DEBUG] [.s.core.internal.CoreActivator:37 ] - Core bundle has been started.
2017-12-19 20:51:29.729 [DEBUG] [.e.s.c.i.i18n.I18nProviderImpl:169 ] - No time zone set, falling back to the default time zone ‘Europe/Vienna’.
2017-12-19 20:51:29.729 [DEBUG] [.e.s.c.i.i18n.I18nProviderImpl:112 ] - No language set, falling back to the default locale
2017-12-19 20:51:29.805 [DEBUG] [.s.ExpressionThreadPoolManager:68 ] - Created an expression-drive scheduled thread pool ‘persist’ of size 5
2017-12-19 20:51:29.820 [DEBUG] [.core.common.ThreadPoolManager:121 ] - Created scheduled thread pool ‘discovery’ of size 5
2017-12-19 20:51:30.033 [DEBUG] [.i.r.sse.internal.SseActivator:51 ] - SSE API - SseFeature registered.
2017-12-19 20:51:30.034 [DEBUG] [.i.r.sse.internal.SseActivator:60 ] - SSE API has been started.
2017-12-19 20:51:30.040 [DEBUG] [s.i.t.m.internal.MDNSActivator:34 ] - mDNS service has been started.
2017-12-19 20:51:30.066 [DEBUG] [.i.t.m.internal.MDNSClientImpl:83 ] - mDNS service has been started (JmDNS-IP-1 for IP 10.0.0.3)
2017-12-19 20:51:30.067 [DEBUG] [i.t.m.internal.MDNSServiceImpl:50 ] - Registering 2 queued services
2017-12-19 20:51:30.067 [DEBUG] [.i.t.m.internal.MDNSClientImpl:111 ] - Registering new service _openhab-server._tcp.local. at 10.0.0.3:8080 (JmDNS-IP-1)
2017-12-19 20:51:30.090 [DEBUG] [.core.common.ThreadPoolManager:121 ] - Created scheduled thread pool ‘xml-processing’ of size 5
2017-12-19 20:51:30.177 [DEBUG] [s.c.d.AbstractDiscoveryService:404 ] - Background discovery for discovery service ‘org.eclipse.smarthome.config.discovery.mdns.internal.MDNSDiscoveryService’ enabled.
2017-12-19 20:51:30.241 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.osgi
2017-12-19 20:51:30.241 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.smarthome.automation.module.script.defaultscope
2017-12-19 20:51:30.241 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.equinox.common
2017-12-19 20:51:30.241 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.equinox.common
2017-12-19 20:51:30.241 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.osgi
2017-12-19 20:51:30.243 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.automation.module.script.defaultscope
2017-12-19 20:51:30.244 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.model.rule
2017-12-19 20:51:30.244 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.jetty.servlet
2017-12-19 20:51:30.243 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.model.rule.runtime
2017-12-19 20:51:30.244 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.jetty.websocket.client
2017-12-19 20:51:30.244 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.io.rest.mdns
2017-12-19 20:51:30.244 [DEBUG] [c.x.o.XmlDocumentBundleTracker:347 ] - Reading the XML document ‘/ESH-INF/config/config.xml’ in module ‘org.eclipse.smarthome.ui.classic’…
2017-12-19 20:51:30.244 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.ui.icon
2017-12-19 20:51:30.245 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.jetty.osgi.httpservice
2017-12-19 20:51:30.245 [DEBUG] [c.x.o.XmlDocumentBundleTracker:347 ] - Reading the XML document ‘/ESH-INF/config/config.xml’ in module ‘org.eclipse.smarthome.ui.basic’…
2017-12-19 20:51:30.245 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.jetty.http
2017-12-19 20:51:30.245 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.jetty.servlet
2017-12-19 20:51:30.245 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=javax.inject
2017-12-19 20:51:30.245 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.smarthome.model.rule
2017-12-19 20:51:30.246 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.smarthome.model.rule.runtime
2017-12-19 20:51:30.246 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.smarthome.ui.classic
2017-12-19 20:51:30.246 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.smarthome.io.rest.mdns
2017-12-19 20:51:30.246 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.equinox.ds
2017-12-19 20:51:30.246 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.xtext
2017-12-19 20:51:30.247 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.apache.commons.net
2017-12-19 20:51:30.247 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.apache.felix.scr
2017-12-19 20:51:30.247 [DEBUG] [c.x.o.XmlDocumentBundleTracker:347 ] - Reading the XML document ‘/ESH-INF/config/config.xml’ in module ‘org.eclipse.smarthome.core.audio’…
2017-12-19 20:51:30.247 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.io.monitor
2017-12-19 20:51:30.247 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.automation.module.script.rulesupport
2017-12-19 20:51:30.248 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.jetty.websocket.client
2017-12-19 20:51:30.248 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.equinox.util
2017-12-19 20:51:30.248 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.ui.iconset.classic
2017-12-19 20:51:30.248 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.io.console.eclipse
2017-12-19 20:51:30.249 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.config.xml
2017-12-19 20:51:30.249 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=ch.qos.logback.classic
2017-12-19 20:51:30.250 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.equinox.http.servlet
2017-12-19 20:51:30.250 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.transform.map
2017-12-19 20:51:30.250 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.californium.scandium
2017-12-19 20:51:30.250 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.io.rest
2017-12-19 20:51:30.251 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.jetty.webapp
2017-12-19 20:51:30.251 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.automation.providers
2017-12-19 20:51:30.251 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.equinox.registry
2017-12-19 20:51:30.251 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.model.sitemap.runtime
2017-12-19 20:51:30.252 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.openhab.ui.classicui
2017-12-19 20:51:30.252 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.model.script.runtime
2017-12-19 20:51:30.253 [DEBUG] [c.x.o.XmlDocumentBundleTracker:347 ] - Reading the XML document ‘/ESH-INF/config/i18n.xml’ in module ‘org.eclipse.smarthome.core’…
2017-12-19 20:51:30.258 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=com.eclipsesource.jaxrs.jersey-min
2017-12-19 20:51:30.259 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.openhab.core.compat1x
2017-12-19 20:51:30.259 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.apache.httpcomponents.httpcore
2017-12-19 20:51:30.260 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.jetty.client
2017-12-19 20:51:30.260 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.jetty.security
2017-12-19 20:51:30.261 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.jetty.deploy
2017-12-19 20:51:30.261 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.binding.hue
2017-12-19 20:51:30.262 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.smarthome.ui.icon
2017-12-19 20:51:30.262 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.ui.classic
2017-12-19 20:51:30.262 [DEBUG] [c.x.o.XmlDocumentBundleTracker:347 ] - Reading the XML document ‘/ESH-INF/config/networkinterface.xml’ in module ‘org.eclipse.smarthome.core’…
2017-12-19 20:51:30.262 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.core.binding.xml
2017-12-19 20:51:30.262 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.ui.basic
2017-12-19 20:51:30.263 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.jetty.osgi.httpservice
2017-12-19 20:51:30.263 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.xtext.util
2017-12-19 20:51:30.263 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.core
2017-12-19 20:51:30.263 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.io.rest.sse
2017-12-19 20:51:30.264 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.smarthome.ui.basic
2017-12-19 20:51:30.264 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.jetty.http
2017-12-19 20:51:30.264 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.xtext.common.types
2017-12-19 20:51:30.264 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.xtext
2017-12-19 20:51:30.264 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=javax.inject
2017-12-19 20:51:30.264 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.equinox.ds
2017-12-19 20:51:30.265 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.apache.commons.net
2017-12-19 20:51:30.265 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.apache.felix.scr
2017-12-19 20:51:30.265 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.smarthome.core.audio
2017-12-19 20:51:30.265 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.objectweb.asm
2017-12-19 20:51:30.265 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.smarthome.io.monitor
2017-12-19 20:51:30.266 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.smarthome.automation.module.script.rulesupport

2017-12-19 20:51:30.717 [DEBUG] [.c.d.internal.ConfigDispatcher:319 ] - Processing config file 'services.cfg’
2017-12-19 20:51:30.759 [DEBUG] [.c.d.internal.ConfigDispatcher:319 ] - Processing config file 'basicui.cfg’
2017-12-19 20:51:30.762 [DEBUG] [.c.d.internal.ConfigDispatcher:319 ] - Processing config file 'classicui.cfg’
2017-12-19 20:51:30.764 [DEBUG] [.c.d.internal.ConfigDispatcher:319 ] - Processing config file 'logging.cfg’
2017-12-19 20:51:30.777 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.config.dispatch
2017-12-19 20:51:30.777 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.smarthome.config.dispatch
2017-12-19 20:51:30.789 [DEBUG] [.c.c.registry.AbstractRegistry:296 ] - Provider ‘org.eclipse.smarthome.automation.internal.core.provider.ModuleTypeResourceBundleProvider’ has been added.
2017-12-19 20:51:30.801 [DEBUG] [.c.c.registry.AbstractRegistry:296 ] - Provider ‘org.eclipse.smarthome.automation.internal.core.provider.TemplateResourceBundleProvider’ has been added.
2017-12-19 20:51:30.802 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.automation.parser.gson
2017-12-19 20:51:30.803 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.smarthome.automation.parser.gson
2017-12-19 20:51:30.806 [DEBUG] [o.e.s.c.s.i.SchedulerActivator:39 ] - Scheduler has been started.
2017-12-19 20:51:30.846 [DEBUG] [s.c.d.AbstractDiscoveryService:404 ] - Background discovery for discovery service ‘org.eclipse.smarthome.config.discovery.upnp.internal.UpnpDiscoveryService’ enabled.
2017-12-19 20:51:30.847 [INFO ] [uartz.impl.StdSchedulerFactory:1184 ] - Using default implementation for ThreadExecutor
2017-12-19 20:51:30.851 [DEBUG] [.core.common.ThreadPoolManager:121 ] - Created scheduled thread pool ‘upnp-io’ of size 5
2017-12-19 20:51:30.852 [DEBUG] [.e.s.i.t.u.i.UpnpIOServiceImpl:197 ] - Starting UPnP IO service…
2017-12-19 20:51:30.856 [DEBUG] [.core.common.ThreadPoolManager:86 ] - Updated scheduled thread pool ‘discovery’ to size 3
2017-12-19 20:51:30.857 [WARN ] [.core.common.ThreadPoolManager:94 ] - Ignoring invalid configuration for pool ‘safeCall’: 3,10 - value must be an integer

2017-12-19 20:51:30.905 [INFO ] [rtz.core.SchedulerSignalerImpl:61 ] - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2017-12-19 20:51:30.905 [INFO ] [rg.quartz.core.QuartzScheduler:240 ] - Quartz Scheduler v.2.2.1 created.
2017-12-19 20:51:30.907 [INFO ] [org.quartz.simpl.RAMJobStore :155 ] - RAMJobStore initialized.
2017-12-19 20:51:30.908 [INFO ] [rg.quartz.core.QuartzScheduler:305 ] - Scheduler meta-data: Quartz Scheduler (v2.2.1) ‘openHAB-job-scheduler’ with instanceId 'NON_CLUSTERED’
Scheduler class: ‘org.quartz.core.QuartzScheduler’ - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool ‘org.quartz.simpl.SimpleThreadPool’ - with 2 threads.
Using job-store ‘org.quartz.simpl.RAMJobStore’ - which does not support persistence. and is not clustered.

2017-12-19 20:51:30.908 [INFO ] [uartz.impl.StdSchedulerFactory:1339 ] - Quartz scheduler ‘openHAB-job-scheduler’ initialized from specified file: 'quartz.properties’
2017-12-19 20:51:30.908 [INFO ] [uartz.impl.StdSchedulerFactory:1343 ] - Quartz scheduler version: 2.2.1
2017-12-19 20:51:30.908 [INFO ] [rg.quartz.core.QuartzScheduler:575 ] - Scheduler openHAB-job-scheduler_$_NON_CLUSTERED started.
2017-12-19 20:51:30.909 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.core.scheduler
2017-12-19 20:51:30.909 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.smarthome.core.scheduler
2017-12-19 20:51:30.910 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.jetty.proxy
2017-12-19 20:51:30.910 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.jetty.proxy
2017-12-19 20:51:30.912 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=com.eclipsesource.jaxrs.provider.gson
2017-12-19 20:51:30.912 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=com.eclipsesource.jaxrs.provider.gson
2017-12-19 20:51:30.919 [DEBUG] [.c.c.registry.AbstractRegistry:296 ] - Provider ‘org.eclipse.smarthome.automation.module.media.internal.MediaActionTypeProvider’ has been added.
2017-12-19 20:51:30.926 [DEBUG] [e.s.a.core.internal.RuleEngine:256 ] - ModuleHandlerFactory added.
2017-12-19 20:51:30.929 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.smarthome.automation.module.media
2017-12-19 20:51:30.929 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.automation.module.media
2017-12-19 20:51:30.955 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.io.rest.sitemap
2017-12-19 20:51:30.955 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.smarthome.io.rest.sitemap
2017-12-19 20:51:30.955 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.xtext.smap
2017-12-19 20:51:30.955 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.xtext.smap
2017-12-19 20:51:30.958 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.smarthome.core.id
2017-12-19 20:51:30.958 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.smarthome.core.id
2017-12-19 20:51:31.027 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlConfig=org.eclipse.emf.ecore
2017-12-19 20:51:31.027 [DEBUG] [s.c.i.service.ReadyServiceImpl:54 ] - Added ready marker esh.xmlBindingInfo=org.eclipse.emf.ecore
2017-12-19 20:51:38.029 [DEBUG] [.i.t.m.internal.MDNSClientImpl:111 ] - Registering new service _openhab-server-ssl._tcp.local. at 10.0.0.3:8443 (JmDNS-IP-1)
2017-12-19 20:51:55.432 [INFO ] [.a.m.s.r.i.l.ScriptFileWatcher:162 ] - Loading script 'demo.js’
2017-12-19 20:51:55.910 [DEBUG] [.a.m.s.r.i.l.ScriptFileWatcher:170 ] - Script loaded: demo.js
2017-12-19 20:51:55.912 [DEBUG] [.core.common.ThreadPoolManager:151 ] - Created thread pool ‘safeCall’ with size 5
2017-12-19 20:51:55.913 [INFO ] [smarthome.event.RuleAddedEvent:52 ] - Rule ‘e8e011d6-4335-46f7-9c1b-8cd562946b3a’ has been added.
2017-12-19 20:51:55.914 [INFO ] [home.event.RuleStatusInfoEvent:52 ] - e8e011d6-4335-46f7-9c1b-8cd562946b3a updated: INITIALIZING
2017-12-19 20:51:55.914 [INFO ] [home.event.RuleStatusInfoEvent:52 ] - e8e011d6-4335-46f7-9c1b-8cd562946b3a updated: UNINITIALIZED (HANDLER_INITIALIZING_ERROR): Missing handler ‘timer.GenericCronTrigger’ for module ‘aTimerTrigger’

Can confirm that I have the same problem with osx High Sierra. Tried to reinstall multiple times but it ends the same way always. No UI responds from the localhost:8080.

Ok, so I got it working by changing the JRE to use Java SE 9 instead of Java8 from the run configurations…

1 Like

Hi lizzy,

Thank’s for your posting, it works now with SE 9. Interesting, because I think SE9 is not yet offical supported by openhab.

Regards,
Michael

1 Like

This sounds weird. Many people use a Mac for openHAB development, including myself - and Java8 works like a charm (rather, openHAB distro does not work with Java9 correctly).

1 Like

Btw, please use the code fences when posting log files, it make the formatting so much better readable…

Hi Kai,

sorry for not using the code fences.

which version of Java 8 do you use? Have you tried already to load a complete fresh copy of the repository? I’am not sure what’s wrong, but I know that it does not work on my mac, I have done the installation 4 times, always with the same result. I have done it one time with windows using the exactly same version of Java and OpenHAB and it works, so I’am sure that I have done everything correct. Also with Java 9, I have it done in the same way, but this works. But if you give me your exact version which you are using, I will give them a new try.

Regards, Michael

Hi Michael, did you find a solution with Java 1.8 - I’m struggling to get my IDE reinstalled. It used to run perfectly. But now it installs and everything seems working perfect - however I can’t access the OpenHAB runtime from my browser. localhost:8080 - it just hangs.

No errors in the log - it looks like everything is running ok.
macOs 10.13.2 / Eclipse IDE Oxygen / Java version 1.8
java version "1.8.0_162"
Java™ SE Runtime Environment (build 1.8.0_162-b12)
Java HotSpot™ 64-Bit Server VM (build 25.162-b12, mixed mode)

Any suggestions.

Best regards
Peter Kristensen

@zmartify:
Hi Peter, after the posting from @Kai, I make one more try. But no success. I use now Java 9, this works perfect for development for my binding. I do not know what’s the problem with the openHAB distro, but I do not need more.
May @Kai can make a try with a clean setup.

Regards,
Michael

Tryed with a complete fresh installation of my Mac, Java 1.8.0_162, Eclipse and OpenHAB - same problem. But I finally found a solution to the problem - in the run configuration, for unknown reasons the “target platform” on MacOs selects openhab.core version 2.2.0… instead of version 2.3.0…

When I changed that, everything runs smoothly - maybe @Kai can explain this?

Best regards,
Peter

I have some good news for you and some bad for me: I can know reproduce the problem in my IDE - openHAB does not come up :frowning:

No, I cannot (it should also work with the 2.2 from the target platform) and I also cannot reproduce it - even if I take the projects from the workspace, it does not help…

I’ll try to investigate.

Hi Kai,

Agree - What I thought was a Solution only worked very temporary :frowning: - but glad you Can reproduce it.
Best regards
Peter

Looks a bit like https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8019496 and adding

-Djava.awt.headless=true

should help.

Thanks @sjka, that works for me (and this parameter should have always been there, I am not sure how and when it got lost…). I have created https://github.com/openhab/openhab-distro/pull/638 for it.

@zmartify Could you please check that this fixes the issue for you as well?

Thanks all, that fixed it for me as well :slight_smile: