Error: Sitemap 'home' could not be found in Persistence File

65 views
Skip to first unread message

Rob Goodman

unread,
Jul 3, 2015, 2:32:35 PM7/3/15
to myop...@googlegroups.com
Hi,

I'm a real newbie so be gentle...

I just registered for My.OpenHAB and am trying to get the IFTTT channel to work. I saw that none of my items were listed (but I can see them on the Android OpenHAB app) and I found this post: https://groups.google.com/forum/#!msg/myopenhab/KABAvxVM3SM/lKZJ91SjdhgJ

So I created a myopenhab.persist file and copied the following into it
Strategies {
default = everyChange
}
Items {
* : strategy = everyChange
}

Then my log gave me the Sitemap 'home' could not be found in Persistence File  error. I did rename my site (I don't recall how) so I don't know how to fix this.

I would appreciate any help with resolving this. Thank you so much.



Kai Kreuzer

unread,
Jul 3, 2015, 3:51:05 PM7/3/15
to myop...@googlegroups.com, robb...@gmail.com
Then my log gave me the Sitemap 'home' could not be found in Persistence File  error.

I have no idea what kind of error message that could be. Could you maybe copy the original message from your log and paste it here?

Regards,
Kai 

Rob Goodman

unread,
Jul 3, 2015, 4:06:10 PM7/3/15
to myop...@googlegroups.com, robb...@gmail.com
Hi Kai,

Thank you so much for responding. I love OpenHAB and am so very much impressed. I just have so much to learn to really use it fully.

Here is the error message I am getting. I hope this is enough to help diagnose the issue:

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

2015-07-03 14:13:24.029 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'myopenhab.persist'
2015-07-03 14:13:34.036 [INFO ] [c.internal.ModelRepositoryImpl] - Refreshing model 'myopenhab.persist'
2015-07-03 14:13:49.689 [WARN ] [e.jetty.servlet.ServletHandler] - /openhab.app
org.openhab.ui.webapp.render.RenderException: Sitemap 'home' could not be found
at org.openhab.ui.webapp.internal.servlet.WebAppServlet.service(WebAppServlet.java:114) ~[na:na]
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) ~[na:na]
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) ~[na:na]
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) ~[na:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) ~[javax.servlet_3.0.0.v201112011016.jar:na]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598) ~[org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:486) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.Server.handle(Server.java:350) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630) [org.eclipse.jetty.http_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230) [org.eclipse.jetty.http_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606) [org.eclipse.jetty.io_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46) [org.eclipse.jetty.io_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603) [org.eclipse.jetty.util_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538) [org.eclipse.jetty.util_8.1.3.v20120522.jar:8.1.3.v20120522]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_45]

Kai Kreuzer

unread,
Jul 3, 2015, 4:31:40 PM7/3/15
to Rob Goodman, myop...@googlegroups.com
Hi Rob,

thanks for the logs. The message has nothing to do with the persistence itself - this should actually work fine and you should see your items being available in my.openHAB already.

The exception only means that you are trying to access a non-existent sitemap with your browser.
I guess you have followed the other post and tried https://my.openhab.org/openhab.app?sitemap=home 
Note that „home“ seems to be a personal sitemap of John. Just check what your sitemap is called in „configurations/sitemaps“ (usually you have either demo.sitemap or default.sitemap). So better try a url like  https://my.openhab.org/openhab.app?sitemap=demo

Regards,
Kai

--
You received this message because you are subscribed to the Google Groups "my.openHAB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to myopenhab+...@googlegroups.com.
To post to this group, send email to myop...@googlegroups.com.
Visit this group at http://groups.google.com/group/myopenhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/myopenhab/5ad7643c-112f-4e45-9478-f38b3e983285%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages