It does - it’s in the first error message I posted as well…
Ah - is that another change then? I thought 1.7 was the dependancy, not 1.8. For sure, the previous version which I loaded a few weeks back worked fine under 1.7
Commenting out the lines you suggested has worked to some degree - the runtime has started and I have the console, but there’s no web interface (I’m getting an error there which I’ll need to track down). However, ‘exit’ doesn’t work, so I’m stuck in the console - something isn’t right, but maybe that’s associated with running 1.7.
Having killed off the console, I confirmed that actually the export you posted does work (by which I mean I don’t get the error - it still doesn’t actually work yet) - when I ran it earlier I still have port 5006 which is also used on Synology.
I guess I now need to work out how to upgrade the system to 1.8 and see if that fixes things…
@kai - can you confirm that Java 8 is indeed now required - I thought that previous discussions were that 7 was going to be the baseline and I can’t find 8 stated in the docs anywhere (yet). This might be a problem for Synology as the docs say only 7 is currently supported
2016-01-16 21:10:59.442 [WARN ] [url.mvn.internal.AetherBasedResolver] - Error resolving artifactorg.openhab.core:org.openhab.io.rest.docs:jar:2.0.0-SNAPSHOT:Could not transfer artifact org.openhab.core:org.openhab.io.rest.docs:jar:2.0.0-SNAPSHOT from/to oh-snapshot-repo (http://oss.jfrog.org/libs-snapshot/): Failed to transfer file: http://oss.jfrog.org/libs-snapshot/org/openhab/core/org.openhab.io.rest.docs/2.0.0-SNAPSHOT/org.openhab.io.rest.docs-2.0.0-SNAPSHOT.jar. Return code is: 503 , ReasonPhrase:Service Unavailable: Back-end server is at capacity.
It looks like whatever is serving up the online system is broken (or maxed out)!
It seems to run with the offline version - at least on my Debian machine (which is also running Java 7, so I don’t think 8 is needed). I’ll try putting the offline onto my Synology and see if that works (I suspect it might)…
Thanks Davy,
I’m still unsure if 8 is needed - I don’t think so as once I’d sorted out the problem with problem with the Karaf port (thanks ) and changed to using the offline version, it seems to run fine with 7…
When @davy was working on performance improvements, we decided to go for Java 8 in openHAB 2, since testing on only one JVM reduces the possible problems and after all, Java 7 is out of support by Oracle since almost 2 years. Java 8 should be available (and used as a default) on almost all platforms, so there isn’t really a reason to support Java 7.
I’ve upgraded the synology as per @davy’s suggestion - this seemed to work, but I still can’t run in debug mode - there’s no output. Normal mode seems to at least get to the console, but that’s not so helpful for debugging…
Sorry - I wasn’t very clear - I meant there’s no console, not no output. The console starts up in normal mode only - it just hangs if I start in debug (nothing is logged either).
Chris, there is an issue with the offline distro in snapshot 87, which causes the startup to fail. See also We need your help on testing!. This should be fixed in tonight’s build.
I’ve just installed 2.0.0.002-beta2 I also received an error when starting from my synology 1513+ package manager. I then run the start_debug.sh from the command line, which failed. But starting the application from the command line worked (see below)
/volume1/@appstore/OpenHAB$ sh start_debug.sh
Launching the openHAB runtime…
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
Aborted
admin@DiskStation001:/volume1/@appstore/OpenHAB$ sh start.sh
Launching the openHAB runtime…
Welcome to openHAB 2.0.0.b2
Hit ‘’ for a list of available commands
and ‘[cmd] --help’ for help on a specific command.
Hit ‘’ or type ‘system:shutdown’ or ‘logout’ to shutdown openHAB.