Details
-
Bug
-
Resolution: Fixed
-
Critical
-
5.2-milestone-2
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce:
- setup a clean 4.5.4 XEM
- you don't have to install workspaces template nor create any workspaces in order to reproduce
- migrate the 4.5.4 instalation to 5.2M2 using DW
- access the 5.2M2 to trigger the DW. you will see the following stacktrace when DW kicks in
Sep 18, 2013 3:19:45 PM org.apache.coyote.AbstractProtocol stop INFO: Stopping ProtocolHandler ["http-bio-8080"] Sep 18, 2013 3:19:45 PM org.apache.coyote.AbstractProtocol stop INFO: Stopping ProtocolHandler ["ajp-bio-8009"] Sep 18, 2013 3:19:45 PM org.apache.coyote.AbstractProtocol destroy INFO: Destroying ProtocolHandler ["http-bio-8080"] Sep 18, 2013 3:19:45 PM org.apache.coyote.AbstractProtocol destroy INFO: Destroying ProtocolHandler ["ajp-bio-8009"] Sep 18, 2013 3:20:18 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 Sep 18, 2013 3:20:18 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8080"] Sep 18, 2013 3:20:18 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-8009"] Sep 18, 2013 3:20:18 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 259 ms Sep 18, 2013 3:20:18 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Sep 18, 2013 3:20:18 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.35 Sep 18, 2013 3:20:18 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /home/sorinello/Desktop/XWiki/apache-tomcat-7.0.35/webapps/manager Sep 18, 2013 3:20:18 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /home/sorinello/Desktop/XWiki/apache-tomcat-7.0.35/webapps/host-manager Sep 18, 2013 3:20:18 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /home/sorinello/Desktop/XWiki/apache-tomcat-7.0.35/webapps/examples Sep 18, 2013 3:20:18 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /home/sorinello/Desktop/XWiki/apache-tomcat-7.0.35/webapps/xwiki 2013-09-18 15:20:23,774 [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-09-18 15:20:23,821 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server... 2013-09-18 15:20:23,821 [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-09-18 15:20:24,564 [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-09-18 15:20:24,564 [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-09-18 15:20:25,279 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server. 2013-09-18 15:20:26,905 [localhost-startStop-1] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.enterprise:xwiki-enterprise-ui-all-4.5.4] on namespace [wiki:workspacetemplate] 2013-09-18 15:20:26,905 [localhost-startStop-1] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.enterprise:xwiki-enterprise-ui-all-4.5.4] on namespace [wiki:manuel] 2013-09-18 15:20:26,905 [localhost-startStop-1] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.enterprise:xwiki-enterprise-ui-all-4.5.4] on namespace [wiki:sorinello] 2013-09-18 15:20:26,907 [localhost-startStop-1] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.enterprise:xwiki-enterprise-ui-4.5.4] on namespace [wiki:xwiki] 2013-09-18 15:20:26,907 [localhost-startStop-1] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.manager:xwiki-manager-ui-4.5.4] on namespace [wiki:xwiki] Sep 18, 2013 3:20:27 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /home/sorinello/Desktop/XWiki/apache-tomcat-7.0.35/webapps/docs Sep 18, 2013 3:20:27 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /home/sorinello/Desktop/XWiki/apache-tomcat-7.0.35/webapps/ROOT Sep 18, 2013 3:20:27 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] Sep 18, 2013 3:20:27 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8009"] Sep 18, 2013 3:20:27 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 9337 ms 2013-09-18 15:21:25,202 [http://localhost:8080/xwiki/bin/view/Main/WebHome] INFO .HibernateDataMigrationManager - Storage schema updates and data migrations are enabled 2013-09-18 15:21:25,210 [http://localhost:8080/xwiki/bin/view/Main/WebHome] INFO .HibernateDataMigrationManager - No data migration to apply for database [xwiki] currently in version [43000] 2013-09-18 15:21:25,210 [http://localhost:8080/xwiki/bin/view/Main/WebHome] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [xwiki] 2013-09-18 15:21:25,793 [http://localhost:8080/xwiki/bin/view/Main/WebHome] INFO .HibernateDataMigrationManager - Failed to migrate database [xwiki]... com.xpn.xwiki.store.migration.DataMigrationException: Unable to update schema of wiki [xwiki] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:181) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:680) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:619) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:353) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:552) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:700) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:876) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:808) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:792) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2258) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2290) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1159) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:844) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.<init>(XWiki.java:792) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9] 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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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:310) [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:679) [na:1.6.0_27] Caused by: org.hibernate.HibernateException: Failed updating schema while executing query [create sequence public.hibernate_sequence] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:588) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:344) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.hibernateShemaUpdate(HibernateDataMigrationManager.java:196) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:178) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 60 common frames omitted Caused by: org.postgresql.util.PSQLException: ERROR: relation "hibernate_sequence" already exists at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:302) ~[postgresql-9.1-901.jdbc4.jar:na] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) ~[commons-dbcp-1.3.jar:1.3] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) ~[commons-dbcp-1.3.jar:1.3] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:584) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 63 common frames omitted 2013-09-18 15:21:25,794 [http://localhost:8080/xwiki/bin/view/Main/WebHome] ERROR .HibernateDataMigrationManager - Failed to migrate database [xwiki] com.xpn.xwiki.store.migration.DataMigrationException: Failed to migrate database [xwiki]... at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:686) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:619) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:353) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:552) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:700) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:876) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:808) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:792) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2258) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2290) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1159) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:844) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.<init>(XWiki.java:792) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9] 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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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:310) [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:679) [na:1.6.0_27] Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to update schema of wiki [xwiki] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:181) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:680) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 59 common frames omitted Caused by: org.hibernate.HibernateException: Failed updating schema while executing query [create sequence public.hibernate_sequence] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:588) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:344) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.hibernateShemaUpdate(HibernateDataMigrationManager.java:196) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:178) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 60 common frames omitted Caused by: org.postgresql.util.PSQLException: ERROR: relation "hibernate_sequence" already exists at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:302) ~[postgresql-9.1-901.jdbc4.jar:na] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) ~[commons-dbcp-1.3.jar:1.3] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) ~[commons-dbcp-1.3.jar:1.3] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:584) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 63 common frames omitted 2013-09-18 15:21:25,796 [http://localhost:8080/xwiki/bin/view/Main/WebHome] INFO .HibernateDataMigrationManager - No data migration to apply for database [manuel] currently in version [43000] 2013-09-18 15:21:25,796 [http://localhost:8080/xwiki/bin/view/Main/WebHome] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [manuel] 2013-09-18 15:21:26,355 [http://localhost:8080/xwiki/bin/view/Main/WebHome] INFO .HibernateDataMigrationManager - Failed to migrate database [manuel]... com.xpn.xwiki.store.migration.DataMigrationException: Unable to update schema of wiki [manuel] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:181) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:680) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:619) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:353) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:552) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:700) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:876) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:808) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:792) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2258) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2290) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1159) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:844) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.<init>(XWiki.java:792) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9] 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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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:310) [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:679) [na:1.6.0_27] Caused by: org.hibernate.HibernateException: Failed updating schema while executing query [create sequence manuel.hibernate_sequence] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:588) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:344) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.hibernateShemaUpdate(HibernateDataMigrationManager.java:196) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:178) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 60 common frames omitted Caused by: org.postgresql.util.PSQLException: ERROR: relation "hibernate_sequence" already exists at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:302) ~[postgresql-9.1-901.jdbc4.jar:na] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) ~[commons-dbcp-1.3.jar:1.3] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) ~[commons-dbcp-1.3.jar:1.3] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:584) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 63 common frames omitted 2013-09-18 15:21:26,356 [http://localhost:8080/xwiki/bin/view/Main/WebHome] ERROR .HibernateDataMigrationManager - Failed to migrate database [manuel] com.xpn.xwiki.store.migration.DataMigrationException: Failed to migrate database [manuel]... at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:686) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:619) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:353) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:552) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:700) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:876) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:808) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:792) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2258) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2290) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1159) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:844) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.<init>(XWiki.java:792) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9] 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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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:310) [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:679) [na:1.6.0_27] Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to update schema of wiki [manuel] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:181) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:680) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 59 common frames omitted Caused by: org.hibernate.HibernateException: Failed updating schema while executing query [create sequence manuel.hibernate_sequence] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:588) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:344) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.hibernateShemaUpdate(HibernateDataMigrationManager.java:196) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:178) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 60 common frames omitted Caused by: org.postgresql.util.PSQLException: ERROR: relation "hibernate_sequence" already exists at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:302) ~[postgresql-9.1-901.jdbc4.jar:na] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) ~[commons-dbcp-1.3.jar:1.3] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) ~[commons-dbcp-1.3.jar:1.3] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:584) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 63 common frames omitted 2013-09-18 15:21:26,358 [http://localhost:8080/xwiki/bin/view/Main/WebHome] INFO .HibernateDataMigrationManager - No data migration to apply for database [workspacetemplate] currently in version [43000] 2013-09-18 15:21:26,358 [http://localhost:8080/xwiki/bin/view/Main/WebHome] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [workspacetemplate] 2013-09-18 15:21:26,929 [http://localhost:8080/xwiki/bin/view/Main/WebHome] INFO .HibernateDataMigrationManager - Failed to migrate database [workspacetemplate]... com.xpn.xwiki.store.migration.DataMigrationException: Unable to update schema of wiki [workspacetemplate] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:181) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:680) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:619) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:353) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:552) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:700) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:876) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:808) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:792) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2258) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2290) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1159) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:844) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.<init>(XWiki.java:792) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9] 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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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:310) [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:679) [na:1.6.0_27] Caused by: org.hibernate.HibernateException: Failed updating schema while executing query [create sequence workspacetemplate.hibernate_sequence] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:588) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:344) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.hibernateShemaUpdate(HibernateDataMigrationManager.java:196) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:178) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 60 common frames omitted Caused by: org.postgresql.util.PSQLException: ERROR: relation "hibernate_sequence" already exists at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:302) ~[postgresql-9.1-901.jdbc4.jar:na] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) ~[commons-dbcp-1.3.jar:1.3] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) ~[commons-dbcp-1.3.jar:1.3] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:584) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 63 common frames omitted 2013-09-18 15:21:26,931 [http://localhost:8080/xwiki/bin/view/Main/WebHome] ERROR .HibernateDataMigrationManager - Failed to migrate database [workspacetemplate] com.xpn.xwiki.store.migration.DataMigrationException: Failed to migrate database [workspacetemplate]... at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:686) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:619) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:353) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:552) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:700) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:876) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:808) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:792) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2258) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2290) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1159) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:844) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.<init>(XWiki.java:792) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9] 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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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:310) [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:679) [na:1.6.0_27] Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to update schema of wiki [workspacetemplate] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:181) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:680) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 59 common frames omitted Caused by: org.hibernate.HibernateException: Failed updating schema while executing query [create sequence workspacetemplate.hibernate_sequence] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:588) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:344) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.hibernateShemaUpdate(HibernateDataMigrationManager.java:196) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:178) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 60 common frames omitted Caused by: org.postgresql.util.PSQLException: ERROR: relation "hibernate_sequence" already exists at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:302) ~[postgresql-9.1-901.jdbc4.jar:na] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) ~[commons-dbcp-1.3.jar:1.3] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) ~[commons-dbcp-1.3.jar:1.3] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:584) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 63 common frames omitted 2013-09-18 15:21:26,932 [http://localhost:8080/xwiki/bin/view/Main/WebHome] INFO .HibernateDataMigrationManager - No data migration to apply for database [sorinello] currently in version [43000] 2013-09-18 15:21:26,932 [http://localhost:8080/xwiki/bin/view/Main/WebHome] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [sorinello] 2013-09-18 15:21:27,472 [http://localhost:8080/xwiki/bin/view/Main/WebHome] INFO .HibernateDataMigrationManager - Failed to migrate database [sorinello]... com.xpn.xwiki.store.migration.DataMigrationException: Unable to update schema of wiki [sorinello] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:181) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:680) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:619) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:353) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:552) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:700) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:876) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:808) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:792) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2258) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2290) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1159) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:844) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.<init>(XWiki.java:792) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9] 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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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:310) [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:679) [na:1.6.0_27] Caused by: org.hibernate.HibernateException: Failed updating schema while executing query [create sequence sorinello.hibernate_sequence] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:588) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:344) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.hibernateShemaUpdate(HibernateDataMigrationManager.java:196) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:178) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 60 common frames omitted Caused by: org.postgresql.util.PSQLException: ERROR: relation "hibernate_sequence" already exists at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:302) ~[postgresql-9.1-901.jdbc4.jar:na] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) ~[commons-dbcp-1.3.jar:1.3] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) ~[commons-dbcp-1.3.jar:1.3] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:584) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 63 common frames omitted 2013-09-18 15:21:27,474 [http://localhost:8080/xwiki/bin/view/Main/WebHome] ERROR .HibernateDataMigrationManager - Failed to migrate database [sorinello] com.xpn.xwiki.store.migration.DataMigrationException: Failed to migrate database [sorinello]... at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:686) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:619) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:353) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:552) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:700) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:876) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:808) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:792) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2258) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2290) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1159) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:844) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.<init>(XWiki.java:792) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9] 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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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.2-milestone-2.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:310) [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:679) [na:1.6.0_27] Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to update schema of wiki [sorinello] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:181) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:680) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 59 common frames omitted Caused by: org.hibernate.HibernateException: Failed updating schema while executing query [create sequence sorinello.hibernate_sequence] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:588) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:344) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.hibernateShemaUpdate(HibernateDataMigrationManager.java:196) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:178) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 60 common frames omitted Caused by: org.postgresql.util.PSQLException: ERROR: relation "hibernate_sequence" already exists at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374) ~[postgresql-9.1-901.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:302) ~[postgresql-9.1-901.jdbc4.jar:na] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) ~[commons-dbcp-1.3.jar:1.3] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) ~[commons-dbcp-1.3.jar:1.3] at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:584) [xwiki-platform-legacy-oldcore-5.2-milestone-2.jar:na] ... 63 common frames omitted 2013-09-18 15:21:27,474 [http://localhost:8080/xwiki/bin/view/Main/WebHome] ERROR .HibernateDataMigrationManager - 4 database migration(s) failed, it is not safe to continue! 2013-09-18 15:21:28,739 [http://localhost:8080/xwiki/bin/view/Main/WebHome] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.web.XWikiMessageTool.get] in xwiki:Scheduler.WatchListDailyNotifier@1,6 2013-09-18 15:21:28,938 [XWiki Solr index thread] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.web.XWikiMessageTool.get] in xwiki:Scheduler.WatchListDailyNotifier@1,6 2013-09-18 15:21:29,933 [http://localhost:8080/xwiki/bin/view/Main/WebHome] WARN o.h.u.JDBCExceptionReporter - SQL Error: 0, SQLState: 42P01 2013-09-18 15:21:29,933 [http://localhost:8080/xwiki/bin/view/Main/WebHome] ERROR o.h.u.JDBCExceptionReporter - ERROR: relation "xwikiid" does not exist Position: 13 2013-09-18 15:21:29,935 [http://localhost:8080/xwiki/bin/view/Main/WebHome] WARN x.i.i.DefaultInstanceIdManager - Failed to save Instance id to database. Reason: [PSQLException: ERROR: relation "xwikiid" does not exist Position: 13] 2013-09-18 15:21:31,902 [http://localhost:8080/xwiki/bin/distribution/XWiki/Distribution?xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2FWebHome] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.web.XWikiMessageTool.get] in xwiki:XWiki.WebHome@1,6
Attachments
Issue Links
- relates to
-
XWIKI-10378 Error message when starting XWiki for the first time on PostgreSQL & Oracle
- Closed