SmartAxiom / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

mainconfig:refresh in openhab.cfg not working on Linux #198

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Enable mainconfig (mainconfig:refresh=20) setting in openhab.cfg seems not to 
work in runtime distributions on Linux.

What is the expected output? What do you see instead?
No reload of openhab.cfg.

What version of the product are you using? On what operating system?
WORKING WELL: Windows (Win8 64) for OpenHab Version 1.0.0, 1.1.0, 1.2.0-SNAPSHOT
NOT WORKING: Linux (Ubuntu 12.04)for OpenHab Version 1.0.0, 1.1.0, 
1.2.0-SNAPSHOT

Original issue reported on code.google.com by Helmut.L...@gmail.com on 12 Feb 2013 at 9:42

GoogleCodeExporter commented 8 years ago

Original comment by kai.openhab on 12 Feb 2013 at 10:13

GoogleCodeExporter commented 8 years ago
mainconfig:refresh=20 is working on my Linux box with openHAB 1.2.0 without any 
problem:
uname -a shows:
Linux raspberrypi 3.2.27+ #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 armv6l 
GNU/Linux

I enalbled the logging for the ConfigDispatcher with  <logger 
name="org.openhab.config.core" level="TRACE" /> :

20:53:58.387 TRACE o.o.c.core.ConfigDispatcher[:180]- main configuration file 
'/opt/openhab-runtime-1.2.0/configurations/openhab.cfg' hasn't been changed 
since '1367434378405' (lasModified='1367434316000') -> initialization aborted.
20:54:58.387 DEBUG o.o.c.core.ConfigDispatcher[:188]- Processing openHAB main 
configuration file '/opt/openhab-runtime-1.2.0/configurations/openhab.cfg'.
20:54:59.912 INFO  o.o.m.c.i.f.FolderObserver[:163]- Loaded file 'xxxx.items'
20:55:00.207 INFO  o.o.m.c.i.f.FolderObserver[:163]- Loaded file 'greent.items'
20:55:00.576 INFO  o.o.m.c.i.f.FolderObserver[:163]- Loaded file 'xxxx.sitemap'
20:55:00.731 DEBUG o.o.c.core.ConfigDispatcher[:309]- Rescheduled refresh job 
'ConfigDispatcher.Refresh' in DefaulScheduler

Original comment by cpt.kump...@gmail.com on 1 May 2013 at 6:59

GoogleCodeExporter commented 8 years ago
Helmut, could you retest to see if this issue is possibly solved by now?

Original comment by kai.openhab on 1 May 2013 at 8:17

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Helmut? Did you find the time to retest this issue?

Original comment by teichsta on 12 Jul 2013 at 2:07

GoogleCodeExporter commented 8 years ago
Since there were no updates i reject this issue. Please feel free to reopen it 
if it still applies.

Original comment by teichsta on 13 Aug 2013 at 3:46