Re: [xwiki-users] ERROR [BaseCollection] Failed to get class [internal] from wiki [...]
Same here with 1.8.4 ;) It does not seem to be a problem, except that it makes logs grow. -- View this message in context: http://n2.nabble.com/ERROR--BaseCollection--Failed-to-get-class--internal--from-wiki--...--tp2632698p2974471.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] [Mac OS X 10.5.7, PostgreSQL 8.3.7, Java 1.5.0_16, Tomcat 6.0.18] Xwiki WAR running in a Tomcat container started as a daemon
Hi, Following the instructions given at http://www.malisphoto.com/tips/tomcatonosx.html , I was able to get my Tomcat container started as daemon. I already put the Xwiki WAR file in the 'webapps' directory. Pointing the browser to http://localhost:8080/xwiki only gave me a blank page. Nothing on it. However manually starting Tomcat brings me back the correct behavior (the well known Xwiki starting page). In the daemon mode, the others contexts (like 'manager', 'examples') work. Only the Xwiki one did not. What am I doing wrong? Does anyone already have some experience with a Xwiki in a daemon started Tomcat container? Attached, you will find the 'jsvc' processes started and 'catalina.out'. Tell me if you need more information. Many thanks for you help, christian [10:05 localad...@christianr] ps -ef | grep java 0 723 1 0 0:00.00 ?? 0:00.00 /Library/Tomcat/Home/bin/jsvc -user root -home /Library/Java/Home -Dcatalina.home=/Library/Tomcat/Home -Dcatalina.base=/Library/Tomcat/Home -Djava.io.tmpdir=/var/tmp -wait 10 -pidfile /var/run/jsvc.pid -outfile /Library/Tomcat/Home/logs/catalina.out -errfile 1 -cp /Library/Java/Home/lib/tools.jar:/Library/Tomcat/Home/bin/commons-daemon.jar:/Library/Tomcat/Home/bin/bootstrap.jar org.apache.catalina.startup.Bootstrap 0 724 723 0 0:00.24 ?? 0:02.60 /Library/Tomcat/Home/bin/jsvc -user root -home /Library/Java/Home -Dcatalina.home=/Library/Tomcat/Home -Dcatalina.base=/Library/Tomcat/Home -Djava.io.tmpdir=/var/tmp -wait 10 -pidfile /var/run/jsvc.pid -outfile /Library/Tomcat/Home/logs/catalina.out -errfile 1 -cp /Library/Java/Home/lib/tools.jar:/Library/Tomcat/Home/bin/commons-daemon.jar:/Library/Tomcat/Home/bin/bootstrap.jar org.apache.catalina.startup.Bootstrap 502 727 466 0 0:00.00 ttys0000:00.00 grep java ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Migrating articles into xwiki
Hi, Would this work with objects? Say we have an addressbook (e.g. in XML format). If I create a class ContactPerson in XWiki, can I populate XWiki with instances of contact objects (1 per page)? Thanks, Marc -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Guillaume Lerouge Sent: February 14, 2009 12:56 PM To: XWiki Users Subject: Re: [xwiki-users] Migrating articles into xwiki Hi, XWiki Pages are stored as XML files. You can look at the XML representation of a standard XWiki pages (export as XAR, rename to ZIP, unzip, look inside the folder). Then try to find which XWL fields from your original XML format could be converted into XWiki document fields (especially web, name, title, creation date and content). Once you've decided which mapping to use, write and launch your XSLT script. Then you'll have a bunch of XWiki pages as XML. Look at the output of a XWiki XAR export to see what the description file looks like and write one with the name of your pages inside. Put everything into a folder, zip it, rename it to .xar, try importing it. If the import fails, try splitting it into a number of smaller XARs. Hope this helps, Guillaume On Sat, Feb 14, 2009 at 12:10 PM, Gerritjan Koekkoek gerritjankoekk...@gmail.com wrote: Hi. We have a repository of articles (our Old CMS) we would like to import into xwiki automatically. These Articles are in a propietary XML format, one XML file per article. What would be the best approach? We have ability to restructure/transform xml into another xml by means of xslt. Which approaches could we research? Gerritjan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Guillaume Lerouge Product Manager - XWiki Skype ID : wikibc http://guillaumelerouge.com/ ___ 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] [Mac OS X 10.5.7, PostgreSQL 8.3.7, Java 1.5.0_16, Tomcat 6.0.18] Xwiki WAR running in a Tomcat container started as a daemon
Hi Christian, Following the instructions given at http://www.malisphoto.com/tips/tomcatonosx.html, I was able to get my Tomcat container started as daemon. I already put the Xwiki WAR file in the 'webapps' directory. Pointing the browser to http://localhost:8080/xwiki only gave me a blank page. Nothing on it. However manually starting Tomcat brings me back the correct behavior (the well known Xwiki starting page). In the daemon mode, the others contexts (like 'manager', 'examples') work. Only the Xwiki one did not. What am I doing wrong? Does anyone already have some experience with a Xwiki in a daemon started Tomcat container? Attached, you will find the 'jsvc' processes started and 'catalina.out'. Tell me if you need more information. I can just confirm this behaviour and share with you a couple of messages that John Malis (jma...@malisphoto.com) sent to me last October 2008 on this issue. I've not been able to work on this issue since then. I do hope they could be useful for you! * 6/10/08 20:48 Hello Ricardo, I just use the admin id since I just use OS X for development. When you create and unpack the tomcat executables as admin, everything will have read/write access and admin ownership with read/write access. You can set up your own system id specifically for Tomcat. Look at the mysql instructions on how to do it. Just give ownership to that id to everything in the Tomcat directory and make sure the owner has read/write access to everything. (chown -R). Maybe give admin group or admin id to the Tomcat directory group permissions (chgrp -R). John * * 6/10/08 20:51 One more thing. I forgot that if you want to run tomcat under an id other than your own, I believe you will have to use jsvc to boot tomcat. Jon * Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Migrating articles into xwiki
Hi Marc, On Wed, May 27, 2009 at 12:21 AM, Lijour, Marc (EDU) marc.lij...@ontario.ca wrote: Hi, Would this work with objects? Definitely. See below. Say we have an addressbook (e.g. in XML format). If I create a class ContactPerson in XWiki, can I populate XWiki with instances of contact objects (1 per page)? A XWiki page with objects has an XML representation (see http://www.xwiki.org/xwiki/bin/view/Blog/XWikiEnterprise19RC1Released?xpage=xmlfor a live example). As you can see, you've got an object tag with subtags in it (I removed some parts of the XML file in the example below for clarity) : object class nameXWiki.ArticleClass/name − nameBlog.XWikiEnterprise19RC1Released/name number0/number classNameXWiki.ArticleClass/className guid89206df0-9f99-4eab-97dc-3628c27e9105/guid − content The XWiki development team is pleased to announce the release of XWiki Enterprise 1.9 Release Candidate 1. First release candidate of the XWiki Enterprise 1.9 version. ... /content where class tells you to which class the object belongs (a blog post in this case) and content defines one of the object's properties' content (in this case the text of the blog article). The easierst way to achieve your aim would be to create an AddressBookContact class from the wiki interface, then create an instance of this class (an object with dummy values) and view it as XML (append ?xpage=xml at the end of your page) - you'll have the default fields of your class. Then you can define how you want to map xml files from your original address book to the XWiki one (if you defined your class according to the original XML file it will be easy) and use XSLT to go from one file to the next. Please note that it's better to create one new document for each object (one object per document) for scalability purposes, thus you would also have to map document metadata (such as document title, author etc...). Once you've generated all your pages, you can write a package.xml file to list them, zip everything together, rename it as .xar and upload it to your wiki (a XAR file is only a renamed ZIP file). Obviously you could also use the XML / RPC API to do all this... A nice additional thing you might want to do is to use XWiki's new livetable to display contacts from the address book afterwards ;-) If you come up with such an application we'll be happy to see it on code.xwiki.org Hope this helps, Guillaume Thanks, Marc -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Guillaume Lerouge Sent: February 14, 2009 12:56 PM To: XWiki Users Subject: Re: [xwiki-users] Migrating articles into xwiki Hi, XWiki Pages are stored as XML files. You can look at the XML representation of a standard XWiki pages (export as XAR, rename to ZIP, unzip, look inside the folder). Then try to find which XWL fields from your original XML format could be converted into XWiki document fields (especially web, name, title, creation date and content). Once you've decided which mapping to use, write and launch your XSLT script. Then you'll have a bunch of XWiki pages as XML. Look at the output of a XWiki XAR export to see what the description file looks like and write one with the name of your pages inside. Put everything into a folder, zip it, rename it to .xar, try importing it. If the import fails, try splitting it into a number of smaller XARs. Hope this helps, Guillaume On Sat, Feb 14, 2009 at 12:10 PM, Gerritjan Koekkoek gerritjankoekk...@gmail.com wrote: Hi. We have a repository of articles (our Old CMS) we would like to import into xwiki automatically. These Articles are in a propietary XML format, one XML file per article. What would be the best approach? We have ability to restructure/transform xml into another xml by means of xslt. Which approaches could we research? Gerritjan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Guillaume Lerouge Product Manager - XWiki Skype ID : wikibc http://guillaumelerouge.com/ ___ 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 -- Guillaume Lerouge Product Manager - XWiki Skype ID : wikibc http://guillaumelerouge.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Migrating articles into xwiki
Merci Guillaume! -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Guillaume Lerouge Sent: May 26, 2009 6:39 PM To: XWiki Users Subject: Re: [xwiki-users] Migrating articles into xwiki Hi Marc, On Wed, May 27, 2009 at 12:21 AM, Lijour, Marc (EDU) marc.lij...@ontario.ca wrote: Hi, Would this work with objects? Definitely. See below. Say we have an addressbook (e.g. in XML format). If I create a class ContactPerson in XWiki, can I populate XWiki with instances of contact objects (1 per page)? A XWiki page with objects has an XML representation (see http://www.xwiki.org/xwiki/bin/view/Blog/XWikiEnterprise19RC1R eleased?xpage=xmlfor a live example). As you can see, you've got an object tag with subtags in it (I removed some parts of the XML file in the example below for clarity) : object class nameXWiki.ArticleClass/name − nameBlog.XWikiEnterprise19RC1Released/name number0/number classNameXWiki.ArticleClass/className guid89206df0-9f99-4eab-97dc-3628c27e9105/guid − content The XWiki development team is pleased to announce the release of XWiki Enterprise 1.9 Release Candidate 1. First release candidate of the XWiki Enterprise 1.9 version. ... /content where class tells you to which class the object belongs (a blog post in this case) and content defines one of the object's properties' content (in this case the text of the blog article). The easierst way to achieve your aim would be to create an AddressBookContact class from the wiki interface, then create an instance of this class (an object with dummy values) and view it as XML (append ?xpage=xml at the end of your page) - you'll have the default fields of your class. Then you can define how you want to map xml files from your original address book to the XWiki one (if you defined your class according to the original XML file it will be easy) and use XSLT to go from one file to the next. Please note that it's better to create one new document for each object (one object per document) for scalability purposes, thus you would also have to map document metadata (such as document title, author etc...). Once you've generated all your pages, you can write a package.xml file to list them, zip everything together, rename it as .xar and upload it to your wiki (a XAR file is only a renamed ZIP file). Obviously you could also use the XML / RPC API to do all this... A nice additional thing you might want to do is to use XWiki's new livetable to display contacts from the address book afterwards ;-) If you come up with such an application we'll be happy to see it on code.xwiki.org Hope this helps, Guillaume Thanks, Marc -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Guillaume Lerouge Sent: February 14, 2009 12:56 PM To: XWiki Users Subject: Re: [xwiki-users] Migrating articles into xwiki Hi, XWiki Pages are stored as XML files. You can look at the XML representation of a standard XWiki pages (export as XAR, rename to ZIP, unzip, look inside the folder). Then try to find which XWL fields from your original XML format could be converted into XWiki document fields (especially web, name, title, creation date and content). Once you've decided which mapping to use, write and launch your XSLT script. Then you'll have a bunch of XWiki pages as XML. Look at the output of a XWiki XAR export to see what the description file looks like and write one with the name of your pages inside. Put everything into a folder, zip it, rename it to .xar, try importing it. If the import fails, try splitting it into a number of smaller XARs. Hope this helps, Guillaume On Sat, Feb 14, 2009 at 12:10 PM, Gerritjan Koekkoek gerritjankoekk...@gmail.com wrote: Hi. We have a repository of articles (our Old CMS) we would like to import into xwiki automatically. These Articles are in a propietary XML format, one XML file per article. What would be the best approach? We have ability to restructure/transform xml into another xml by means of xslt. Which approaches could we research? Gerritjan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Guillaume Lerouge Product Manager - XWiki Skype ID : wikibc http://guillaumelerouge.com/ ___ 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 -- Guillaume Lerouge Product Manager -
[xwiki-users] French accents do not display correctly
Hi, I have downloaded the current XWiki enterprise version (1.8.4.20192) for Windows XP (English setup for Windows XP). I use the stock xwiki.cfg and the only config I did in XWiki is that I made it unilingual with fr as the default language. I experiment issues with French accents everywhere (groups, page names) but inside the pages. I can write page content with French accents with my regular French keyboard, but when I try to create a group called for example Référents I have Référents instead of Référents. When I use the panel to create a new page called Référents then the URL is recoded http://localhost:8080/xwiki/bin/edit/XWiki/R%E9f%E9rents?template=parent=title=R%E9f%E9rents Any advice? Thanks, Marc Lijour ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] French accents do not display correctly
Solved by switching XWiki to UTF8 #xwiki.encoding=ISO-8859-1 xwiki.encoding=UTF8 -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Lijour, Marc (EDU) Sent: May 26, 2009 8:38 PM To: XWiki Users Subject: [xwiki-users] French accents do not display correctly Hi, I have downloaded the current XWiki enterprise version (1.8.4.20192) for Windows XP (English setup for Windows XP). I use the stock xwiki.cfg and the only config I did in XWiki is that I made it unilingual with fr as the default language. I experiment issues with French accents everywhere (groups, page names) but inside the pages. I can write page content with French accents with my regular French keyboard, but when I try to create a group called for example Référents I have Référents instead of Référents. When I use the panel to create a new page called Référents then the URL is recoded http://localhost:8080/xwiki/bin/edit/XWiki/R%E9f%E9rents?templ ate=parent=title=R%E9f%E9rents Any advice? Thanks, Marc Lijour ___ 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