[xwiki-users] Lucene search Problem with Wiki Farm Member it
Hi, we've updatet XWiki 1.7 XE to 2.7.33656 and are using the Wiki Manager to have a Wiki Farm. There is a strange behaviour we have not realized immediately related to search requests. It seams that the name of the virtual wiki is causing the problem. Its name is it and is used as solution base for IT problems. We can reproduce the problem by: - create a new virtual wiki with name it (without quotation marks). - import xwiki-enterprise-wiki-2.7.xar - search with lucene (no results): .../view/Main/LuceneSearch?text=sandboxspace= - search with old engine (see pages): .../view/Main/WebSearch?text=sandboxspace= We tried to change the analyzer in xwiki.cfg: xwiki.plugins.lucene.analyzer=org.apache.lucene.analysis.de.GermanAnalyzer - no success Our virtual wikis are mapped via virtual path (xwiki.cfg: xwiki.virtual.usepath=1). It would be nice to keep the virtual wiki name. Is there a workaround to handle this problem? Regards, Rudolf -- View this message in context: http://xwiki.475771.n2.nabble.com/Lucene-search-Problem-with-Wiki-Farm-Member-it-tp5992070p5992070.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
[xwiki-users] i got an null value at unknown namespace error
Hi, I'm testing XE 2.6 with XEM. My plugins/applications are - xwiki-application-application-manager-1.16.xar - xwiki-application-wiki-manager-1.22.xar - xwiki-enterprise-manager-application-xem-2.6.xar (corresponding .jar files are at WEB-INF\lib) Our Environment is Jboss 4.2.1 web server and Oracle 10g database. There is a problem with the Activity Stream at the homepages of the farm members. The Activity Stream keeps empty and there are some identical lines within the jboss console log: 15:50:59,267 ERROR [DefaultVelocityEngine] Left side ($events.size()) of '' operation has null value at unknown namespace[line 648, column 21] After disabling the Right column of the Dashboard page the error does not appeare. The error does not happen at the master wiki of the farm (http://localhost/xwiki/bin/view/Main/Dashboard), only at all member wikis. Do you have a hint where to look further? Thanks, Rudi -- View this message in context: http://xwiki.475771.n2.nabble.com/i-got-an-null-value-at-unknown-namespace-error-tp5800142p5800142.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
Re: [xwiki-users] (no subject)
Hi Boris, Hi Vincent, i realized a problem in MultiPageExportApplication. It requires the xwiki-collection plugin to be installed. The problem is that xwiki-plugin-collection-1.1-xwiki20.jar has a reference to the Class org.xwiki.rendering.listener.Attachment After removing the plugin from xwiki.cfg the ClassNotFoundException was gone. So remove: com.xpn.xwiki.plugin.collection.CollectionPlugin, \ I've been missing a JIRA category for this. Vincent, can you report this error, please? Thanks, Rudi -- View this message in context: http://xwiki.475771.n2.nabble.com/no-subject-tp5787856p5792137.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
[xwiki-users] ERROR [BaseCollection] Failed to get class [internal] from wiki [...]
Hi, I'm testing an upgrade from XE 1.7M1 to XE 1.8.1 incl. XEM. My environment: JBoss 1.4.1, XE 1.8.1 No matter which Wiki page is addressed i got a few errors at console and server.log per page: 13:40:25,802 ERROR [BaseCollection] Failed to get class [internal] from wiki [xwiki] java.lang.NullPointerException Has someone the same problem? Thanks, Rudolf -- View this message in context: http://n2.nabble.com/ERROR--BaseCollection--Failed-to-get-class--internal--from-wiki--...--tp2632698p2632698.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
Re: [xwiki-users] Groovy using log4j output
Hi, just in case someone need to write to JBoss console using XWiki Groovy. Don't import the JBoss logger, use apache logger instead: import org.apache.log4j.Logger; Thanks, R. Tronicek Our environment 1.8 XE with XEM plugin JBoss 1.4.1 1.4.2 Tronicek wrote: Hi, to automate group membership i wrote a Groovy script. It is called periodically via scheduler. This script use log4j to write some informations at info and at warning level to the console and to a database table. By now we are missing the output. It vanished since XWiki XE 1.6. Can you tell me how to enable the output again, please? Thanks. A simple extract (snippet): /* Groovy Class: $doc.fullName ([View Codegt;$doc.fullName?viewer=code]) #* */ import org.jboss.logging.Logger; class UpdateGroupMembershipClass{ def xwiki; def context; def doc; def log;// Logger void setXWiki(xwiki) { this.xwiki = xwiki; this.context = this.xwiki.getXWikiContext(); this.doc = this.context.getDoc(); this.log = Logger.getLogger(our.organization.XWiki. + this.doc.getFullName()); log.info(XWiki context initialized.); } /* other methods ... */ } /* *# */ I guess this is a logger configuration setting (it doesn't print info messages). You could either configure the logging system to print them, or increase the importance of the message (log.error(XWiki context initialized);) -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Groovy-using-log4j-output-tp1575886p2562622.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
[xwiki-users] Purge Document Versions via Script
Is there a way to purge document revisions using Velocity or Groovy? Someone can see actual and last revision by: ${doc.getVersion()}br ${doc.getPreviousDocument().getVersion()}br The next is deleting the document with all revisions... Don't try to purge with(!): ${doc.getPreviousDocument().delete()} Thanks, Rudolf -- View this message in context: http://n2.nabble.com/Purge-Document-Versions-via-Script-tp2192579p2192579.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
[xwiki-users] Groovy using log4j output
Hi, to automate group membership i wrote a Groovy script. It is called periodically via scheduler. This script use log4j to write some informations at info and at warning level to the console and to a database table. By now we are missing the output. It vanished since XWiki XE 1.6. Can you tell me how to enable the output again, please? Thanks. A simple extract (snippet): /* Groovy Class: $doc.fullName ([View Codegt;$doc.fullName?viewer=code]) #* */ import org.jboss.logging.Logger; class UpdateGroupMembershipClass{ def xwiki; def context; def doc; def log; // Logger void setXWiki(xwiki) { this.xwiki = xwiki; this.context = this.xwiki.getXWikiContext(); this.doc = this.context.getDoc(); this.log = Logger.getLogger(our.organization.XWiki. + this.doc.getFullName()); log.info(XWiki context initialized.); } /* other methods ... */ } /* *# */ -- View this message in context: http://n2.nabble.com/Groovy-using-log4j-output-tp1575886p1575886.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
Re: [xwiki-users] JBossCacheCacheConfiguration Failed to load configuration file
Thanks, we have limited logging again via jboss-log4j.xml. Limitation was disabled to find out why we are missing log4j output of our Groovy class. I've created an own question to this. By now we started with XWiki XE 1.7 Milestone 1 and will upgrade to 1.7 final next. Our department test it in virtual mode as knowledge base to different IT issues. Great job. Hope the WYSIWYG editor will behave more predictable. Bye, Rudolf Thomas Mortagne wrote: 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
Re: [xwiki-users] Problems with migration to xwiki 1.6.war in jboss 4.2.1
Hi, I was running in similar problems. By now i'm using hibernate.cfg.xml with pure JDBC connection. DataSource was working up to 1.5.2 - and is not working since 1.6zzz. JBoss (4.2.1, 4.2.2) shows JNDI reference but it is not recognized by xwiki. Should I raise a JIRA? regards, Rudi semasont wrote: Hi all, since xwiki 1.6 release I'm keen on having fun with it, but there is a problem while setting it up. I'm running Jboss (vers. 4.2.1) and I've already successfully installed xwiki 1.1.1 on it. My plan was to upgrade simply by implementing the new .war of the 1.6 (like described in Admin'sGuide and Admin's Guide/JBoss). I configuered my hibernate-config-xml, web.xml and xwiki.cfg with my old settings (I'm using DataSource). When everything is set and I want to start the run.bat all seems ok, but one WARN appears: WARN [javax.enterprise.resource.webcontainer.jsf.config] Unable to process deployment descriptor for context 'null'(from server.log) when I try to start xwiki via browser(http://localhost:8080/xwiki) exception 404 is thrown So, does anyone here tried out xwiki with the upper combination, or knows smth I did wrong??? I'd be really happy and thankful for some help/advice =) greetz markus -- View this message in context: http://n2.nabble.com/Problems-with-migration-to-xwiki-1.6.war-in-jboss-4.2.1-tp1303178p1494022.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
[xwiki-users] JBossCacheCacheConfiguration Failed to load configuration file
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
Re: [xwiki-users] Administration of Groups not valid since 1.6
Hi, i've done some checks now... Last check: i downloaded the Jetty zip-version of XE 1.7 Milestone 1. Result: 1) Using HSQLDB the number of users is shown at the rights management UI. 2) Using Oracle XE the number of users is not shown. Members of the group are not shown in the UI popup either. To enable Oracle XE in Jetty package i copied ojdbc14.jar file to xwiki/WEB-INF/lib and changed the entries in hibernate.cfg.xml to use XE database. XWiki user on XE database was recreated, browser caches (Firefox and IE7) were purged. After import of xwiki-enterprise-wiki-1.7-milestone-1.xar i loged in as user Admin. I don't know the difference causing this behaviour in using HSQLDB or Oracle XE. Any idea? Thanks, Rudolf Jean-Vincent Drean wrote: Hi, With the rights managements UI [1] the suggested way to edit groups is to click on the small edit icon at the right of the group row. Here's the scenario I've just tried successfully on a XE 1.6.1 install (XEM plugin) : - created a new group - clicked on the edit button at the right of the row - added a new local user to the group - back to the groups list the correct number of members is displayed for the newly created group Now the administrator is supposed to be able to edit the group by going to the group page, here's the scenario blah blah : - created a new group - clicked on its name ** - clicked on edit in the top menu - added a new local user to the group - the page is immediately reloaded with the new member appearing in the list Do you see any JavaScript error when you edit the group with this method ? Which browser are you using ? If firefox can you try this scenario with http://getfirebug.com/ installed ? Side developer note : I'd be in favor of removing the link on the group name (see ** above), I think the RMUI should be self-sufficient, the AJAX UI in the inline view of group pages is disturbing imho. WDYT ? [1] : http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise12M2#HNewRightsManagementUI Thanks, JV. On Wed, Oct 22, 2008 at 4:53 PM, Tronicek [EMAIL PROTECTED] wrote: Hi, in XWiki XE 1.6 and 1.6.1 the application Wiki administration - Groups behaves buggy. As member count always 0 (zero) users are displayed. After selection of a group the new window is not opened in inline mode. So it's not possible to create new groups or add a user to a group. No user is shown as a member. Changing to online mode and trying to add a user leads to the message Some users already exist in the group (XWikiGroups object of this user already exists). Adding of a realy new member let the member list still empty. I'm using virtual XWiki XE in virtual mode (XEM plugin), Oracle 9iR2 Database, JBoss 4.2.1 GA I'll try out XE 1.7 next. Is there a known problem? Thanks, Rudolf -- View this message in context: http://n2.nabble.com/Administration-of-Groups-not-valid-since-1.6-tp1364242p1364242.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 -- Jean-Vincent Drean ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Administration-of-Groups-not-valid-since-1.6-tp1364242p1368072.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
Re: [xwiki-users] Administration of Groups not valid since 1.6
Jean-Vincent Drean wrote: Do you see any JavaScript error when you edit the group with this method ? Which browser are you using ? If firefox can you try this scenario with http://getfirebug.com/ installed ? Thanks for response. There is no JavaScript error to be seen (firebug). No output on JBoss console. On firebug console following AJAX response is received (Oracle XE database): { totalrows: 2, returnedrows: 2 , offset: 1, reqNo: 1, rows: [ {username : XWikiAdminGroup, fullname : XWiki.XWikiAdminGroup, wikiname : local, members : 0, userurl : /xwiki/bin/view/XWiki/XWikiAdminGroup, usersaveurl : /xwiki/bin/save/XWiki/XWikiAdminGroup, userinlineurl : /xwiki/bin/inline/XWiki/XWikiAdminGroup?xpage=editgroup, docurl: /xwiki/bin/admin/XWiki/XWikiPreferences?section=Groups } ,{username : XWikiAllGroup, fullname : XWiki.XWikiAllGroup, wikiname : local, members : 0, userurl : /xwiki/bin/view/XWiki/XWikiAllGroup, usersaveurl : /xwiki/bin/save/XWiki/XWikiAllGroup, userinlineurl : /xwiki/bin/inline/XWiki/XWikiAllGroup?xpage=editgroup, docurl: /xwiki/bin/admin/XWiki/XWikiPreferences?section=Groups } ]} -- View this message in context: http://n2.nabble.com/Administration-of-Groups-not-valid-since-1.6-tp1364242p1368309.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
[xwiki-users] Virtual wiki name can't be reused after deletion
Hi, i've got a problem with Virtual Wiki Manager. After deletion of a virtual wiki named wikiit it's not possible to create a new one with this name. $xwiki.wikimanager.isWikiNameAvailable(wikiit) returns false. I'm using XE 1.5.2, Wiki Manager 1.4, JBoss AS 4.2.1, Oracle 9iR2 Database. Where can i make the old name available again (document / object)? I've searched the database but hit no record - looking up velocity code was not successfull. Thanks for any help, Rudolf Tronicek 50 erste Dates mit Adam Sandler u. Drew Barrymore kostenlos anschauen! Exklusiv für alle WEB.DE Nutzer. *http://www.blockbuster.web.de* [http://www.blockbuster.web.de] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] kein Betreff
Oh, i see... I've created the database user in advance to make sure he has the proper tablespace for data. It worked for my wikitemplate user. Think i'll change the wiki manager skript just to inform me about already present database users and allow the creation of the virtual wiki. Thanks a lot, Rudi Hi, On Mon, Sep 29, 2008 at 3:55 PM, Rudolf Tronicek Tronicek at web.de wrote: Hi, i've got a problem with Virtual Wiki Manager. After deletion of a virtual wiki named wikiit it's not possible to create a new one with this name. $xwiki.wikimanager.isWikiNameAvailable(wikiit) returns false. This methods looks directly into the database so I think the problem here is that there as some problem at delete and the database has not been deleted. I'm using XE 1.5.2, Wiki Manager 1.4, JBoss AS 4.2.1, Oracle 9iR2 Database. Where can i make the old name available again (document / object)? I've searched the database but hit no record - looking up velocity code was not successfull. Thanks for any help, Rudolf Tronicek _ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071distributionid=0066 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Virtual wiki name can't be reused after deletion
Oh, i see... I've created the database user in advance to make sure he has the proper tablespace for data. It worked for my wikitemplate user. Think i'll change the wiki manager skript just to inform me about already present database users and allow the creation of the virtual wiki. Thanks a lot, Rudi Hi, On Mon, Sep 29, 2008 at 3:55 PM, Rudolf Tronicek Tronicek at web.de wrote: Hi, i've got a problem with Virtual Wiki Manager. After deletion of a virtual wiki named wikiit it's not possible to create a new one with this name. $xwiki.wikimanager.isWikiNameAvailable(wikiit) returns false. This methods looks directly into the database so I think the problem here is that there as some problem at delete and the database has not been deleted. I'm using XE 1.5.2, Wiki Manager 1.4, JBoss AS 4.2.1, Oracle 9iR2 Database. Where can i make the old name available again (document / object)? I've searched the database but hit no record - looking up velocity code was not successfull. Thanks for any help, Rudolf Tronicek nach oben - nächste Nachricht Pt! Schon vom neuen WEB.DE MultiMessenger gehört? Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Performance of Edit Objects m enu call slowed down after creating 1000 users
Hi, i've created 1000 users via Groovy script. Each user document (profile) has a TacClass, a XWikiUsers and two XWikiRights objects. If i call the object editor at user profile page to make some changes to XWikiUsers object it takes long before the data appears. Other object edits slowed down as well. Is there a known reason? Is there a known possibility to accelerate access to objects belonging to the current document (creation of some index in database, ...)? Thanks, Rudolf Tronicek 50 erste Dates mit Adam Sandler u. Drew Barrymore kostenlos anschauen! Exklusiv für alle WEB.DE Nutzer. *http://www.blockbuster.web.de* [http://www.blockbuster.web.de] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Updated document are allways major edits in history
Hi, I'm checking XWiki XE 1.6 (xwiki-enterprise-web-1.6-milestone-2.war [http://forge.objectweb.org/project/download.php?group_id=170amp;file_id=11354]) and realized a problem in document history. No matter if a document is stored with minor edit box checked or not checked, in history the major edit number is allways increased. Should i raise a JIRA? I was not able to find an related entry in JIRA or in the mailing list yet. Thanks, Rudolf Tronicek Schon gehört? Bei WEB.DE gibt' s viele kostenlose Spiele: *http://games.entertainment.web.de/de/entertainment/games/free/index.html* [http://games.entertainment.web.de/de/entertainment/games/free/index.html] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] list of pages/spaces
Hi, for example take a look at XWiki.Treeview page (http://.../XWiki/Treeview?xpage=code [http://.../XWiki/Treeview?xpage=code]). There is seen how to handle hiddenSpaces or hiddenPages in a loop over documents. Maybe choose an other API function instead of $xwiki.getSpaceDocsName or extract unwanted spaces before using this function like: #set($hiddenSpaces = [XWiki,Main]) #if (!$hiddenSpaces.contains($doc.web)) #foreach($page in $xwiki.getSpaceDocsName($doc)) ## ...your code here... #end #end Hello I know that this code retrieves all the documents: $xwiki.getSpaceDocsName($doc) my question is this: is it possible to specify which documents can be left unwritten in the list? for instance if i have these spaces: Website1, Website2, XWiki, Main etc and i don't wanna show XWiki, Main, how can i approach this in velocity code? Thanks EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine Homepage mit eigenem Namen. Jetzt starten! *http://unddu.de/[EMAIL PROTECTED] [http://unddu.de/[EMAIL PROTECTED] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] How to export multilanguage documents to xar?
Hi, I'm preparing XWiki for use in our company. The entry Wiki pages will be in english and german. While exporting the page XWiki.WebHome only the english version got exported. Multilanguage is set in preferences for both languages, the german language was selected and the german translation was shown. Using the Application Manager to select all pages with translations led to the same result. How can i export all translations of a Wiki page, please? Regards, Rudi Schon gehört? Der neue WEB.DE MultiMessenger kann`s mit allen: *http://www.produkte.web.de/messenger/?did=3016* [http://www.produkte.web.de/messenger/?did=3016] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Choosing Groups or Users in Rights Management does not update the List displayed
Pushing the radio button does not refresh the displayed list. A click somewhere leads to a refresh. Changing Users and Groups continuously is confusing. The displayed list should be updated the time the radio button is pressed. Nevertheless, thanks a lot for the new rights management. Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage kostenlos testen. *http://www.pc-sicherheit.web.de/startseite/?mc=00* [http://www.pc-sicherheit.web.de/startseite/?mc=00] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki User Administration
Sergiu wrote: If you have just a list of users in a CSV, it's easy to write a script that automatically creates the user accounts based on that file (I used something like that for a site). Hi Sergiu, we're using a view of our HR database to automatically create/lock users in some applications like our intranet. Via the job specification number these users get members of some groups. Can you give us a hint (code snippet) how to realize user creations/modifications, please? It's easy to create CSV out of the database - as a newbie i've no idea how to start create such an automatism. Best Regards, Rudolf EISENMANN AG i. A. Rudolf Tronicek Postfach 1252 - 71085 Holzgerlingen Daimlerstraße 5 - 71088 Holzgerlingen Tel.: +49 7031 78 2909 Fax.: +49 7031 78 222909 E-Mail: [EMAIL PROTECTED] Internet: http://www.eisenmann.de _ Sitz: Böblingen, AG Stuttgart HRB 245891 USt.-IdNr.: DE 145 141 533 Vorstand: Dr. Matthias von Krauland (Sprecher), Dr. Thomas Beck, Günther Dingler Vorsitzender des Aufsichtsrates: Peter Eisenmann Diese E-Mail sowie etwaige Anlagen sind ausschließlich für den Adressaten bestimmt und können vertrauliche oder gesetzlich geschützte Informationen enthalten. Wenn Sie nicht der bestimmungsgemäße Empfänger sind, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Anderen als dem bestimmungsgemäßen Adressaten ist es untersagt, diese E-Mail zu speichern, weiterzuleiten oder ihren Inhalt, auf welche Weise auch immer, zu verwenden. Wir verwenden aktuelle Virenschutzprogramme. Für Schäden, die dem Empfänger gleichwohl durch von uns zugesandte, mit Viren befallene E-Mails entstehen, schließen wir jede Haftung aus. The information contained in this e-mail or attachments is intended only for its addressee and may contain confidential and/or privileged information. If you have received this e-mail in error, please notify the sender and delete the e-mail. If you are not the intended recipient, you are hereby notified, that saving, distribution or use of the content of this e-mail in any way is prohibited. We use updated virus protection software. We do not accept any responsibility for damages caused anyhow by viruses transmitted via e-mail. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Images to large at PDF Export
Hi, We're just verifying XWiki Enterprise as a base to a corporate InfoCenter. Virtual Wikis are really fine to separate global infos from division infos. To make some infos viewable offline we want to use the PDF export function with hierarchical output via macro. The problem seems to be that pictures (.jpg,...) are exported in a big scale - even exports from the site www.xwiki.org create large images. Is it possible to keep the size of pictures as is at PDF export - or scale them down to page-width? It would be nice to start each page of the hierarchy tree on a new page... Is the developer team working on any PDF related point? Best regards, Rudolf EISENMANN AG i. A. Rudolf Tronicek Postfach 1252 - 71085 Holzgerlingen Daimlerstraße 5 - 71088 Holzgerlingen Tel.: +49 7031 78 2909 Fax.: +49 7031 78 222909 E-Mail: [EMAIL PROTECTED] Internet: http://www.eisenmann.de _ Sitz: Böblingen, AG Stuttgart HRB 245891 USt.-IdNr.: DE 145 141 533 Vorstand: Dr. Matthias von Krauland (Sprecher), Dr. Thomas Beck, Günther Dingler Vorsitzender des Aufsichtsrates: Peter Eisenmann Diese E-Mail sowie etwaige Anlagen sind ausschließlich für den Adressaten bestimmt und können vertrauliche oder gesetzlich geschützte Informationen enthalten. Wenn Sie nicht der bestimmungsgemäße Empfänger sind, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Anderen als dem bestimmungsgemäßen Adressaten ist es untersagt, diese E-Mail zu speichern, weiterzuleiten oder ihren Inhalt, auf welche Weise auch immer, zu verwenden. Wir verwenden aktuelle Virenschutzprogramme. Für Schäden, die dem Empfänger gleichwohl durch von uns zugesandte, mit Viren befallene E-Mails entstehen, schließen wir jede Haftung aus. The information contained in this e-mail or attachments is intended only for its addressee and may contain confidential and/or privileged information. If you have received this e-mail in error, please notify the sender and delete the e-mail. If you are not the intended recipient, you are hereby notified, that saving, distribution or use of the content of this e-mail in any way is prohibited. We use updated virus protection software. We do not accept any responsibility for damages caused anyhow by viruses transmitted via e-mail. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users