Hi;
After performing an upgrade from Ubuntu 16.04 to 18.04, my wiki pages no longer load cleanly. Attached is the errors I’m getting in the Tomcat8 logs. I can’t seem to find any previous posts of anything similar and all troubleshooting hasn’t resulted in any goodness. I’m running the latest Xwiki 10.8.
Any suggestions to help correct this would be appreciated. Thanks in advance.
(Top of the error log)
2018-10-02 17:06:52,183 [https://w.dk.co/bin/view/FoodBlog/] ERROR i.InvocationContextInterceptor - ISPN000136: Error executing command PutKeyValueCommand, writing keys [27_LessSkinFile[style.less.vm]_37_SkinDocument[xwiki:XWiki.DefaultSkin]_49_ColorThemeDocument[xwiki:FlamingoThemes.Charcoal]_89_XWikiContext[URLFactory[com.xpn.xwiki.web.XWikiServletURLFactory, /skins/skin/style.css]]]
java.lang.NoClassDefFoundError: Could not initialize class org.infinispan.commons.marshall.jboss.ExtendedRiverMarshaller
catalina.out.txt (78.7 KB)
What you have in the log you pasted looks more like a consequence of something else. Don’t you have anything before that ?
There are two sets of errors - one on the browser, and one in the Tomcat logs. Both are attached.
web error.txt (24.3 KB)
catalina.out.log (487.2 KB)
So first things first:
Caused by: org.hibernate.hql.ast.QuerySyntaxException: DefaultNotificationFilterPreference is not mapped [select nfp from DefaultNotificationFilterPreference nfp where nfp.owner = :owner order by nfp.id]
Looks like you forgot to read https://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/10.8#HIssuesspecifictoXWiki10.8
From what I see in your log you seems to be hitting Loading.... Using anything more recent than Java 8 is really not recommended right now unfortunately.
FYI what you need is here:
Oh my - I totally missed the action in the release notes. Thank you for pointing out the miss on my part.
I downgraded my Java version to 8 and everything is working great. I had not noted the recommendation to stay aware from Java 10 for the time being.
Thanks for helping. I greatly appreciate it.