Re: [xwiki-users] Export from 1.7 and import in 1.8
Hi, Looks like your xar is invalid, are you able to open it (rename it to *.zip) ? On Wed, Mar 25, 2009 at 18:46, Hernández Cuchí, Francisco Ricardo francisco.hernan...@oepm.es wrote: Want to show this from the console: .XWikiAction - Uncaught exception: Error number 11015 in 11: Exception while importing Wrapped Exception: Unexpected end of ZLIB input stream com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while importin g Wrapped Exception: Unexpected end of ZLIB input stream ... It's a file of 10 megs regards De: Hernández Cuchí, Francisco Ricardo Enviado el: miércoles, 25 de marzo de 2009 17:38 Para: 'XWiki Users' Asunto: Export from 1.7 and import in 1.8 Hello everybody, I create an export xar from xwiki 1.7, and when i try to import i tinto 1.8, I receive that there are no documents in the file. I receive the message that there are no documents in the specified file. Any suggestion? Thanks in advance, Francisco -- Francisco Hernández Cuchí Jefe de Servicios Sistemas de Información tlf: 913496844 mail: francisco.hernan...@oepm.es mailto:francisco.hernan...@oepm.es ** IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente para el destinatario/s. Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el emisor immediatamente y no difunda su contenido a nadie ni haga copias. *** Este correo ha sido escaneado de virus y contenido malicioso *** ** ___ 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
Re: [xwiki-users] Export from 1.7 and import in 1.8
You are right, I cannot open it (using 7zip). But I rememeber I was able to import earlier backups in other xwiki 1.7. ¿Is there any way to send all that I have in xwiki1.7 into 1.8? or to see what is corrupting the compressed file. Or to make a selective export of spaces? Thanks, Francisco -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Thomas Mortagne Enviado el: jueves, 26 de marzo de 2009 9:34 Para: XWiki Users Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8 Hi, Looks like your xar is invalid, are you able to open it (rename it to *.zip) ? On Wed, Mar 25, 2009 at 18:46, Hernández Cuchí, Francisco Ricardo francisco.hernan...@oepm.es wrote: Want to show this from the console: .XWikiAction - Uncaught exception: Error number 11015 in 11: Exception while importing Wrapped Exception: Unexpected end of ZLIB input stream com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while importin g Wrapped Exception: Unexpected end of ZLIB input stream ... It's a file of 10 megs regards De: Hernández Cuchí, Francisco Ricardo Enviado el: miércoles, 25 de marzo de 2009 17:38 Para: 'XWiki Users' Asunto: Export from 1.7 and import in 1.8 Hello everybody, I create an export xar from xwiki 1.7, and when i try to import i tinto 1.8, I receive that there are no documents in the file. I receive the message that there are no documents in the specified file. Any suggestion? Thanks in advance, Francisco -- Francisco Hernández Cuchí Jefe de Servicios Sistemas de Información tlf: 913496844 mail: francisco.hernan...@oepm.es mailto:francisco.hernan...@oepm.es ** IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente para el destinatario/s. Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el emisor immediatamente y no difunda su contenido a nadie ni haga copias. *** Este correo ha sido escaneado de virus y contenido malicioso *** ** ___ 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 ** IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente para el destinatario/s. Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el emisor immediatamente y no difunda su contenido a nadie ni haga copias. *** Este correo ha sido escaneado de virus y contenido malicioso *** ** ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Error while parsing velocity page
Hi Cristina, On Tue, Mar 24, 2009 at 21:23, Cristina Williams crist...@isi.edu wrote: Hello again, Here's my info: Xwiki Enterprise 1.7.2 with multiple spaces. I just migrated this wiki from another organization that was using version 1.4.2 (in case that makes a difference in my question). Environment: centos 5.2/apache 2.2/tomcat 6/mysql 5.1 Yesterday, we encountered errors on various pages (though not all) like the following: Error number 4001 in 4: Error while parsing velocity page /templates/ xwikivars.vm Wrapped Exception: Failed to evaluate content with id [/ templates/xwikivars.vm] Error number 4001 in 4: Error while parsing velocity page /templates/ htmlheader.vm Wrapped Exception: Failed to evaluate content with id [/ templates/htmlheader.vm] All the errors had some mention in the stack trace of trying to do an operation on the database after it's been disconnected. So we changed the JDBC url specified in the xwiki hibernate config file (/usr/local/ tomcat/webapps/xwiki/WEB-INF/hibernate.cfg.xml) to add the autoReconnect=true attribute and restarted Tomcat. That did away with the errors and we thought it was fixed. Well it happened again today. Looks like xwiki is getting into some state in which things start failing, after being up for some period of time or getting some number of user requests or something. But we are having severe personnel issues - so don't have anyone who knows much about tomcat to help us debug. If anyone else has come across this it would be a big help. One possible thing I can think of - since it mentioned velocity templates - when i migrated the wiki, i installed the default XAR - then I imported the mysql dump - could this have overwritten the new templates? If so, is re-importing the default XAR advisable on a live wiki? IMO reimporting the database is not a good idea especially when you upgrade from a version where the database structure was not exactly the same. The safer way is generally to export the old wiki in a xar and then to import it in the new one. Or you start the new wiki the first time with the database already populated with the old one and it will upgrade it automatically but doing it after is wrong for sure, it means you are working with the old database and the new wiki think it already upgraded it. Thanks for any help, Cristina The following is a paste of the first error encountered (very long): Error number 4001 in 4: Error while parsing velocity page /templates/ menuview.vm Wrapped Exception: Failed to evaluate content with id [/ templates/menuview.vm] A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 3202 in 3: Exception while reading document BIRN-OTF-Public. NDAR-Autism-Modeling-Meetings-Minutes Wrapped Exception: could not load an entity: [com.xpn.xwiki.doc.XWikiDocument#-763803479] com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document BIRN-OTF-Public. NDAR-Autism-Modeli Wrapped Exception: could not load an entity: [com.xpn.xwiki.doc.XWikiDocument#-763803479] 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:1335) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1375) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4554) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org .apache .struts .action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org .apache.struts.action.RequestProcessor.process(RequestProcessor.java: 236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java: 1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 290) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com .xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com .xpn .xwiki .wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java: 145) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com .xpn .xwiki .web
Re: [xwiki-users] Export from 1.7 and import in 1.8
On Thu, Mar 26, 2009 at 09:44, Hernández Cuchí, Francisco Ricardo francisco.hernan...@oepm.es wrote: You are right, I cannot open it (using 7zip). But I rememeber I was able to import earlier backups in other xwiki 1.7. ¿Is there any way to send all that I have in xwiki1.7 into 1.8? or to see what is corrupting the compressed file. Or to make a selective export of spaces? Looks like the issue is the export from 1.7 which produce corrupted xar in your case. Do you have any error/warning in the log when you try to export xar from 1.7 wiki ? If you want to do selective export you can use http://code.xwiki.org/xwiki/bin/view/Applications/ImportExportApplication Thanks, Francisco -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Thomas Mortagne Enviado el: jueves, 26 de marzo de 2009 9:34 Para: XWiki Users Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8 Hi, Looks like your xar is invalid, are you able to open it (rename it to *.zip) ? On Wed, Mar 25, 2009 at 18:46, Hernández Cuchí, Francisco Ricardo francisco.hernan...@oepm.es wrote: Want to show this from the console: .XWikiAction - Uncaught exception: Error number 11015 in 11: Exception while importing Wrapped Exception: Unexpected end of ZLIB input stream com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while importin g Wrapped Exception: Unexpected end of ZLIB input stream ... It's a file of 10 megs regards De: Hernández Cuchí, Francisco Ricardo Enviado el: miércoles, 25 de marzo de 2009 17:38 Para: 'XWiki Users' Asunto: Export from 1.7 and import in 1.8 Hello everybody, I create an export xar from xwiki 1.7, and when i try to import i tinto 1.8, I receive that there are no documents in the file. I receive the message that there are no documents in the specified file. Any suggestion? Thanks in advance, Francisco -- Francisco Hernández Cuchí Jefe de Servicios Sistemas de Información tlf: 913496844 mail: francisco.hernan...@oepm.es mailto:francisco.hernan...@oepm.es ** IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente para el destinatario/s. Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el emisor immediatamente y no difunda su contenido a nadie ni haga copias. *** Este correo ha sido escaneado de virus y contenido malicioso *** ** ___ 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 ** IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente para el destinatario/s. Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el emisor immediatamente y no difunda su contenido a nadie ni haga copias. *** Este correo ha sido escaneado de virus y contenido malicioso *** ** ___ 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
Re: [xwiki-users] Problems while registring users / using dot in usernames
Hi Cristi, On Tue, Mar 24, 2009 at 11:41, Cristi cristian...@yahoo.com wrote: Hello, I have seen that if I am using the register user popup (click on Add User from the Users screen), and if there is some kind of validation error on one of the fields I have just entered, the popup just dissapears (without displaying any error message). Accessing the following link (non popup) works http://csp1:8080/xwiki/bin/register/XWiki/Register. I don't think that this behavior is normal. 2nd question: is there a way to use dots (.) in the username? For the moment we are using XWiki for testing, but when we'll switch to LDAP authentication, we'll have all of our usernames with dots. I didn't look for a documentation regarding LDAP, but I think the LDAP support is integrated within XWiki. In XWiki, users are wiki page (with the page name being the user uid) and XWiki does not support dot in wiki pages names yet. That say, the LDAP authenticator specifically take care of this and automatically convert dots when access user wiki profile to create or upgrade it. And the authentication itself is done on LDAP server which does not has any issue with dots obviously ;) So XWiki default authentication does not support dots but the LDAP authentication does. Thanks in advance, Best regards, Cristi. -- View this message in context: http://n2.nabble.com/Problems-while-registring-users---using-dot-in-usernames-tp2525826p2525826.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
Re: [xwiki-users] Export from 1.7 and import in 1.8
You are right I get this: Wrapped Exception: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder. java:100) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390 ) at java.lang.StringBuffer.append(StringBuffer.java:224) at java.io.StringWriter.write(StringWriter.java:84) at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:962) at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136) at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954) at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136) at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954) at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) at org.dom4j.io.XMLWriter.write(XMLWriter.java:344) at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:2261) at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:2313) at com.xpn.xwiki.plugin.packaging.Package.addToZip(Package.java:887) at com.xpn.xwiki.plugin.packaging.Package.export(Package.java:332) at com.xpn.xwiki.plugin.packaging.PackageAPI.export(PackageAPI.java:194) at com.xpn.xwiki.plugin.packaging.PackageAPI.backupWiki(PackageAPI.java: 215) at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:264) How can I solve it? -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Thomas Mortagne Enviado el: jueves, 26 de marzo de 2009 9:49 Para: XWiki Users Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8 On Thu, Mar 26, 2009 at 09:44, Hernández Cuchí, Francisco Ricardo francisco.hernan...@oepm.es wrote: You are right, I cannot open it (using 7zip). But I rememeber I was able to import earlier backups in other xwiki 1.7. ¿Is there any way to send all that I have in xwiki1.7 into 1.8? or to see what is corrupting the compressed file. Or to make a selective export of spaces? Looks like the issue is the export from 1.7 which produce corrupted xar in your case. Do you have any error/warning in the log when you try to export xar from 1.7 wiki ? If you want to do selective export you can use http://code.xwiki.org/xwiki/bin/view/Applications/ImportExportApplication Thanks, Francisco -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Thomas Mortagne Enviado el: jueves, 26 de marzo de 2009 9:34 Para: XWiki Users Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8 Hi, Looks like your xar is invalid, are you able to open it (rename it to *.zip) ? On Wed, Mar 25, 2009 at 18:46, Hernández Cuchí, Francisco Ricardo francisco.hernan...@oepm.es wrote: Want to show this from the console: .XWikiAction - Uncaught exception: Error number 11015 in 11: Exception while importing Wrapped Exception: Unexpected end of ZLIB input stream com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while importin g Wrapped Exception: Unexpected end of ZLIB input stream ... It's a file of 10 megs regards De: Hernández Cuchí, Francisco Ricardo Enviado el: miércoles, 25 de marzo de 2009 17:38 Para: 'XWiki Users' Asunto: Export from 1.7 and import in 1.8 Hello everybody, I create an export xar from xwiki 1.7, and when i try to import i tinto 1.8, I receive that there are no documents in the file. I receive the message that there are no documents in the specified file. Any suggestion? Thanks in advance, Francisco -- Francisco Hernández Cuchí Jefe de Servicios Sistemas de Información tlf: 913496844 mail: francisco.hernan...@oepm.es mailto:francisco.hernan...@oepm.es ** IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente para el destinatario/s. Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el emisor immediatamente y no difunda su contenido a nadie ni haga copias. *** Este correo ha sido escaneado de virus y contenido malicioso *** ** ___ 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 **
Re: [xwiki-users] Export from 1.7 and import in 1.8
Hi I think you have to change JAVA_OPTS in the script to start the server. In my case i replaced set JAVA_OPTS=-Xmx300m with set JAVA_OPTS=-Xmx512m to allocate 512M for the java process Christophe -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Hernández Cuchí, Francisco Ricardo Envoyé : jeudi 26 mars 2009 14:01 À : XWiki Users Objet : Re: [xwiki-users] Export from 1.7 and import in 1.8 You are right I get this: Wrapped Exception: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder. java:100) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390 ) at java.lang.StringBuffer.append(StringBuffer.java:224) at java.io.StringWriter.write(StringWriter.java:84) at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:962) at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136) at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954) at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136) at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954) at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) at org.dom4j.io.XMLWriter.write(XMLWriter.java:344) at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:2261) at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:2313) at com.xpn.xwiki.plugin.packaging.Package.addToZip(Package.java:887) at com.xpn.xwiki.plugin.packaging.Package.export(Package.java:332) at com.xpn.xwiki.plugin.packaging.PackageAPI.export(PackageAPI.java:194) at com.xpn.xwiki.plugin.packaging.PackageAPI.backupWiki(PackageAPI.java: 215) at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:264) How can I solve it? -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Thomas Mortagne Enviado el: jueves, 26 de marzo de 2009 9:49 Para: XWiki Users Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8 On Thu, Mar 26, 2009 at 09:44, Hernández Cuchí, Francisco Ricardo francisco.hernan...@oepm.es wrote: You are right, I cannot open it (using 7zip). But I rememeber I was able to import earlier backups in other xwiki 1.7. ¿Is there any way to send all that I have in xwiki1.7 into 1.8? or to see what is corrupting the compressed file. Or to make a selective export of spaces? Looks like the issue is the export from 1.7 which produce corrupted xar in your case. Do you have any error/warning in the log when you try to export xar from 1.7 wiki ? If you want to do selective export you can use http://code.xwiki.org/xwiki/bin/view/Applications/ImportExportApplication Thanks, Francisco -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Thomas Mortagne Enviado el: jueves, 26 de marzo de 2009 9:34 Para: XWiki Users Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8 Hi, Looks like your xar is invalid, are you able to open it (rename it to *.zip) ? On Wed, Mar 25, 2009 at 18:46, Hernández Cuchí, Francisco Ricardo francisco.hernan...@oepm.es wrote: Want to show this from the console: .XWikiAction - Uncaught exception: Error number 11015 in 11: Exception while importing Wrapped Exception: Unexpected end of ZLIB input stream com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while importin g Wrapped Exception: Unexpected end of ZLIB input stream ... It's a file of 10 megs regards De: Hernández Cuchí, Francisco Ricardo Enviado el: miércoles, 25 de marzo de 2009 17:38 Para: 'XWiki Users' Asunto: Export from 1.7 and import in 1.8 Hello everybody, I create an export xar from xwiki 1.7, and when i try to import i tinto 1.8, I receive that there are no documents in the file. I receive the message that there are no documents in the specified file. Any suggestion? Thanks in advance, Francisco -- Francisco Hernández Cuchí Jefe de Servicios Sistemas de Información tlf: 913496844 mail: francisco.hernan...@oepm.es mailto:francisco.hernan...@oepm.es ** IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente para el destinatario/s. Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el emisor immediatamente y no difunda su contenido a nadie ni haga copias. *** Este correo ha sido escaneado de virus y contenido malicioso ***
[xwiki-users] captcha
Dear All My user has got back to me to say he would like a captcha text field added to his registration form. Is this possible, and could you please point me in the right direction. Many thanks Edward ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Import/Export application
Hello, I download the ImportExport Application (1.3) in one of my virtual wiki. When i go in the export page and select a space nothing happens (only the message Start by choosing a space to list documents in the lower cell disepears) I tried to look at the code but with no success. I added an instruction alert(res.transport.responseText); in showDocs function and the content is only set to the xml header. The readyStatus is set to 4 and the status is set to 200 so everything seems to be ok. If i call the page in another windows with right parameters (action=getdocsspacename=Blogxpage=rdf), IE 6.0 displays a nice XML file with all pages in the space in a value tag I can't find out why the XML flow is empty (and so makes the export page not working) Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.8-rc2 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Export from 1.7 and import in 1.8
Yes, as Christophe said you need to give enough memory to XWiki especially if you have lot's of document in the database. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HMemory for more details. On Thu, Mar 26, 2009 at 14:08, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Hi I think you have to change JAVA_OPTS in the script to start the server. In my case i replaced set JAVA_OPTS=-Xmx300m with set JAVA_OPTS=-Xmx512m to allocate 512M for the java process Christophe -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Hernández Cuchí, Francisco Ricardo Envoyé : jeudi 26 mars 2009 14:01 À : XWiki Users Objet : Re: [xwiki-users] Export from 1.7 and import in 1.8 You are right I get this: Wrapped Exception: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder. java:100) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390 ) at java.lang.StringBuffer.append(StringBuffer.java:224) at java.io.StringWriter.write(StringWriter.java:84) at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:962) at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136) at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954) at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136) at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954) at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) at org.dom4j.io.XMLWriter.write(XMLWriter.java:344) at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:2261) at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:2313) at com.xpn.xwiki.plugin.packaging.Package.addToZip(Package.java:887) at com.xpn.xwiki.plugin.packaging.Package.export(Package.java:332) at com.xpn.xwiki.plugin.packaging.PackageAPI.export(PackageAPI.java:194) at com.xpn.xwiki.plugin.packaging.PackageAPI.backupWiki(PackageAPI.java: 215) at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:264) How can I solve it? -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Thomas Mortagne Enviado el: jueves, 26 de marzo de 2009 9:49 Para: XWiki Users Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8 On Thu, Mar 26, 2009 at 09:44, Hernández Cuchí, Francisco Ricardo francisco.hernan...@oepm.es wrote: You are right, I cannot open it (using 7zip). But I rememeber I was able to import earlier backups in other xwiki 1.7. ¿Is there any way to send all that I have in xwiki1.7 into 1.8? or to see what is corrupting the compressed file. Or to make a selective export of spaces? Looks like the issue is the export from 1.7 which produce corrupted xar in your case. Do you have any error/warning in the log when you try to export xar from 1.7 wiki ? If you want to do selective export you can use http://code.xwiki.org/xwiki/bin/view/Applications/ImportExportApplication Thanks, Francisco -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Thomas Mortagne Enviado el: jueves, 26 de marzo de 2009 9:34 Para: XWiki Users Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8 Hi, Looks like your xar is invalid, are you able to open it (rename it to *.zip) ? On Wed, Mar 25, 2009 at 18:46, Hernández Cuchí, Francisco Ricardo francisco.hernan...@oepm.es wrote: Want to show this from the console: .XWikiAction - Uncaught exception: Error number 11015 in 11: Exception while importing Wrapped Exception: Unexpected end of ZLIB input stream com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while importin g Wrapped Exception: Unexpected end of ZLIB input stream ... It's a file of 10 megs regards De: Hernández Cuchí, Francisco Ricardo Enviado el: miércoles, 25 de marzo de 2009 17:38 Para: 'XWiki Users' Asunto: Export from 1.7 and import in 1.8 Hello everybody, I create an export xar from xwiki 1.7, and when i try to import i tinto 1.8, I receive that there are no documents in the file. I receive the message that there are no documents in the specified file. Any suggestion? Thanks in advance, Francisco -- Francisco Hernández Cuchí Jefe de Servicios Sistemas de Información tlf: 913496844 mail: francisco.hernan...@oepm.es mailto:francisco.hernan...@oepm.es ** IMPORTANTE: El contenido de este correo y ficheros adjuntos es
[xwiki-users] Programming rights in virtual wiki
Hi, is there a way to give programming rights to a user in a virtual wiki? Thanks hel. - hel. h...@hel.at -- View this message in context: http://n2.nabble.com/Programming-rights-in-virtual-wiki-tp2538608p2538608.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] Programming rights in virtual wiki
Hel-o, Only users registered on the main wiki can be granted programming access level. But they can save pages with the programming rights on sub wikis. Jerome. hel-o wrote: Hi, is there a way to give programming rights to a user in a virtual wiki? Thanks hel. - hel. h...@hel.at ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Error while parsing velocity page
IMO reimporting the database is not a good idea especially when you upgrade from a version where the database structure was not exactly the same. The safer way is generally to export the old wiki in a xar and then to import it in the new one. Or you start the new wiki the first time with the database already populated with the old one and it will upgrade it automatically but doing it after is wrong for sure, it means you are working with the old database and the new wiki think it already upgraded it. Now that it's been done, is there any advice for fixing it? I'd be very grateful for any suggestions. Thanks, Cristina On Mar 26, 2009, at 1:42 AM, Thomas Mortagne wrote: Hi Cristina, On Tue, Mar 24, 2009 at 21:23, Cristina Williams crist...@isi.edu wrote: Hello again, Here's my info: Xwiki Enterprise 1.7.2 with multiple spaces. I just migrated this wiki from another organization that was using version 1.4.2 (in case that makes a difference in my question). Environment: centos 5.2/apache 2.2/tomcat 6/mysql 5.1 Yesterday, we encountered errors on various pages (though not all) like the following: Error number 4001 in 4: Error while parsing velocity page /templates/ xwikivars.vm Wrapped Exception: Failed to evaluate content with id [/ templates/xwikivars.vm] Error number 4001 in 4: Error while parsing velocity page /templates/ htmlheader.vm Wrapped Exception: Failed to evaluate content with id [/ templates/htmlheader.vm] All the errors had some mention in the stack trace of trying to do an operation on the database after it's been disconnected. So we changed the JDBC url specified in the xwiki hibernate config file (/usr/ local/ tomcat/webapps/xwiki/WEB-INF/hibernate.cfg.xml) to add the autoReconnect=true attribute and restarted Tomcat. That did away with the errors and we thought it was fixed. Well it happened again today. Looks like xwiki is getting into some state in which things start failing, after being up for some period of time or getting some number of user requests or something. But we are having severe personnel issues - so don't have anyone who knows much about tomcat to help us debug. If anyone else has come across this it would be a big help. One possible thing I can think of - since it mentioned velocity templates - when i migrated the wiki, i installed the default XAR - then I imported the mysql dump - could this have overwritten the new templates? If so, is re-importing the default XAR advisable on a live wiki? IMO reimporting the database is not a good idea especially when you upgrade from a version where the database structure was not exactly the same. The safer way is generally to export the old wiki in a xar and then to import it in the new one. Or you start the new wiki the first time with the database already populated with the old one and it will upgrade it automatically but doing it after is wrong for sure, it means you are working with the old database and the new wiki think it already upgraded it. Thanks for any help, Cristina The following is a paste of the first error encountered (very long): Error number 4001 in 4: Error while parsing velocity page /templates/ menuview.vm Wrapped Exception: Failed to evaluate content with id [/ templates/menuview.vm] A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 3202 in 3: Exception while reading document BIRN-OTF-Public. NDAR-Autism-Modeling-Meetings-Minutes Wrapped Exception: could not load an entity: [com.xpn.xwiki.doc.XWikiDocument#-763803479] com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document BIRN-OTF-Public. NDAR-Autism-Modeli Wrapped Exception: could not load an entity: [com.xpn.xwiki.doc.XWikiDocument#-763803479] 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:1335) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1375) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4554) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org .apache .struts .action.RequestProcessor.processActionPerform(RequestProcessor.java: 431) at org .apache.struts.action.RequestProcessor.process(RequestProcessor.java: 236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java: 1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java: 414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 290) at org .apache .catalina
Re: [xwiki-users] TOC not displaying properly
Thanks for the reply, Thomas! Will keep that in mind next time. http://jira.xwiki.org/jira/browse/XWIKI-3462 On Thu, Mar 26, 2009 at 5:09 AM, Thomas Mortagne thomas.morta...@xwiki.comwrote: Hi Lewis, Thanks for this report. It would be great if you could create an issue on http://jira.xwiki.org (eventually with a screenshot to be sure everyone understand the bug). On Wed, Mar 25, 2009 at 16:11, Lewis Denizen orang...@gmail.com wrote: Hi xwiki-users, When I try the following in a page: = Level 1 {{toc start=1 depth=3 numbered=false scope=page /}} == Level 2a === Level 3a === Level 3b == Level 2b === Level 3c [Level 2b] does not untab itself in the TOC. This only happens when there are 2 or more children preceding the parent's siblings (i.e. if [Level 3b] did not exist, this would work properly). Very minor, but would be nice to have this fixed :-) Thanks in advance! -- Lewis ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] TOC not displaying properly
On Thu, Mar 26, 2009 at 17:16, Lewis Denizen orang...@gmail.com wrote: Thanks for the reply, Thomas! Will keep that in mind next time. http://jira.xwiki.org/jira/browse/XWIKI-3462 Thanks On Thu, Mar 26, 2009 at 5:09 AM, Thomas Mortagne thomas.morta...@xwiki.comwrote: Hi Lewis, Thanks for this report. It would be great if you could create an issue on http://jira.xwiki.org (eventually with a screenshot to be sure everyone understand the bug). On Wed, Mar 25, 2009 at 16:11, Lewis Denizen orang...@gmail.com wrote: Hi xwiki-users, When I try the following in a page: = Level 1 {{toc start=1 depth=3 numbered=false scope=page /}} == Level 2a === Level 3a === Level 3b == Level 2b === Level 3c [Level 2b] does not untab itself in the TOC. This only happens when there are 2 or more children preceding the parent's siblings (i.e. if [Level 3b] did not exist, this would work properly). Very minor, but would be nice to have this fixed :-) Thanks in advance! -- Lewis ___ 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 ___ 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
[xwiki-users] List of users editing the same page
Hi all, I would like to know how is it possible to get the list of users when editing the same page (at the same time), and also who is connected on the same workspace (xwiki workspace)? Are there anyone who experienced synchronesous tchatche when editing the same page? Best regards. -- Youcef BEY ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Export from 1.7 and import in 1.8
As always, Lots of thanks to the list. -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Thomas Mortagne Enviado el: jueves, 26 de marzo de 2009 14:51 Para: XWiki Users Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8 Yes, as Christophe said you need to give enough memory to XWiki especially if you have lot's of document in the database. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HMemory for more details. On Thu, Mar 26, 2009 at 14:08, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Hi I think you have to change JAVA_OPTS in the script to start the server. In my case i replaced set JAVA_OPTS=-Xmx300m with set JAVA_OPTS=-Xmx512m to allocate 512M for the java process Christophe -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Hernández Cuchí, Francisco Ricardo Envoyé : jeudi 26 mars 2009 14:01 À : XWiki Users Objet : Re: [xwiki-users] Export from 1.7 and import in 1.8 You are right I get this: Wrapped Exception: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder. java:100) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390 ) at java.lang.StringBuffer.append(StringBuffer.java:224) at java.io.StringWriter.write(StringWriter.java:84) at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:962) at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136) at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954) at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136) at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954) at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) at org.dom4j.io.XMLWriter.write(XMLWriter.java:344) at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:2261) at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:2313) at com.xpn.xwiki.plugin.packaging.Package.addToZip(Package.java:887) at com.xpn.xwiki.plugin.packaging.Package.export(Package.java:332) at com.xpn.xwiki.plugin.packaging.PackageAPI.export(PackageAPI.java:194) at com.xpn.xwiki.plugin.packaging.PackageAPI.backupWiki(PackageAPI.java: 215) at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:264) How can I solve it? -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Thomas Mortagne Enviado el: jueves, 26 de marzo de 2009 9:49 Para: XWiki Users Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8 On Thu, Mar 26, 2009 at 09:44, Hernández Cuchí, Francisco Ricardo francisco.hernan...@oepm.es wrote: You are right, I cannot open it (using 7zip). But I rememeber I was able to import earlier backups in other xwiki 1.7. ¿Is there any way to send all that I have in xwiki1.7 into 1.8? or to see what is corrupting the compressed file. Or to make a selective export of spaces? Looks like the issue is the export from 1.7 which produce corrupted xar in your case. Do you have any error/warning in the log when you try to export xar from 1.7 wiki ? If you want to do selective export you can use http://code.xwiki.org/xwiki/bin/view/Applications/ImportExportApplication Thanks, Francisco -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Thomas Mortagne Enviado el: jueves, 26 de marzo de 2009 9:34 Para: XWiki Users Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8 Hi, Looks like your xar is invalid, are you able to open it (rename it to *.zip) ? On Wed, Mar 25, 2009 at 18:46, Hernández Cuchí, Francisco Ricardo francisco.hernan...@oepm.es wrote: Want to show this from the console: .XWikiAction - Uncaught exception: Error number 11015 in 11: Exception while importing Wrapped Exception: Unexpected end of ZLIB input stream com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while importin g Wrapped Exception: Unexpected end of ZLIB input stream ... It's a file of 10 megs regards De: Hernández Cuchí, Francisco Ricardo Enviado el: miércoles, 25 de marzo de 2009 17:38 Para: 'XWiki Users' Asunto: Export from 1.7 and import in 1.8 Hello everybody, I create an export xar from xwiki 1.7, and when i try to import i tinto 1.8, I receive that there are no documents in the file. I receive the message that there are no documents in the specified file. Any suggestion? Thanks in advance, Francisco -- Francisco Hernández Cuchí Jefe de