varamfer / openhab

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

There is no queryable persistence service registered with the name 'db4o' #124

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I get an error message about missind persistence service even 'db4o.persist' 
was loaded.

Launching the openHAB runtime...
osgi>
15:32:50.303 WARN  o.o.c.core.ConfigDispatcher[:192] - Main openHAB 
configuration file 'configurations/openhab.cfg' does not exist.
15:32:50.561 INFO  o.o.c.internal.CoreActivator[:90] - openHAB runtime has been 
started (v1.0.0).
15:32:53.705 INFO  o.o.i.r.i.RESTApplication[:158] - Started REST API at /rest
15:32:53.707 INFO  o.o.i.s.i.DiscoveryServiceImpl[:63] - Registering new 
service _openhab-server._tcp.local. at port 8080
15:33:00.401 INFO  o.o.i.s.i.DiscoveryServiceImpl[:63] - Registering new 
service _openhab-server-ssl._tcp.local. at port 8443
15:33:01.331 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'demo.sitemap'
15:33:01.474 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'demo.script'
15:33:01.520 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 
'presencesimulation.persist'
15:33:01.547 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'db4o.persist'
15:33:01.557 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 
'logging.persist'
15:33:01.565 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 
'rrd4j.persist'
15:33:01.709 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'demo.items'
15:33:03.117 INFO  o.o.u.w.i.s.WebAppServlet[:99] - Started Classic UI at 
/openhab.app
15:33:12.244 ERROR o.o.i.multimedia.actions.Audio[:164] - No TTS service 
available - tried to say: Welcome at openHab!
15:33:12.630 INFO  runtime.busevents[:46] - Light_GF_Living_Table state updated 
to OFF
...
15:33:13.557 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'demo.rules'
15:33:13.558 INFO  runtime.busevents[:46] - Temperature_FF_Child state updated 
to 21.50000000
15:33:13.563 INFO  runtime.busevents[:46] - Temperature_FF_Bed state updated to 
20.20000000
15:33:15.026 ERROR o.o.i.multimedia.actions.Audio[:164] - No TTS service 
available - tried to say: 1
15:33:30.002 ERROR o.o.i.multimedia.actions.Audio[:164] - No TTS service 
available - tried to say: 2
15:33:45.002 ERROR o.o.i.multimedia.actions.Audio[:164] - No TTS service 
available - tried to say: 3
15:34:00.003 ERROR o.o.i.multimedia.actions.Audio[:164] - No TTS service 
available - tried to say: 4
15:34:00.091 WARN  o.o.c.p.e.PersistenceExtensions[:351] - There is no 
queryable persistence service registered with the name 'db4o'

Original issue reported on code.google.com by dr.leeq...@gmail.com on 13 Sep 2012 at 2:41

GoogleCodeExporter commented 8 years ago
Did you also put the db4o bundle in the addons folder?

Original comment by kai.openhab on 13 Sep 2012 at 2:45

GoogleCodeExporter commented 8 years ago
I started with the prebuild files (runtime+demo) from the download area 
of the project site. I could not get it running on my system (Ubuntu 
12.04 + OpenJDK). Everything seems fine but there was no response to the 
web browser. Thus I fetched the 1.0.0-SNAPSHOT from the hg repository 
and build the zip-files myself.

Indeed the addon was missing and I extracted the ...-addon.zip file to 
install org.openhab.persistence.db4o-1.0.0-SNAPSHOT.jar. This is 
different to the prebuild files where the demo.zip already included some 
addons...

Unfortunately now the warning still occurs!

I would expect that "Loaded file 'db4o.persist'" would load the addon 
successfully?!

Any ideas?

Original comment by dr.leeq...@gmail.com on 13 Sep 2012 at 4:15

GoogleCodeExporter commented 8 years ago
What 1.0.0-SNAPSHOT do you refer to? There should be only a 1.0.0 Release and a 
1.1.0-SNAPSHOT available...

"Loaded file 'db4o.persist'" only means that this file has been read and 
registered. It does not mean that it is actively used.

Original comment by kai.openhab on 13 Sep 2012 at 8:32

GoogleCodeExporter commented 8 years ago
What I actually did is:

hg clone ... -u 1.0.0

after "mvn install" I get in distribution/target/ files like
distribution-1.0.0-SNAPSHOT-....zip

Thus the module is loaded but can not be accessed? Or is the error 
message above not related to db4o.persist?

Original comment by dr.leeq...@gmail.com on 14 Sep 2012 at 1:43

GoogleCodeExporter commented 8 years ago
Which error are you referring to exactly? The only error I see in your log 
above is about "No TTS service available", i.e. this is not persistence 
related, but text-to-speech (TTS).

Original comment by kai.openhab on 15 Sep 2012 at 9:02

GoogleCodeExporter commented 8 years ago
I was talking about the "no queryable persistence service registered..."
message and now fixed this. I unpacked the addons into the wrong folder...

I've also understood, that "Loaded file 'db4o.persist'" is only related
to the configurations file located in configurations/persistence/ which
is loaded and not related to the persistence.db4o addon which was missing.

I wonder how the persistence configuration files in
configurations/persistence/ are matched against the addons. There is:
logging.persist and persistence.logging..jar
db4o.persist and persistence.db4o..jar

but which service is used for presencesimulation.persist?

Original comment by dr.leeq...@gmail.com on 18 Sep 2012 at 12:46

GoogleCodeExporter commented 8 years ago
so this issue can be closed?

Original comment by teichsta on 19 Sep 2012 at 10:28

GoogleCodeExporter commented 8 years ago
> but which service is used for presencesimulation.persist?

This service comes with the gcal binding. Should probably be mentioned in the 
wiki somewhere...

Original comment by kai.openhab on 19 Sep 2012 at 10:30

GoogleCodeExporter commented 8 years ago
yes

Original comment by dr.leeq...@gmail.com on 19 Sep 2012 at 11:22

GoogleCodeExporter commented 8 years ago
aha, ok :)

Original comment by dr.leeq...@gmail.com on 19 Sep 2012 at 12:52

GoogleCodeExporter commented 8 years ago

Original comment by kai.openhab on 13 Dec 2012 at 8:49