OH2 port conflict (Karaf?)

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)…

According to [this] (http://forum.synology.com/enu/viewtopic.php?f=190&t=100426#p389386) forum, it is possible to install Java 8 (via a workaround) on Synology.

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 :smile:) and changed to using the offline version, it seems to run fine with 7…

Cheers
Chris

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.

Ok - thanks Kai. It just might be useful to make that clear since it doesn’t seem to be documented anywhere (at least not that I’ve seen)…

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…

I’ll move on to trying to get another system up…

Did you enable debug logging (log:set on the console)?
Note that even if you use start_debug.sh, the logging is by default still INFO level

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.

Hi,

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.

I hope this helps someone.