Re: [xwiki-users] Import of XAR: Java Heap Space Out Of Memory Exception in 1.2
Hi all, I'm trying to upgrade XWiki from 1.0 to 1.2. The problem comes when I want to import my .xar file (6Mb) and get a Java Heap Space Out Of Memory Exception. I've checked your admin page http://www.xwiki.org/xwiki/bin/view/FAQ/Howtoincreasethemaximumattachmentsize and it looks like for my problem (file 10Mb), only MySQL should be changed. So I've changed the max_allowed_packet parameter but the problem still occurs. I don't have anything in Tomcat or MySQL logs, which is a bit strange. The only trace I get is the one bellow. It looks like Lucene breaks because of the file upload not working. Any idea ? How could I get more details in the log ? Thanks, Antonio [http://localhost:8080/xwiki/bin/upload/XWiki/Import] [http-8080-Processor25] ERROR lucene.IndexUpdater - invalid parameters given to add: XWiki.Import, null, {grouplist={xwiki:XWiki.XWikiGuest=[], xwiki:xwiki:XWiki.XWikiGuest=[]}, fileuploadlist=[name=null, StoreLocation=D:\Servers\Tomcat\apache- tomcat-5.5.23\temp\upload_662feb76_117990b87e0__8000_.tmp, size=77bytes, isFormField=true , FieldName=xredirect, name=null, StoreLocation=D:\Servers\Tomcat\apache- tomcat-5.5.23\temp\upload_662feb76_117990b87e0__8000_0001.tmp, size=20bytes, isFormField=true, FieldName=filename, name= Backup2008-01-20.xar , StoreLocation=D:\Servers\Tomcat\apache- tomcat-5.5.23\temp\upl oad_662feb76_117990b87e0__8000_0002.tmp, size=6639095bytes, isFormField=false, FieldName=filepath], msg=com.xpn.xwiki.web.XWikiMessageTo [EMAIL PROTECTED], [EMAIL PROTECTED], baseskin=albatross, tdoc= XWiki.Import, ajax=false, locale=fr, doc=XWiki.Import, mainxwiki=x wiki, skin=albatross, message=javaheapspace, [EMAIL PROTECTED], vcontext=org.apache.v [EMAIL PROTECTED] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Admin's ability to reset user passwords
Hi Devs, Admin user should really be able to reset a user's password in the event that the user forgets their password (like with any other system). Something like a link for admin users simply called set temporary password that requires the user to change their password when they use this password would be perfect. Not really sure it's a bug, as you can -can- do this by editing objects directly, it's just not user friendly that way. Brandon Esbach Software Engineer Wireless Systems Segment Tyco Electronics 4 Eastgate Road Eastgate Little Island Co. Cork Ireland Tel: +353-21-4808305 Email: [EMAIL PROTECTED] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Admin's ability to reset user passwords
Hi Brandon, On Jan 21, 2008, at 12:56 PM, Esbach, Brandon wrote: Hi Devs, Admin user should really be able to reset a user's password in the event that the user forgets their password (like with any other system). Something like a link for admin users simply called set temporary password that requires the user to change their password when they use this password would be perfect. Not really sure it's a bug, as you can -can- do this by editing objects directly, it's just not user friendly that way. It's simply that there's no direct UI for it but it's certainly supported. Since it's an admin thing, the UI is not that important though since an Admin knows how to edit objects. That said, I agree that a UI option would be nicer. Feel free to create a jira issue for it and submit a patch. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] change parent
Hi all, I create a page to change the parent to a chosen page using: #set ($mydoc = $xwiki.getDocument(some.page)) $mydoc.setParent($targetdoc) $mydoc.save() It works but in the tree page I see the changed page into its original tree location. What is my fault ?? Thanks Raffo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] move page
Hi all, how can I move a page from a space to another space? Is it possible changing the parent of that page? Thanks Raffo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Comments and attachments in a xwiki page
On Jan 21, 2008, at 7:09 PM, Sachn Mittal wrote: Thanks for the link. I meant was that there is a panel named Shortcuts which has both Comments and Attachments section that can be placed either on left or right. If we had a bottom layout then we could have placed it there too. But placing panels in a bottom layout doesn't mean much IMO. Panels are not meant to have a reduced vertical size. I think what you wanted is not Panels in the current sense but extension points in the skin to be able to add/modify content anywhere. This is the UI extension design we've been discussing for some time on the dev mailing list. It's planned for the future but no hard date has been set. BTW you could still achieve this right today using some javascript. Exactly like what is done by Greasemonkey (http://en.wikipedia.org/wiki/Greasemonkey ). Of course it's even easier to just modify the skin... ;) Thanks -Vincent Anyway we can still achieve all this with current infrastructure too. Sachin vmassol wrote: Another thing I notice is that Comments and attachments section is part of a panel in the panel application. I don't understand what you mean here. So one can always add it to left or right pane, thus it does not make much sense to have it (by default) below every page. Lastly I see that in panels application we can configure the left and right panes. There should also be an option to configure top and bottom so as to complete a border layout. Thus tomorrow we can move this comments and attachments section in the bottom (for whatever spaces we need). Today this is done by the skin which provides a header and footer that you can customize... ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] copy the rigths
How can I copy automatically the rights, set on a page, to another page? Thanks raffo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Access SyndFeed object
Hallo, I tried to include an external feed to my page. My feed XML looks like this: rss version=2.0 channel titleTeamwebsite: SPO/title linkhttp://davm/SPO/Forms/AllItems.aspx/link descriptionRSS-Feed für die Liste 'SPO'./description lastBuildDateSat, 05 Jan 2008 10:50:22 GMT/lastBuildDate generatorWindows SharePoint Services V3 RSS Generator/generator ttl60/ttl image titleTeamwebsite: SPO/title url/_layouts/images/homepage.gif/url linkhttp://davm/SPO/Forms/AllItems.aspx/link /image item titleWiki-Seite mit Kalender/title linkhttp://davm/SPO/Forms/DispForm.aspx?ID=1/link description![CDATA[divGeändert: 05.01.2008 11:46/divdivGeändert von: WSS\administrator/divdivTitel: Screenshot/div]]/description authorWSS\administrator/author pubDateWed, 21 Nov 2007 16:03:06 GMT/pubDate guid isPermaLink=truehttp://davm/SPO/Forms/DispForm.aspx?ID=1/guid /item /channel /rss I include my feed like this: #set($myfeed=$xwiki.feed.getFeed(http://irrlichter.net/listfeed.xml;)) That just works and I'm able to access title and link like this: ${myfeed.getTitle()} -- Teamwebsite: SPO ${myfeed.getLink()}-- http://davm/SPO/Forms/AllItems.aspx But how do I access specific nodes like lastBuildDate? I hope someone could help me. Christoph -- View this message in context: http://www.nabble.com/Access-SyndFeed-object-tp15002046p15002046.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] Comments and attachments in a xwiki page
yes currently I am modifying the skin. The extension you have talked about would also work once released. Thanks Sachin vmassol wrote: Thanks for the link. I meant was that there is a panel named Shortcuts which has both Comments and Attachments section that can be placed either on left or right. If we had a bottom layout then we could have placed it there too. But placing panels in a bottom layout doesn't mean much IMO. Panels are not meant to have a reduced vertical size. I think what you wanted is not Panels in the current sense but extension points in the skin to be able to add/modify content anywhere. This is the UI extension design we've been discussing for some time on the dev mailing list. It's planned for the future but no hard date has been set. BTW you could still achieve this right today using some javascript. Exactly like what is done by Greasemonkey (http://en.wikipedia.org/wiki/Greasemonkey ). Of course it's even easier to just modify the skin... ;) Thanks -Vincent -- View this message in context: http://www.nabble.com/Comments-and-attachments-in-a-xwiki-page-tp14949795p15003473.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] [XEM 1.0M3] Fail to instanciate default wiki template
Hello, I'm trying the XEM locally on my computer, over a XWiki instance : - replaced the .war content in web server - added all possible rights I could think about to 'xwiki' mysql user ;) (I also tried directly with 'root' user) - imported completely the XEM default .xar Wiki creation seems to work as long as new domain is defined in /etc/host, but I fail to add the default template, from page XemManager.Install, and so newly created wikis are empty ... [Logs] Com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences Wrapped Exception: could not load an entity: [com.xpn.xwiki.doc.XWikiDocument#104408758] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore .java:469) [...] Wrapped Exception: java.sql.SQLException: Table 'templatexe.xwikidoc' doesn't exist at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2847) [...] [/Logs] After looking at the mysql db, schema 'templatexe' has been created, but remains empty ... Thanks for your help, Jeremie. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [XEM 1.0M3] Referencing base skin in virtual wikis
Hello, I would like to reference the same and unique skin from the 'controller' wiki (named 'xwiki'), in all my virtual wikis, but it seems that in preferences page, the notation 'xwiki:XWiki.MySkin' does not work ... Is this possible ? Thanks, Jeremie ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] copy the rigths
How can I copy automatically the rights, set on a page, to another page? something like #set($sourceDoc=$xwiki.getDocument(YourSpace.YourSourceDoc)) #set($targetDoc=$xwiki.getDocument(YourSpace.YourTargetDoc)) #foreach($right in $sourceDoc.getObjects(XWiki.XWikiRights)) #set($entry=$targetDoc.newObject(XWiki.XWikiRights)) $entry.set(groups,$right.get(groups)) $entry.set(userss,$right.get(users)) $entry.set(levels,$right.get(level)) $entry.set(allow,$right.get(allow)) #end ## Here same loop replacing XWiki.XWikiRights by XWiki.XWikiGlobalRights $targetDoc.save() (not tested) Regards, Jerome. Thanks raffo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [XEM 1.0M3] Referencing base skin in virtual wikis
On Jan 21, 2008, at 8:01 PM, BOUSQUET Jeremie wrote: Hello, I would like to reference the same and unique skin from the ‘controller’ wiki (named ‘xwiki’), in all my virtual wikis, but it seems that in preferences page, the notation ‘xwiki:XWiki.MySkin’ does not work … It does if you use XE 1.2 (it's been fixed in one of he milestones/RC). Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [XEM 1.0M3] Referencing base skin in virtual wikis
On Jan 21, 2008, at 8:01 PM, BOUSQUET Jeremie wrote: Hello, I would like to reference the same and unique skin from the controller wiki (named xwiki), in all my virtual wikis, but it seems that in preferences page, the notation xwiki:XWiki.MySkin does not work It does if you use XE 1.2 (it's been fixed in one of he milestones/RC). I think it should also work in 1.1.X (I'm doing this). What I'm sure do not work without a fix in 1.1 is the wiki-prefixed panel inclusion. Are the users from the sub-wikis allowed to view the skin ? Regards, Jerome Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] change parent
Hi, just my guess: you're changing the parent of the page, not the page location. So the URL to access the page will be the same, even if the parent-page has been changed. Everyone's welcome to correct me if I'm wrong. Vito Raffaele Viola wrote: Hi all, I create a page to change the parent to a chosen page using: #set ($mydoc = $xwiki.getDocument(some.page)) $mydoc.setParent($targetdoc) $mydoc.save() It works but in the tree page I see the changed page into its original tree location. What is my fault ?? Thanks Raffo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Vitantonio Messa +358 46 889 48 49 - [EMAIL PROTECTED] COSS - The Finnish Centre for Open Source Solutions @ Technology Centre Hermia Ltd. Hermiankatu 1, FIN-33720 Tampere, FINLAND ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users