On Thu, Nov 13, 2008 at 4:26 PM, Tronicek <[EMAIL PROTECTED]> wrote: > > Just an adjustment: > the errors are only seen while xwiki.cfg entries are set active. Looking > like: > > ---------------------- > > #-# [Since 1.5M2] > #-# The cache component implementation to use as "normal" (can be local or > distributed depending on the implementation) > #-# cache component. > xwiki.cache.cachefactory.hint=jbosscache > > #-# [Since 1.5M2] > #-# The cache component to use as local cache component. > xwiki.cache.cachefactory.local.hint=jbosscache/local
Theses options should not change anything since 1.6 as it's already the default values. > > ---------------------- > > What to do to enable JBossCache? According to the log you get, you have JBossCache enabled. > > We want to start our Wiki on JBoss Cluster using JBossCache... Note: there is a problem with JBossCache clustering which need Serializable datas (and documents are not, yet). See http://jira.xwiki.org/jira/browse/XWIKI-2793 > > Regards, > Rudolf > > > Tronicek wrote: >> >> Hi, >> >> I'm using JBoss (4.2.1), XWiki XE 1.7 Milestone 1. >> >> Which parameters are to be set or which files have to be modified/moved to >> prevent the following DEBUG and ERROR messages? >> >> No matter whether xwiki.cfg file has >> xwiki.cache.cachefactory.hint=jbosscache and >> xwiki.cache.cachefactory.local.hint=jbosscache/local as comment or not, >> there is a DEBUG message on console saying >> "Failed to load configuration file xwiki.store.pagecache". >> There's a second DEBUG message saying "Failed to load configuration file >> default". >> >> I realized this after deletion of log4j-1.2.13.jar in lib folder. >> >> The real problem seems to be that there is an error later with lucene: >> ERROR [com.xpn.xwiki.plugin.lucene.IndexUpdater] error indexing document >> xwiki:XWiki.420127.default.objects >> com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while >> reading document XWiki.420127 >> >> (The number is a XWiki "username".) >> >> Logging is very high. It's showing a lot of debug and error messages >> relating caching. >> >> Thanks, >> Rudolf >> >> Each stack traces are there a lot of times. Stack Details: >> >> 1) as first >> >> 2008-11-13 00:00:00,015 ERROR [org.quartz.core.QuartzSchedulerThread] >> Runtime error occured in main trigger firing loop. >> java.lang.NullPointerException >> at >> org.apache.commons.logging.LogFactory.getCachedFactory(LogFactory.java:979) >> at >> org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:435) >> at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685) >> at org.quartz.core.JobRunShell.<init>(JobRunShell.java:80) >> at >> org.quartz.impl.StdJobRunShellFactory.borrowJobRunShell(StdJobRunShellFactory.java:86) >> at >> org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:357) >> >> 2) a bit later >> >> 2008-11-13 05:10:00,888 INFO >> [org.xwiki.cache.jbosscache.internal.JBossCacheCacheFactory] Start JBoss >> cache initialisation >> 2008-11-13 05:10:00,904 DEBUG >> [org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration] Failed >> to load configuration file xwiki.groovy.content >> org.xwiki.cache.jbosscache.internal.PropertiesLoadingCacheException: Can't >> find any configuration file forxwiki.groovy.content >> at >> org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.loadConfig(JBossCacheCacheConfiguration.java:245) >> at >> org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.load(JBossCacheCacheConfiguration.java:115) >> at >> org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.<init>(JBossCacheCacheConfiguration.java:99) >> at >> org.xwiki.cache.jbosscache.internal.JBossCacheCacheFactory.newCache(JBossCacheCacheFactory.java:78) >> at >> com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.initCache(XWikiGroovyRenderer.java:133) >> at >> com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.initCache(XWikiGroovyRenderer.java:121) >> at >> com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.prepareCache(XWikiGroovyRenderer.java:152) >> at >> com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.parseGroovyFromString(XWikiGroovyRenderer.java:333) >> at com.xpn.xwiki.XWiki.parseGroovyFromString(XWiki.java:5698) >> at com.xpn.xwiki.api.XWiki.parseGroovyFromPage(XWiki.java:2169) >> at gjdk.com.xpn.xwiki.api.XWiki_GroovyReflector.invoke(Unknown Source) >> at groovy.lang.MetaMethod.invoke(MetaMethod.java:111) >> at >> org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:657) >> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:363) >> at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:146) >> at >> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104) >> at >> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:85) >> at Script1.run(Script1.groovy:8) >> at groovy.lang.GroovyShell.evaluate(GroovyShell.java:485) >> at groovy.lang.GroovyShell.evaluate(GroovyShell.java:460) >> at com.xpn.xwiki.plugin.scheduler.GroovyJob.execute(GroovyJob.java:83) >> at org.quartz.core.JobRunShell.run(JobRunShell.java:202) >> at >> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529) >> 2008-11-13 05:10:00,904 DEBUG >> [org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration] Failed >> to load configuration file default-local >> org.xwiki.cache.jbosscache.internal.PropertiesLoadingCacheException: Can't >> find any configuration file fordefault-local >> at >> org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.loadConfig(JBossCacheCacheConfiguration.java:245) >> at >> org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.getDefaultConfig(JBossCacheCacheConfiguration.java:216) >> at >> org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.load(JBossCacheCacheConfiguration.java:118) >> at >> org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.<init>(JBossCacheCacheConfiguration.java:99) >> at >> org.xwiki.cache.jbosscache.internal.JBossCacheCacheFactory.newCache(JBossCacheCacheFactory.java:78) >> at >> com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.initCache(XWikiGroovyRenderer.java:133) >> at >> com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.initCache(XWikiGroovyRenderer.java:121) >> at >> com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.prepareCache(XWikiGroovyRenderer.java:152) >> at >> com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.parseGroovyFromString(XWikiGroovyRenderer.java:333) >> at com.xpn.xwiki.XWiki.parseGroovyFromString(XWiki.java:5698) >> at com.xpn.xwiki.api.XWiki.parseGroovyFromPage(XWiki.java:2169) >> at gjdk.com.xpn.xwiki.api.XWiki_GroovyReflector.invoke(Unknown Source) >> at groovy.lang.MetaMethod.invoke(MetaMethod.java:111) >> at >> org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:657) >> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:363) >> at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:146) >> at >> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104) >> at >> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:85) >> at Script1.run(Script1.groovy:8) >> at groovy.lang.GroovyShell.evaluate(GroovyShell.java:485) >> at groovy.lang.GroovyShell.evaluate(GroovyShell.java:460) >> at com.xpn.xwiki.plugin.scheduler.GroovyJob.execute(GroovyJob.java:83) >> at org.quartz.core.JobRunShell.run(JobRunShell.java:202) >> at >> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529) >> 2008-11-13 05:10:00,919 INFO >> [org.jboss.cache.factories.ComponentRegistry] JBoss Cache version: >> JBossCache 'Poblano' 2.2.0.GA >> 2008-11-13 05:10:00,919 INFO >> [org.xwiki.cache.jbosscache.internal.JBossCacheCacheFactory] End JBoss >> cache initialisation >> >> 3) at least each hour >> >> 2008-11-13 05:13:05,559 ERROR [com.xpn.xwiki.plugin.lucene.IndexUpdater] >> error indexing document xwiki:XWiki.420127.default.objects >> com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while >> reading document XWiki.420127 >> Wrapped Exception: Entry.next=null, data[removeIndex]=XWiki.545365=<?xml >> version="1.0" encoding="UTF-8"?> >> >> <class> >> <name>XWiki.545365</name> >> <customClass></customClass> >> <customMapping></customMapping> >> <defaultViewSheet></defaultViewSheet> >> <defaultEditSheet></defaultEditSheet> >> <defaultWeb></defaultWeb> >> <nameField></nameField> >> <validationScript></validationScript> >> </class> >> previous=XWiki.420762=<?xml version="1.0" encoding="UTF-8"?> >> >> <class> >> <name>XWiki.420762</name> >> <customClass></customClass> >> <customMapping></customMapping> >> <defaultViewSheet></defaultViewSheet> >> <defaultEditSheet></defaultEditSheet> >> <defaultWeb></defaultWeb> >> <nameField></nameField> >> <validationScript></validationScript> >> </class> >> key=XWiki.420127 value=<?xml version="1.0" encoding="UTF-8"?> >> >> <class> >> <name>XWiki.420127</name> >> <customClass></customClass> >> <customMapping></customMapping> >> <defaultViewSheet></defaultViewSheet> >> <defaultEditSheet></defaultEditSheet> >> <defaultWeb></defaultWeb> >> <nameField></nameField> >> <validationScript></validationScript> >> </class> >> size=20 maxSize=20 Please check that your keys are immutable, and that >> you have used synchronization properly. If so, then please report this to >> [EMAIL PROTECTED] as a bug. >> at >> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:744) >> at >> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:209) >> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1323) >> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1363) >> at >> com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:217) >> at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:117) >> at java.lang.Thread.run(Thread.java:619) >> >> >> > > -- > View this message in context: > http://n2.nabble.com/JBossCacheCacheConfiguration-Failed-to-load-configuration-file-tp1494220p1494369.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users