SmartAxiom / openhab

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

SLF4J & Persistance issue #201

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Having the following errrors upon statup :

SLF4J doesn't seem to have mush impact, but RRD4J breaks all RRD persistance. 
Can something be done to fix this ?

Version 1.2 CI build from Feb 10.

Errors :

openhab@Domo:~/openhab12$ sh start.sh
Launching the openHAB runtime...
osgi> SLF4J: The following loggers will not work because they were created
SLF4J: during the default configuration phase of the underlying logging system.
SLF4J: See also http://www.slf4j.org/codes.html#substituteLogger
SLF4J: org.openhab.io.dropbox.internal.DropboxActivator
SLF4J: org.openhab.core.scheduler.internal.SchedulerActivator
SLF4J: org.quartz.impl.StdSchedulerFactory
SLF4J: org.quartz.simpl.SimpleThreadPool
SLF4J: org.quartz.simpl.RAMJobStore
SLF4J: org.quartz.impl.SchedulerDetailsSetter
13:42:29.672 INFO  o.o.c.internal.CoreActivator[:92] - openHAB runtime has been 
started (v1.2.0).
13:42:31.310 ERROR o.o.b.b.i.BTDeviceDiscoveryService[:237] - Error while 
initializing local bluetooth device.
javax.bluetooth.BluetoothStateException: BlueCove 
com.intel.bluetooth.BluetoothStackBlueZ|com.intel.bluetooth.BluetoothStackBlueZD
Bus not available
        at com.intel.bluetooth.BlueCoveImpl.loadStackClass(BlueCoveImpl.java:356)
13:42:31.354 INFO  o.o.b.o.i.OneWireBinding[:118] - Established connection to 
OwServer on IP '127.0.0.1' Port '4304'.
13:42:31.501 INFO  o.o.b.k.i.c.KNXConnection[:176] - Established connection to 
KNX bus on 127.0.0.1:3671 in mode TUNNEL.
13:42:33.972 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 
'rrd4j.persist'
13:42:33.981 ERROR o.o.m.c.i.f.FolderObserver[:125] - An unexpected exception 
has occured
java.lang.IllegalStateException: A resource with the normalized URI 
'rrd4j.persist' was already registered. The resource with the URI 
'org.eclipse.xtext.linking.lazy.LazyLinkingResource@65f9df0c 
uri='rrd4j.persist'' is no longer registered with the normalized form.
        at org.eclipse.xtext.resource.XtextResourceSet.registerURI(XtextResourceSet.java:75)

-----------------

openhab@Domo:~/openhab12$ sh start.sh 
Launching the openHAB runtime...
osgi> SLF4J: The following loggers will not work because they were created
SLF4J: during the default configuration phase of the underlying logging system.
SLF4J: See also http://www.slf4j.org/codes.html#substituteLogger
SLF4J: org.openhab.io.dropbox.internal.DropboxActivator
SLF4J: org.openhab.core.scheduler.internal.SchedulerActivator
SLF4J: org.quartz.impl.StdSchedulerFactory
SLF4J: org.quartz.simpl.SimpleThreadPool
SLF4J: org.quartz.simpl.RAMJobStore
SLF4J: org.quartz.impl.SchedulerDetailsSetter
SLF4J: org.quartz.simpl.PropertySettingJobFactory
SLF4J: org.quartz.core.QuartzScheduler
SLF4J: org.quartz.core.QuartzSchedulerThread
SLF4J: org.quartz.core.ErrorLogger
SLF4J: org.quartz.core.SchedulerSignalerImpl
SLF4J: org.openhab.io.dropbox.internal.DropboxSynchronizerImpl
13:43:40.078 INFO  o.o.c.internal.CoreActivator[:92] - openHAB runtime has been 
started (v1.2.0).
13:43:41.690 ERROR o.o.b.b.i.BTDeviceDiscoveryService[:237] - Error while 
initializing local bluetooth device.
javax.bluetooth.BluetoothStateException: BlueCove 
com.intel.bluetooth.BluetoothStackBlueZ|com.intel.bluetooth.BluetoothStackBlueZD
Bus not available
        at com.intel.bluetooth.BlueCoveImpl.loadStackClass(BlueCoveImpl.java:356)
13:43:41.771 INFO  o.o.b.o.i.OneWireBinding[:118] - Established connection to 
OwServer on IP '127.0.0.1' Port '4304'.
13:43:41.917 INFO  o.o.b.k.i.c.KNXConnection[:176] - Established connection to 
KNX bus on 127.0.0.1:3671 in mode TUNNEL.
13:43:44.311 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 
'rrd4j.persist'
13:43:44.323 ERROR o.o.m.c.i.f.FolderObserver[:125] - An unexpected exception 
has occured
java.lang.IllegalStateException: A resource with the normalized URI 
'rrd4j.persist' was already registered. The resource with the URI 
'org.eclipse.xtext.linking.lazy.LazyLinkingResource@582d3e26 
uri='rrd4j.persist'' is no longer registered with the normalized form.
        at org.eclipse.xtext.resource.XtextResourceSet.registerURI(XtextResourceSet.java:75)

-----------------

Launching the openHAB runtime...
osgi> SLF4J: The following loggers will not work because they were created
SLF4J: during the default configuration phase of the underlying logging system.
SLF4J: See also http://www.slf4j.org/codes.html#substituteLogger
SLF4J: org.eclipse.jetty.util.log
SLF4J: 
org.eclipse.jetty.osgi.boot.internal.serverfactory.JettyServerServiceTracker
SLF4J: org.eclipse.jetty.osgi.boot.internal.webapp.WebBundleDeployerHelper
SLF4J: 
org.eclipse.jetty.osgi.boot.internal.serverfactory.DefaultJettyAtJettyHomeHelper
SLF4J: org.eclipse.jetty.util.component.AbstractLifeCycle
SLF4J: org.eclipse.jetty.util.component.AggregateLifeCycle
SLF4J: org.eclipse.jetty.server.handler.AbstractHandler
SLF4J: org.eclipse.jetty.server.Server
SLF4J: org.eclipse.jetty.util.component.Container
SLF4J: org.eclipse.jetty.osgi.boot.internal.serverfactory.ServerInstanceWrapper
SLF4J: org.eclipse.jetty.util.resource.Resource
SLF4J: org.eclipse.jetty.util.resource.URLResource
SLF4J: org.eclipse.jetty.util.resource.FileResource
SLF4J: org.eclipse.jetty.xml.XmlConfiguration
SLF4J: org.eclipse.jetty.xml.XmlParser
SLF4J: org.eclipse.jetty.util.thread.QueuedThreadPool
SLF4J: org.eclipse.jetty.server.AbstractConnector
SLF4J: org.eclipse.jetty.io.nio
SLF4J: org.eclipse.jetty.util.TypeUtil
SLF4J: org.eclipse.jetty.util.ssl.SslContextFactory
SLF4J: org.eclipse.jetty.util.security.Credential
SLF4J: org.eclipse.jetty.util.security.Password
SLF4J: org.eclipse.jetty.server.handler.ContextHandlerCollection
SLF4J: org.eclipse.jetty.server.handler.DefaultHandler
SLF4J: org.eclipse.jetty.util.IO
SLF4J: org.eclipse.jetty.server.handler.RequestLogHandler
SLF4J: org.eclipse.jetty.deploy.DeploymentManager
SLF4J: org.eclipse.jetty.deploy.AppLifeCycle
SLF4J: org.eclipse.jetty.deploy.providers.ScanningAppProvider
13:45:51.048 INFO  o.o.c.internal.CoreActivator[:92] - openHAB runtime has been 
started (v1.2.0).
13:45:52.702 INFO  o.o.b.o.i.OneWireBinding[:118] - Established connection to 
OwServer on IP '127.0.0.1' Port '4304'.
13:45:52.732 ERROR o.o.b.b.i.BTDeviceDiscoveryService[:237] - Error while 
initializing local bluetooth device.
javax.bluetooth.BluetoothStateException: BlueCove 
com.intel.bluetooth.BluetoothStackBlueZ|com.intel.bluetooth.BluetoothStackBlueZD
Bus not available
        at com.intel.bluetooth.BlueCoveImpl.loadStackClass(BlueCoveImpl.java:356)
13:45:52.928 INFO  o.o.b.k.i.c.KNXConnection[:176] - Established connection to 
KNX bus on 127.0.0.1:3671 in mode TUNNEL.
13:45:54.911 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 
'onewire.items'
13:45:55.005 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'nh.items'
13:45:55.151 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'http.items'
13:45:55.285 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'knx.items'

Original issue reported on code.google.com by Achil...@gmail.com on 14 Feb 2013 at 12:51

GoogleCodeExporter commented 8 years ago
Could this possibly be a duplicate of issue 171?

Original comment by kai.openhab on 14 Feb 2013 at 8:46

GoogleCodeExporter commented 8 years ago
Could be but unsure, it's still quite alike. But I tink that my ticket contains 
two differents issues, one for logging and another one for persist but I'm not 
aware of OH internals to give more infos.

issue 171 comment#9 says 
"To get it run on ODROID-U2 I have to start/stop it again and again about 5 up 
to 20 Times."
Exact same here, I cant start it on boot, it always fails. But ... it's not 
ARM, it's a standard HP microserver n40l

Original comment by Achil...@gmail.com on 14 Feb 2013 at 9:00

GoogleCodeExporter commented 8 years ago
The SLF4J part is just some verbose logging as it starts before openHAB reduces 
the log level. This should be nothing to really worry about.
The second on is imho the same as issue 171, so if you agree, I define this one 
to be a duplicate.

Original comment by kai.openhab on 20 Feb 2013 at 10:04