Hi XWikiers,
Each night, my wiki farm is stopped during the backup of the database.
In the morning, when the first user connects to the wiki, the following
error appears in the xwiki.log :
[
http://localhost/xwiki/bin/loginsubmit/XWiki/XWikiLogin] ERROR
nager.ApplicationManagerPlugin - Refresh all applications translations
informations
com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while
searching documents with SQL [, BaseObject as obj where doc.fullName=
obj.name and obj.className=? and doc.fullName<>?]
Wrapped Exception: null
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2588)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:3037)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:3001)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2989)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2941)
at
com.xpn.xwiki.store.XWikiCacheStore.searchDocuments(XWikiCacheStore.java:552)
at
com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocumentsByFields(AbstractXClassManager.java:938)
at
com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocuments(AbstractXClassManager.java:900)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.getApplicationList(ApplicationManager.java:129)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.updateAllApplicationTranslation(ApplicationManager.java:310)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin.init(ApplicationManagerPlugin.java:122)
at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:153)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:90)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:118)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1155)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:827)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:756)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:383)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:471)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
java.lang.IllegalStateException
at
org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:435)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:95)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:64)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.showLogin(XWikiAuthServiceImpl.java:396)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:211)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2565)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:3037)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:3001)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2989)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2941)
at
com.xpn.xwiki.store.XWikiCacheStore.searchDocuments(XWikiCacheStore.java:552)
at
com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocumentsByFields(AbstractXClassManager.java:938)
at
com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocuments(AbstractXClassManager.java:900)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.getApplicationList(ApplicationManager.java:129)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.updateAllApplicationTranslation(ApplicationManager.java:310)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin.init(ApplicationManagerPlugin.java:122)
at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:153)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:90)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:118)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1155)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:827)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:756)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:383)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:471)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
at java.lang.Thread.run(Thread.java:619)
Does someone else encounter the same issue ? Is this related to an open bug
? If you have any idea, don't hesitate to reply me.
Best regards,
Maxime Mathieu