Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
6.2-milestone-2
-
None
-
Unknown
-
N/A
-
N/A
-
Description
After deleting "test4":
2014-09-03 17:36:07,323 [XWiki Solr index thread] ERROR o.h.u.JDBCExceptionReporter - invalid schema name: TEST4 2014-09-03 17:36:07,327 [XWiki Solr index thread] ERROR faultDocumentTranslationBundle - Failed to get localization bundle com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [test4:XWiki.WatchListTranslations] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:958) ~[xwiki-platform-legacy-oldcore-6.2-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:291) ~[xwiki-platform-legacy-oldcore-6.2-SNAPSHOT.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1299) ~[xwiki-platform-legacy-oldcore-6.2-SNAPSHOT.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1347) ~[xwiki-platform-legacy-oldcore-6.2-SNAPSHOT.jar:na] at org.xwiki.localization.wiki.internal.AbstractDocumentTranslationBundle.loadDocumentLocaleBundle(AbstractDocumentTranslationBundle.java:146) ~[xwiki-platform-localization-source-wiki-6.2-SNAPSHOT.jar:na] at org.xwiki.localization.wiki.internal.AbstractDocumentTranslationBundle.createBundle(AbstractDocumentTranslationBundle.java:190) ~[xwiki-platform-localization-source-wiki-6.2-SNAPSHOT.jar:na] at org.xwiki.localization.internal.AbstractCachedTranslationBundle.getSynchLocalizedBundle(AbstractCachedTranslationBundle.java:91) [xwiki-platform-localization-api-6.2-SNAPSHOT.jar:na] at org.xwiki.localization.internal.AbstractCachedTranslationBundle.getLocalizedBundle(AbstractCachedTranslationBundle.java:75) [xwiki-platform-localization-api-6.2-SNAPSHOT.jar:na] at org.xwiki.localization.internal.AbstractCachedTranslationBundle.getTranslation(AbstractCachedTranslationBundle.java:108) [xwiki-platform-localization-api-6.2-SNAPSHOT.jar:na] at org.xwiki.localization.internal.DefaultLocalizationManager.getTranslation(DefaultLocalizationManager.java:74) [xwiki-platform-localization-api-6.2-SNAPSHOT.jar:na] at org.xwiki.localization.script.LocalizationScriptService.render(LocalizationScriptService.java:175) [xwiki-platform-localization-script-6.2-SNAPSHOT.jar:na] at org.xwiki.localization.script.LocalizationScriptService.render(LocalizationScriptService.java:149) [xwiki-platform-localization-script-6.2-SNAPSHOT.jar:na] at org.xwiki.localization.script.LocalizationScriptService.render(LocalizationScriptService.java:139) [xwiki-platform-localization-script-6.2-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_65] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_65] at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) [velocity-1.7.jar:1.7] at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) [velocity-1.7.jar:1.7] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) [velocity-1.7.jar:1.7] at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) [velocity-1.7.jar:1.7] at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369) [velocity-1.7.jar:1.7] at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) [velocity-1.7.jar:1.7] at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228) [xwiki-commons-velocity-6.2-SNAPSHOT.jar:na] at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187) [xwiki-commons-velocity-6.2-SNAPSHOT.jar:na] at org.xwiki.display.internal.AbstractDocumentTitleDisplayer.evaluateTitle(AbstractDocumentTitleDisplayer.java:211) [xwiki-platform-display-api-6.2-SNAPSHOT.jar:na] at org.xwiki.display.internal.AbstractDocumentTitleDisplayer.displayTitle(AbstractDocumentTitleDisplayer.java:136) [xwiki-platform-display-api-6.2-SNAPSHOT.jar:na] at org.xwiki.display.internal.AbstractDocumentTitleDisplayer.display(AbstractDocumentTitleDisplayer.java:125) [xwiki-platform-display-api-6.2-SNAPSHOT.jar:na] at org.xwiki.display.internal.AbstractDocumentTitleDisplayer.display(AbstractDocumentTitleDisplayer.java:52) [xwiki-platform-display-api-6.2-SNAPSHOT.jar:na] at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80) [xwiki-platform-display-api-6.2-SNAPSHOT.jar:na] at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38) [xwiki-platform-display-api-6.2-SNAPSHOT.jar:na] at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113) [xwiki-platform-sheet-api-6.2-SNAPSHOT.jar:na] at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50) [xwiki-platform-sheet-api-6.2-SNAPSHOT.jar:na] at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67) [xwiki-platform-display-api-6.2-SNAPSHOT.jar:na] at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41) [xwiki-platform-display-api-6.2-SNAPSHOT.jar:na] at com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:1299) [xwiki-platform-legacy-oldcore-6.2-SNAPSHOT.jar:na] at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setFieldsInternal(DocumentSolrMetadataExtractor.java:112) [xwiki-platform-search-solr-api-6.2-SNAPSHOT.jar:na] at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getSolrDocument(AbstractSolrMetadataExtractor.java:132) [xwiki-platform-search-solr-api-6.2-SNAPSHOT.jar:na] at org.xwiki.search.solr.internal.DefaultSolrIndexer.getSolrDocument(DefaultSolrIndexer.java:501) [xwiki-platform-search-solr-api-6.2-SNAPSHOT.jar:na] at org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:411) [xwiki-platform-search-solr-api-6.2-SNAPSHOT.jar:na] at org.xwiki.search.solr.internal.DefaultSolrIndexer.run(DefaultSolrIndexer.java:384) [xwiki-platform-search-solr-api-6.2-SNAPSHOT.jar:na] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65] Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database test4 at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:739) ~[xwiki-platform-legacy-oldcore-6.2-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:911) ~[xwiki-platform-legacy-oldcore-6.2-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:843) ~[xwiki-platform-legacy-oldcore-6.2-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:830) ~[xwiki-platform-legacy-oldcore-6.2-SNAPSHOT.jar:na] ... 40 common frames omitted Caused by: org.hibernate.exception.GenericJDBCException: error executing work at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final] at org.hibernate.impl.SessionImpl.doWork(SessionImpl.java:2001) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final] at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeSQL(XWikiHibernateBaseStore.java:753) ~[xwiki-platform-legacy-oldcore-6.2-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:722) ~[xwiki-platform-legacy-oldcore-6.2-SNAPSHOT.jar:na] ... 43 common frames omitted Caused by: java.sql.SQLException: invalid schema name: TEST4 at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source) ~[hsqldb-2.3.2.jar:2.3.2] at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source) ~[hsqldb-2.3.2.jar:2.3.2] at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source) ~[hsqldb-2.3.2.jar:2.3.2] at org.hsqldb.jdbc.JDBCStatement.execute(Unknown Source) ~[hsqldb-2.3.2.jar:2.3.2] at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) ~[commons-dbcp-1.3.jar:1.3] at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) ~[commons-dbcp-1.3.jar:1.3] at com.xpn.xwiki.store.XWikiHibernateBaseStore$1.execute(XWikiHibernateBaseStore.java:760) ~[xwiki-platform-legacy-oldcore-6.2-SNAPSHOT.jar:na] at org.hibernate.impl.SessionImpl.doWork(SessionImpl.java:1997) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final] ... 45 common frames omitted Caused by: org.hsqldb.HsqlException: invalid schema name: TEST4 at org.hsqldb.error.Error.error(Unknown Source) ~[hsqldb-2.3.2.jar:2.3.2] at org.hsqldb.error.Error.error(Unknown Source) ~[hsqldb-2.3.2.jar:2.3.2] at org.hsqldb.SchemaManager.getSchemaHsqlName(Unknown Source) ~[hsqldb-2.3.2.jar:2.3.2] at org.hsqldb.Session.getSchemaHsqlName(Unknown Source) ~[hsqldb-2.3.2.jar:2.3.2] at org.hsqldb.ParserDQL.readSchemaName(Unknown Source) ~[hsqldb-2.3.2.jar:2.3.2] at org.hsqldb.ParserCommand.compileSet(Unknown Source) ~[hsqldb-2.3.2.jar:2.3.2] at org.hsqldb.ParserCommand.compilePart(Unknown Source) ~[hsqldb-2.3.2.jar:2.3.2] at org.hsqldb.ParserCommand.compileStatements(Unknown Source) ~[hsqldb-2.3.2.jar:2.3.2] at org.hsqldb.Session.executeDirectStatement(Unknown Source) ~[hsqldb-2.3.2.jar:2.3.2] at org.hsqldb.Session.execute(Unknown Source) ~[hsqldb-2.3.2.jar:2.3.2] ... 51 common frames omitted
And it is going back every ~5 seconds, even if there is no activity on the wiki.
Performances become very bad because of that too.