Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9822

Failure to migrate to 5.3 database older than 4.0 when it contains wiki descriptors

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.3
    • Fix Version/s: 5.4-milestone-1
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce:

      • Setup a 3.5.1 Instance inside a Tomcat + MySQL
      • Start and manually import the 3.5.1 XEM UI XAR
      • Shutdown
      • Put the 5.3 WAR inside the container and start
      • After first request, you will get a stacktrace (see below)

      Note: I use the same JDBC drivers for both instances. Also, the hibernate configuration is NOT reused. I manually edited each corresponding hibernate file accordingly.

      Here are my tests:
      3.1 -> 5.3 FAIL
      3.1 -> 5.2.2 OK

      3.5.1 -> 5.3 FAIL
      3.5.1 -> 5.2.2 OK

      4.0 -> 5.3 OK
      4.0 -> 5.2.2 OK

      4.1.4 -> 5.3 OK

      4.5.4 -> 5.3 OK
      4.5.4 -> 5.2.2 OK

      It seems 5.2.2 is not affected, but 5.3 is.
      Below is the stacktrace

      Dec 17, 2013 5:27:27 PM org.apache.catalina.core.AprLifecycleListener init
      INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
      Dec 17, 2013 5:27:28 PM org.apache.coyote.AbstractProtocol init
      INFO: Initializing ProtocolHandler ["http-bio-20460"]
      Dec 17, 2013 5:27:28 PM org.apache.coyote.AbstractProtocol init
      INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
      Dec 17, 2013 5:27:28 PM org.apache.catalina.startup.Catalina load
      INFO: Initialization processed in 260 ms
      Dec 17, 2013 5:27:28 PM org.apache.catalina.core.StandardService startInternal
      INFO: Starting service Catalina
      Dec 17, 2013 5:27:28 PM org.apache.catalina.core.StandardEngine startInternal
      INFO: Starting Servlet Engine: Apache Tomcat/7.0.35
      Dec 17, 2013 5:27:28 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory /home/sorinello/Desktop/XWiki/apache-tomcat-7.0.35/webapps/manager
      Dec 17, 2013 5:27:28 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory /home/sorinello/Desktop/XWiki/apache-tomcat-7.0.35/webapps/host-manager
      Dec 17, 2013 5:27:28 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory /home/sorinello/Desktop/XWiki/apache-tomcat-7.0.35/webapps/examples
      Dec 17, 2013 5:27:28 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory /home/sorinello/Desktop/XWiki/apache-tomcat-7.0.35/webapps/xwiki
      2013-12-17 17:27:34,055 [localhost-startStop-1] WARN  o.x.e.i.ServletEnvironment     - No permanent directory configured. Using temporary directory [/home/sorinello/Desktop/XWiki/apache-tomcat-7.0.35/work/Catalina/localhost/xwiki]. 
      2013-12-17 17:27:34,107 [localhost-startStop-1] INFO  o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server... 
      2013-12-17 17:27:34,107 [localhost-startStop-1] INFO  o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory: /home/sorinello/Desktop/XWiki/apache-tomcat-7.0.35/work/Catalina/localhost/xwiki/solr 
      2013-12-17 17:27:34,839 [localhost-startStop-1] WARN  o.a.s.c.SolrCore               - New index directory detected: old=null new=/home/sorinello/Desktop/XWiki/apache-tomcat-7.0.35/work/Catalina/localhost/xwiki/solr/./data/index/ 
      2013-12-17 17:27:34,839 [localhost-startStop-1] WARN  o.a.s.c.SolrCore               - [xwiki] Solr index directory '/home/sorinello/Desktop/XWiki/apache-tomcat-7.0.35/work/Catalina/localhost/xwiki/solr/./data/index' doesn't exist. Creating new index... 
      2013-12-17 17:27:35,361 [localhost-startStop-1] INFO  o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server. 
      Dec 17, 2013 5:27:37 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory /home/sorinello/Desktop/XWiki/apache-tomcat-7.0.35/webapps/docs
      Dec 17, 2013 5:27:37 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory /home/sorinello/Desktop/XWiki/apache-tomcat-7.0.35/webapps/ROOT
      Dec 17, 2013 5:27:37 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["http-bio-20460"]
      Dec 17, 2013 5:27:37 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["ajp-bio-8009"]
      Dec 17, 2013 5:27:37 PM org.apache.catalina.startup.Catalina start
      INFO: Server startup in 9005 ms
      2013-12-17 17:27:45,744 [http://localhost:20460/xwiki/bin/view/Main/] INFO  .HibernateDataMigrationManager - Storage schema updates and data migrations are enabled 
      2013-12-17 17:27:45,944 [http://localhost:20460/xwiki/bin/view/Main/] ERROR actDocumentSkinExtensionPlugin - Cannot initialize skin extension class [XWiki.JavaScriptExtension] 
      com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.JavaScriptExtension]
      	at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:927) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1356) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1415) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.plugin.skinx.AbstractDocumentSkinExtensionPlugin.getExtensionClass(AbstractDocumentSkinExtensionPlugin.java:331) [xwiki-platform-skin-skinx-5.3.jar:na]
      	at com.xpn.xwiki.plugin.skinx.AbstractDocumentSkinExtensionPlugin.init(AbstractDocumentSkinExtensionPlugin.java:139) [xwiki-platform-skin-skinx-5.3.jar:na]
      	at com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:152) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:88) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:116) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1011) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:771) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.<init>(XWiki.java:712) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:404) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:493) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:153) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) ~[struts-core-1.3.10.jar:1.3.10]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) ~[servlet-api.jar:na]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) ~[servlet-api.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) ~[xwiki-platform-wysiwyg-server-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) ~[xwiki-platform-webdav-server-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) ~[xwiki-platform-container-servlet-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) ~[xwiki-platform-container-servlet-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) ~[catalina.jar:7.0.35]
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) ~[tomcat-coyote.jar:7.0.35]
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) ~[tomcat-coyote.jar:7.0.35]
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) ~[tomcat-coyote.jar:7.0.35]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) ~[na:1.6.0_27]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.6.0_27]
      	at java.lang.Thread.run(Thread.java:701) ~[na:1.6.0_27]
      Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database xwiki
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:700) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:872) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:804) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:799) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 52 common frames omitted
      Caused by: com.xpn.xwiki.store.migration.MigrationRequiredException: Since database [xwiki] needs to be migrated, it couldn't be safely used! Please check your configuration to enable required migration for upgrading database from version [35102] to version [53010].
      	at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:586) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:696) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 55 common frames omitted
      2013-12-17 17:27:45,952 [http://localhost:20460/xwiki/bin/view/Main/] ERROR actDocumentSkinExtensionPlugin - Cannot initialize skin extension class [XWiki.StyleSheetExtension] 
      com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.StyleSheetExtension]
      	at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:927) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1356) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1415) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.plugin.skinx.AbstractDocumentSkinExtensionPlugin.getExtensionClass(AbstractDocumentSkinExtensionPlugin.java:331) [xwiki-platform-skin-skinx-5.3.jar:na]
      	at com.xpn.xwiki.plugin.skinx.AbstractDocumentSkinExtensionPlugin.init(AbstractDocumentSkinExtensionPlugin.java:139) [xwiki-platform-skin-skinx-5.3.jar:na]
      	at com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:152) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:88) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:116) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1011) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:771) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.<init>(XWiki.java:712) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:404) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:493) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:153) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) ~[struts-core-1.3.10.jar:1.3.10]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) ~[servlet-api.jar:na]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) ~[servlet-api.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) ~[xwiki-platform-wysiwyg-server-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) ~[xwiki-platform-webdav-server-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) ~[xwiki-platform-container-servlet-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) ~[xwiki-platform-container-servlet-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) ~[catalina.jar:7.0.35]
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) ~[tomcat-coyote.jar:7.0.35]
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) ~[tomcat-coyote.jar:7.0.35]
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) ~[tomcat-coyote.jar:7.0.35]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) ~[na:1.6.0_27]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.6.0_27]
      	at java.lang.Thread.run(Thread.java:701) ~[na:1.6.0_27]
      Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database xwiki
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:700) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:872) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:804) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:799) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 52 common frames omitted
      Caused by: com.xpn.xwiki.store.migration.MigrationRequiredException: Since database [xwiki] needs to be migrated, it couldn't be safely used! Please check your configuration to enable required migration for upgrading database from version [35102] to version [53010].
      	at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:586) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:696) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 55 common frames omitted
      2013-12-17 17:27:46,100 [Lucene Index Rebuilder] ERROR c.x.x.p.l.i.IndexRebuilder     - Error getting list of wiki servers! 
      com.xpn.xwiki.XWikiException: Error number 0 in 0: Failed to get the list of wikis
      	at com.xpn.xwiki.XWiki.getVirtualWikisDatabaseNames(XWiki.java:919) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.plugin.lucene.internal.IndexRebuilder.findWikiServers(IndexRebuilder.java:396) [xwiki-platform-search-lucene-api-5.3.jar:na]
      	at com.xpn.xwiki.plugin.lucene.internal.IndexRebuilder.rebuildIndex(IndexRebuilder.java:260) [xwiki-platform-search-lucene-api-5.3.jar:na]
      	at com.xpn.xwiki.plugin.lucene.internal.IndexRebuilder.runInternal(IndexRebuilder.java:229) [xwiki-platform-search-lucene-api-5.3.jar:na]
      	at com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:131) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at java.lang.Thread.run(Thread.java:701) ~[na:1.6.0_27]
      Caused by: org.xwiki.wiki.manager.WikiManagerException: Failed to locate XWiki.XWikiServerClass documents
      	at org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getAll(DefaultWikiDescriptorManager.java:82) ~[xwiki-platform-wiki-default-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getVirtualWikisDatabaseNames(XWiki.java:915) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 5 common frames omitted
      Caused by: org.xwiki.wiki.manager.WikiManagerException: Failed to locate XWiki.XWikiServerClass documents
      	at org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.getAllXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:154) ~[xwiki-platform-wiki-default-5.3.jar:na]
      	at org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getAll(DefaultWikiDescriptorManager.java:74) ~[xwiki-platform-wiki-default-5.3.jar:na]
      	... 6 common frames omitted
      Caused by: org.xwiki.query.QueryException: Exception while execute query. Query statement = [ select doc.fullName from XWikiDocument as doc , BaseObject as descriptor where ( doc.name like 'XWikiServer%' and doc.fullName <> 'XWiki.XWikiServerClassTemplate' ) and doc.fullName=descriptor.name and descriptor.className='XWiki.XWikiServerClass' ]
      	at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:108) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:68) ~[xwiki-platform-query-manager-5.3.jar:na]
      	at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:248) ~[xwiki-platform-query-manager-5.3.jar:na]
      	at org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:97) ~[xwiki-platform-query-xwql-5.3.jar:na]
      	at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:68) ~[xwiki-platform-query-manager-5.3.jar:na]
      	at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:248) ~[xwiki-platform-query-manager-5.3.jar:na]
      	at org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.getAllXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:142) ~[xwiki-platform-wiki-default-5.3.jar:na]
      	... 7 common frames omitted
      Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database xwiki
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:700) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:872) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:772) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1260) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1328) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:89) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 13 common frames omitted
      Caused by: com.xpn.xwiki.store.migration.MigrationRequiredException: Since database [xwiki] needs to be migrated, it couldn't be safely used! Please check your configuration to enable required migration for upgrading database from version [35102] to version [53010].
      	at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:586) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:696) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 18 common frames omitted
      2013-12-17 17:27:46,125 [http://localhost:20460/xwiki/bin/view/Main/] ERROR c.x.x.p.s.SchedulerPlugin      - error getting list of wiki servers! 
      com.xpn.xwiki.XWikiException: Error number 0 in 0: Failed to get the list of wikis
      	at com.xpn.xwiki.XWiki.getVirtualWikisDatabaseNames(XWiki.java:919) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.init(SchedulerPlugin.java:108) ~[xwiki-platform-scheduler-api-5.3.jar:na]
      	at com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:152) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:88) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:116) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1011) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:771) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.<init>(XWiki.java:712) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:404) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:493) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:153) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) ~[struts-core-1.3.10.jar:1.3.10]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) ~[servlet-api.jar:na]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) ~[servlet-api.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) ~[xwiki-platform-wysiwyg-server-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) ~[xwiki-platform-webdav-server-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) ~[xwiki-platform-container-servlet-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) ~[xwiki-platform-container-servlet-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) ~[catalina.jar:7.0.35]
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) ~[tomcat-coyote.jar:7.0.35]
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) ~[tomcat-coyote.jar:7.0.35]
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) ~[tomcat-coyote.jar:7.0.35]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) ~[na:1.6.0_27]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.6.0_27]
      	at java.lang.Thread.run(Thread.java:701) ~[na:1.6.0_27]
      Caused by: org.xwiki.wiki.manager.WikiManagerException: Failed to locate XWiki.XWikiServerClass documents
      	at org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getAll(DefaultWikiDescriptorManager.java:82) ~[xwiki-platform-wiki-default-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getVirtualWikisDatabaseNames(XWiki.java:915) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 48 common frames omitted
      Caused by: org.xwiki.wiki.manager.WikiManagerException: Failed to locate XWiki.XWikiServerClass documents
      	at org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.getAllXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:154) ~[xwiki-platform-wiki-default-5.3.jar:na]
      	at org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getAll(DefaultWikiDescriptorManager.java:74) ~[xwiki-platform-wiki-default-5.3.jar:na]
      	... 49 common frames omitted
      Caused by: org.xwiki.query.QueryException: Exception while execute query. Query statement = [ select doc.fullName from XWikiDocument as doc , BaseObject as descriptor where ( doc.name like 'XWikiServer%' and doc.fullName <> 'XWiki.XWikiServerClassTemplate' ) and doc.fullName=descriptor.name and descriptor.className='XWiki.XWikiServerClass' ]
      	at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:108) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:68) ~[xwiki-platform-query-manager-5.3.jar:na]
      	at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:248) ~[xwiki-platform-query-manager-5.3.jar:na]
      	at org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:97) ~[xwiki-platform-query-xwql-5.3.jar:na]
      	at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:68) ~[xwiki-platform-query-manager-5.3.jar:na]
      	at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:248) ~[xwiki-platform-query-manager-5.3.jar:na]
      	at org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.getAllXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:142) ~[xwiki-platform-wiki-default-5.3.jar:na]
      	... 50 common frames omitted
      Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database xwiki
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:700) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:872) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:772) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1260) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1328) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:89) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 56 common frames omitted
      Caused by: com.xpn.xwiki.store.migration.MigrationRequiredException: Since database [xwiki] needs to be migrated, it couldn't be safely used! Please check your configuration to enable required migration for upgrading database from version [35102] to version [53010].
      	at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:586) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:696) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 61 common frames omitted
      java.lang.ArrayIndexOutOfBoundsException: 0
      	at com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.initMailClass(MailSenderPlugin.java:222)
      	at com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.init(MailSenderPlugin.java:138)
      	at com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:152)
      	at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:88)
      	at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:116)
      	at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1011)
      	at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:771)
      	at com.xpn.xwiki.XWiki.<init>(XWiki.java:712)
      	at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:404)
      	at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:493)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:153)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129)
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:701)
      2013-12-17 17:27:46,215 [http://localhost:20460/xwiki/bin/view/Main/] ERROR c.x.x.p.w.WatchListPlugin      - init 
      com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.WatchListJobClass]
      	at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:927) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1356) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1404) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1274) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.plugin.watchlist.WatchListJobManager.initWatchListJobClass(WatchListJobManager.java:180) ~[xwiki-platform-watchlist-api-5.3.jar:na]
      	at com.xpn.xwiki.plugin.watchlist.WatchListJobManager.init(WatchListJobManager.java:357) ~[xwiki-platform-watchlist-api-5.3.jar:na]
      	at com.xpn.xwiki.plugin.watchlist.WatchListPlugin.init(WatchListPlugin.java:114) ~[xwiki-platform-watchlist-api-5.3.jar:na]
      	at com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:152) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:88) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:116) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1011) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:771) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.<init>(XWiki.java:712) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:404) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:493) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:153) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) ~[struts-core-1.3.10.jar:1.3.10]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) ~[servlet-api.jar:na]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) ~[servlet-api.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) ~[xwiki-platform-wysiwyg-server-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) ~[xwiki-platform-webdav-server-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) ~[xwiki-platform-container-servlet-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) ~[xwiki-platform-container-servlet-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) ~[catalina.jar:7.0.35]
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) ~[tomcat-coyote.jar:7.0.35]
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) ~[tomcat-coyote.jar:7.0.35]
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) ~[tomcat-coyote.jar:7.0.35]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) ~[na:1.6.0_27]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.6.0_27]
      	at java.lang.Thread.run(Thread.java:701) ~[na:1.6.0_27]
      Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database xwiki
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:700) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:872) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:804) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:799) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 54 common frames omitted
      Caused by: com.xpn.xwiki.store.migration.MigrationRequiredException: Since database [xwiki] needs to be migrated, it couldn't be safely used! Please check your configuration to enable required migration for upgrading database from version [35102] to version [53010].
      	at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:586) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:696) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 57 common frames omitted
      2013-12-17 17:27:46,277 [http://localhost:20460/xwiki/bin/view/Main/] ERROR x.p.a.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<>?]
      	at com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2509) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiCacheStore.searchDocuments(XWikiCacheStore.java:502) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.init(ApplicationManager.java:424) ~[xwiki-platform-application-manager-api-5.3.jar:na]
      	at com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin.init(ApplicationManagerPlugin.java:90) ~[xwiki-platform-application-manager-api-5.3.jar:na]
      	at com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:152) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:88) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:116) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1011) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:771) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.<init>(XWiki.java:712) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:404) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:493) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:153) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) ~[struts-core-1.3.10.jar:1.3.10]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) ~[servlet-api.jar:na]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) ~[servlet-api.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) ~[xwiki-platform-wysiwyg-server-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) ~[xwiki-platform-webdav-server-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) ~[xwiki-platform-container-servlet-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) ~[xwiki-platform-container-servlet-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) ~[catalina.jar:7.0.35]
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) ~[tomcat-coyote.jar:7.0.35]
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) ~[tomcat-coyote.jar:7.0.35]
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) ~[tomcat-coyote.jar:7.0.35]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) ~[na:1.6.0_27]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.6.0_27]
      	at java.lang.Thread.run(Thread.java:701) ~[na:1.6.0_27]
      Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database xwiki
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:700) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:872) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:804) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2490) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 50 common frames omitted
      Caused by: com.xpn.xwiki.store.migration.MigrationRequiredException: Since database [xwiki] needs to be migrated, it couldn't be safely used! Please check your configuration to enable required migration for upgrading database from version [35102] to version [53010].
      	at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:586) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:696) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 53 common frames omitted
      2013-12-17 17:27:46,283 [http://localhost:20460/xwiki/bin/view/Main/] ERROR c.x.x.w.XWikiAction            - Uncaught exception during XWiki initialisation: 
      com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
      	at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:424) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:493) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:153) [xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129) [xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) ~[struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) ~[struts-core-1.3.10.jar:1.3.10]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) ~[servlet-api.jar:na]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) ~[servlet-api.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) ~[xwiki-platform-wysiwyg-server-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) ~[xwiki-platform-webdav-server-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) ~[xwiki-platform-container-servlet-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) ~[xwiki-platform-container-servlet-5.3.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) ~[catalina.jar:7.0.35]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) ~[catalina.jar:7.0.35]
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) ~[tomcat-coyote.jar:7.0.35]
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) ~[tomcat-coyote.jar:7.0.35]
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) ~[tomcat-coyote.jar:7.0.35]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) ~[na:1.6.0_27]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.6.0_27]
      	at java.lang.Thread.run(Thread.java:701) ~[na:1.6.0_27]
      Caused by: com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.XWikiServerClass]
      	at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:927) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1356) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1404) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:805) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:775) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.<init>(XWiki.java:712) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:404) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 40 common frames omitted
      Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database xwiki
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:700) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:872) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:804) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:799) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 47 common frames omitted
      Caused by: com.xpn.xwiki.store.migration.MigrationRequiredException: Since database [xwiki] needs to be migrated, it couldn't be safely used! Please check your configuration to enable required migration for upgrading database from version [35102] to version [53010].
      	at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:586) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:696) ~[xwiki-platform-legacy-oldcore-5.3.jar:na]
      	... 50 common frames omitted
      2013-12-17 17:27:46,284 [http://localhost:20460/xwiki/bin/view/Main/] WARN  a.s.u.PropertyMessageResources -   Resource org/apache/struts/action/ActionResources_en_US.properties Not Found. 
      2013-12-17 17:27:46,284 [http://localhost:20460/xwiki/bin/view/Main/] WARN  a.s.u.PropertyMessageResources -   Resource org/apache/struts/action/ActionResources_en.properties Not Found. 
      2013-12-17 17:27:46,285 [http://localhost:20460/xwiki/bin/view/Main/] WARN  o.a.s.a.RequestProcessor       - Unhandled Exception thrown: class com.xpn.xwiki.XWikiException 
      

        Attachments

          Activity

            People

            • Assignee:
              softec Denis Gervalle
              Reporter:
              sorinello Sorin Burjan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: