Re: [xwiki-users] Export and Backup of Wiki Instance
Hi, I cleared the log file and tried it again today. Same thing happened with the corrupt zip file. here is what was on the log file. 2010-01-12 09:07:08,261 [http://localhost:8080/xwiki/bin/view/Main/] INFO .AbstractXWikiMigrationManager - No storage migration required since current version is [15429] 2010-01-12 09:13:09,995 [ http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25] ERROR internal.DefaultVelocityEngine - Exception in macro #template at /templates/documentTags.vm[line 1, column 1] 2010-01-12 09:13:23,786 [ http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25] ERROR internal.DefaultVelocityEngine - Exception in macro #template at unknown template[line 6, column 3] 2010-01-12 09:14:16,283 [ http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25] WARN web.XWikiAction - Uncaught exception: Error number 0 in 11: Uncaught exception Wrapped Exception: Java heap space com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Java heap space at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:238) 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.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) 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.ActionFilter.doFilter(ActionFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 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.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) 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.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Unknown Source) Wrapped Exception: java.lang.OutOfMemoryError: Java heap space Thanks On Mon, Jan 11, 2010 at 6:45 PM, Ziggy zigg...@gmail.com wrote: Hi, Thanks for your help. I am at home now so i dont have my laptop with me. I will check the log as soon i get to work tomorrow. Thanks On Mon, Jan 11, 2010 at 6:06 PM, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Mon, Jan 11, 2010 at 17:43, Ziggy zigg...@gmail.com wrote: Hi, I tried http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25and it is still generating a corrupt zip file. I see only one cause for corrupted zip: an error during the export. You should have something in the log I think. Thanks On Mon, Jan 11, 2010 at 4:25 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Mon, Jan 11, 2010 at 17:19,
Re: [xwiki-users] Export and Backup of Wiki Instance
On Tue, Jan 12, 2010 at 10:20, Ziggy zigg...@gmail.com wrote: Hi, I cleared the log file and tried it again today. Same thing happened with the corrupt zip file. here is what was on the log file. 2010-01-12 09:07:08,261 [http://localhost:8080/xwiki/bin/view/Main/] INFO .AbstractXWikiMigrationManager - No storage migration required since current version is [15429] 2010-01-12 09:13:09,995 [ http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25] ERROR internal.DefaultVelocityEngine - Exception in macro #template at /templates/documentTags.vm[line 1, column 1] 2010-01-12 09:13:23,786 [ http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25] ERROR internal.DefaultVelocityEngine - Exception in macro #template at unknown template[line 6, column 3] 2010-01-12 09:14:16,283 [ http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25] WARN web.XWikiAction - Uncaught exception: Error number 0 in 11: Uncaught exception Wrapped Exception: Java heap space com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Java heap space at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:238) 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.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) 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.ActionFilter.doFilter(ActionFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) This is weird, are you accessing the wiki in webdav at the same time ? Anyway since the error here is that there is no memory left i guess that's what also make export fail. 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.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) 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.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Unknown Source) Wrapped Exception: java.lang.OutOfMemoryError: Java heap space Thanks On Mon, Jan 11, 2010 at 6:45 PM, Ziggy zigg...@gmail.com wrote: Hi, Thanks for your help. I am at home now so i dont have my laptop with me. I will check the log as soon i get to work tomorrow. Thanks On Mon, Jan 11, 2010 at 6:06 PM, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Mon, Jan 11, 2010 at 17:43, Ziggy zigg...@gmail.com wrote: Hi, I tried http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25and it is still
Re: [xwiki-users] Export and Backup of Wiki Instance
On Tue, Jan 12, 2010 at 11:21, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Tue, Jan 12, 2010 at 10:20, Ziggy zigg...@gmail.com wrote: Hi, I cleared the log file and tried it again today. Same thing happened with the corrupt zip file. here is what was on the log file. 2010-01-12 09:07:08,261 [http://localhost:8080/xwiki/bin/view/Main/] INFO .AbstractXWikiMigrationManager - No storage migration required since current version is [15429] 2010-01-12 09:13:09,995 [ http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25] ERROR internal.DefaultVelocityEngine - Exception in macro #template at /templates/documentTags.vm[line 1, column 1] 2010-01-12 09:13:23,786 [ http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25] ERROR internal.DefaultVelocityEngine - Exception in macro #template at unknown template[line 6, column 3] 2010-01-12 09:14:16,283 [ http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25] WARN web.XWikiAction - Uncaught exception: Error number 0 in 11: Uncaught exception Wrapped Exception: Java heap space com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Java heap space at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:238) 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.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) 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.ActionFilter.doFilter(ActionFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) This is weird, are you accessing the wiki in webdav at the same time ? Ha no it has nothing to do with WebDav i think, it's just that there is a webdav filter looking at all requests if i understood well what is in web.xml So indeed the issue is that the JVM doe snot have enouth memory to finish the export it seems. Make you have a page very big or something. You should try to allocate more. Anyway since the error here is that there is no memory left i guess that's what also make export fail. 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.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) 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.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Unknown Source) Wrapped Exception: java.lang.OutOfMemoryError: Java heap space Thanks On Mon, Jan 11, 2010 at 6:45 PM, Ziggy
Re: [xwiki-users] Export and Backup of Wiki Instance
On Tue, Jan 12, 2010 at 11:25, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Tue, Jan 12, 2010 at 11:21, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Tue, Jan 12, 2010 at 10:20, Ziggy zigg...@gmail.com wrote: Hi, I cleared the log file and tried it again today. Same thing happened with the corrupt zip file. here is what was on the log file. 2010-01-12 09:07:08,261 [http://localhost:8080/xwiki/bin/view/Main/] INFO .AbstractXWikiMigrationManager - No storage migration required since current version is [15429] 2010-01-12 09:13:09,995 [ http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25] ERROR internal.DefaultVelocityEngine - Exception in macro #template at /templates/documentTags.vm[line 1, column 1] 2010-01-12 09:13:23,786 [ http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25] ERROR internal.DefaultVelocityEngine - Exception in macro #template at unknown template[line 6, column 3] 2010-01-12 09:14:16,283 [ http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25] WARN web.XWikiAction - Uncaught exception: Error number 0 in 11: Uncaught exception Wrapped Exception: Java heap space com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Java heap space at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:238) 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.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) 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.ActionFilter.doFilter(ActionFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) This is weird, are you accessing the wiki in webdav at the same time ? Ha no it has nothing to do with WebDav i think, it's just that there is a webdav filter looking at all requests if i understood well what is in web.xml So indeed the issue is that the JVM doe snot have enouth memory to finish the export it seems. Make you have a page very big or *very big page something. You should try to allocate more. Anyway since the error here is that there is no memory left i guess that's what also make export fail. 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.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) 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.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Unknown Source) Wrapped Exception:
[xwiki-users] Auto numbered sections
Hello all, I saw in the xwiki.org documentation that to have auto numbered sections, i have to modify xwikivars.vm. Is there a way to do the same but from the browser by editing the skin for example ? Else do i have to add this code in each document ? #set ($context.tocNumbered = true) #set ($context.tocData = $tdoc.getTOC(2, 6, true)) Regards, Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 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 and Backup of Wiki Instance
Hi, No i am not using WEBDAV. Its a fresh installation of Xwiki and i have only created about 4 pages so far. Here are the steps i took to install it. - Installed Tomcat 6.0 - Installed Xwiki Enterprise 2.1.1 - set up the hibernate configuration to mysql - Installed the default set of wiki pages which provide the blog, spaces etc (i.e. xwiki-enterprise-wiki-2.1.1.xar ) - Created a couple of wiki pages to test it. Thats all i have done so far and is what i am trying to export. I must mention that i did not change any configuration in Tomcat in terms of how much memory is allocated to tomcat. Everything is at their default values. I have seen in several wiki configuration that they recommend increasing the amount of memory allocated to tomcat. Do you think that maybe i need to play around with the memory allocation within Tomcat? Thanks On Tue, Jan 12, 2010 at 10:25 AM, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Tue, Jan 12, 2010 at 11:25, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Tue, Jan 12, 2010 at 11:21, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Tue, Jan 12, 2010 at 10:20, Ziggy zigg...@gmail.com wrote: Hi, I cleared the log file and tried it again today. Same thing happened with the corrupt zip file. here is what was on the log file. 2010-01-12 09:07:08,261 [http://localhost:8080/xwiki/bin/view/Main/] INFO .AbstractXWikiMigrationManager - No storage migration required since current version is [15429] 2010-01-12 09:13:09,995 [ http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25] ERROR internal.DefaultVelocityEngine - Exception in macro #template at /templates/documentTags.vm[line 1, column 1] 2010-01-12 09:13:23,786 [ http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25] ERROR internal.DefaultVelocityEngine - Exception in macro #template at unknown template[line 6, column 3] 2010-01-12 09:14:16,283 [ http://localhost:8080/xwiki/bin/export/Space/Page?format=htmlpages=%25] WARN web.XWikiAction - Uncaught exception: Error number 0 in 11: Uncaught exception Wrapped Exception: Java heap space com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Java heap space at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:238) 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.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) 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.ActionFilter.doFilter(ActionFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) This is weird, are you accessing the wiki in webdav at the same time ? Ha no it has nothing to do with WebDav i think, it's just that there is a webdav filter looking at all requests if i understood well what is in web.xml So indeed the issue is that the JVM doe snot have enouth memory to finish the export it seems. Make you have a page very big or *very big page something. You should try to allocate more. Anyway since the error here is that there is no memory left i guess that's what also make export fail. 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.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) 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.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at
[xwiki-users] xwiki 2.1.1 on Websphere DB2
Hello, I've got an issue with the latest xwiki 2.1.1 running on WebSphere 6.1 and DB2 9.5. First of all, I made a test installation on Tomcat/Postgres which worked fine. I followed exactly the installation instructions for WebSphere and DB2, except I'm using a JNDI Datasource which i configured in the hibernate.cfg.xml. Now I get the following Exception when starting teh Application: [12.01.10 13:18:36:434 CET] 01f7 WebAppE Error while adding servlet mapping for servlet : action : java.lang.Exception: Mapping clash for ServletWrapper[action:[action:/bin/*, action:/wiki/*, action:/testbin/*, action:/xwiki/*]]: Target com.ibm.ws.portletcontainer.portletserving.portletservingextensionproces...@358e358e already exists at node xwiki at com.ibm.ws.util.ClauseNode.add(ClauseNode.java:59) at com.ibm.ws.util.URIMatcher.put(URIMatcher.java:131) at com.ibm.ws.util.URIMapper.addMapping(URIMapper.java:47) at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:554) at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:363) at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:292) at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92) at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157) at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:671) at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:624) at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335) at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1305) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1138) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:817) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:951) at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1493) at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4097) at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4194) at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:245) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1498) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62) at sun.reflect.GeneratedMethodAccessor245.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:265) at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1092) at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:973) at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231) at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802) at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1082) at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118) at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:975) at com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251) at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:239) at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:537) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528) at
Re: [xwiki-users] Export and Backup of Wiki Instance
I use following settings for JVM (e.g. options for tomcat) JAVA_OPTS=-Djava.awt.headless=true -Xms256m -Xmx512m -XX:MaxPermSize=256m I found Xar handy for moving data from one (test) instance to another (production), though for full backup I use MySQL dump. Backup: mysqldump -u root -ppassword --opt xwiki xwiki.sql Restore: mysql -u root -ppassword -Dxwiki xwiki.sql Valdis Hi, No i am not using WEBDAV. Its a fresh installation of Xwiki and i have only created about 4 pages so far. Here are the steps i took to install it. - Installed Tomcat 6.0 - Installed Xwiki Enterprise 2.1.1 - set up the hibernate configuration to mysql - Installed the default set of wiki pages which provide the blog, spaces etc (i.e. xwiki-enterprise-wiki-2.1.1.xar ) - Created a couple of wiki pages to test it. Thats all i have done so far and is what i am trying to export. I must mention that i did not change any configuration in Tomcat in terms of how much memory is allocated to tomcat. Everything is at their default values. I have seen in several wiki configuration that they recommend increasing the amount of memory allocated to tomcat. Do you think that maybe i need to play around with the memory allocation within Tomcat? ... ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Error at installing Xwiki with JBOSS and MySQL
Hi, I downloaded the current Xwiki version : xwiki-enterprise-web-2.1.1.war Thanks a lot for the clue on beanutils. I replaced the file commons-beanutils-1.7.0.jar in jboss-4.2.2.GA\server\default\lib by commons-beanutils-1.8.0.jar found in xwiki.war\WEB-INF\lib, and now the JBOSS server starts with no error. But now when I try to access the xwiki main page from my browser (localhost:8080/xwiki/), I get another error: Etat HTTP 500 - type Rapport d'exception message description Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête. exception javax.servlet.ServletException: L'exécution de la servlet a lancé une exception com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter (ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter (XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter (SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter (SetCharacterEncodingFilter.java:112) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter (ReplyHeaderFilter.java:96) cause mère java.lang.VerifyError: (class: org/jboss/cache/config/Configuration, method: setCacheLoaderConfig signature: (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to function org.jboss.cache.config.parsing.XmlConfigurationParser.init (XmlConfigurationParser.java:66) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.loadConfig (JBossCacheCacheConfiguration.java:237) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.getDefaultConfig (JBossCacheCacheConfiguration.java:205) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.load (JBossCacheCacheConfiguration.java:117) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.init (JBossCacheCacheConfiguration.java:97) org.xwiki.cache.jbosscache.internal.AbstractJBossCacheCacheFactory.newCache (AbstractJBossCacheCacheFactory.java:60) com.xpn.xwiki.store.XWikiCacheStore.initCache (XWikiCacheStore.java:145) com.xpn.xwiki.store.XWikiCacheStore.initCache (XWikiCacheStore.java:130) com.xpn.xwiki.store.XWikiCacheStore.init (XWikiCacheStore.java:85) com.xpn.xwiki.XWiki.initXWiki(XWiki.java:707) com.xpn.xwiki.XWiki.init(XWiki.java:684) com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:321) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) org.apache.struts.action.RequestProcessor.processActionPerform (RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process (RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process (ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet (ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter (ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter (XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter (SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter (SetCharacterEncodingFilter.java:112) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter (ReplyHeaderFilter.java:96) note La trace complète de la cause mère de cette erreur est disponible dans les fichiers journaux de JBossWeb/2.0.1.GA. Could you help ? Thanks in advance, Antonio DA SILVA Thomas Mortagne thomas.mortagne@ xwiki.com A Envoyé par : XWiki Users users@xwiki.org users-boun...@xwi cc ki.org Objet Re: [xwiki-users] Error at 11/01/2010 20:37 installing Xwiki with JBOSS and MySQL Veuillez répondre
Re: [xwiki-users] Export and Backup of Wiki Instance
Thanks guys for your help. I have updated my setenv.bat to the following set JAVA_OPTS=-server -XX:+UseParallelGC -Xmx768m -XX:MaxPermSize=160m -Djava.awt.headless=true and i can now export all html pages. - The export did work but the skin/templates are not quite right. This is not a problem as i wanted the content i dont mind if it dont look pretty. Valdis, I will be using the *.xar backup and an export of the database as part of the backup. I would like to also export everything as html at once a month just for extra security. Just one final question. If i export the mysql database, can i re-import this on a new instance of xwiki and does it have to be the exact version of xwiki? Thanks again. On Tue, Jan 12, 2010 at 12:40 PM, Valdis Vītoliņš valdis.vitol...@odo.lvwrote: I use following settings for JVM (e.g. options for tomcat) JAVA_OPTS=-Djava.awt.headless=true -Xms256m -Xmx512m -XX:MaxPermSize=256m I found Xar handy for moving data from one (test) instance to another (production), though for full backup I use MySQL dump. Backup: mysqldump -u root -ppassword --opt xwiki xwiki.sql Restore: mysql -u root -ppassword -Dxwiki xwiki.sql Valdis Hi, No i am not using WEBDAV. Its a fresh installation of Xwiki and i have only created about 4 pages so far. Here are the steps i took to install it. - Installed Tomcat 6.0 - Installed Xwiki Enterprise 2.1.1 - set up the hibernate configuration to mysql - Installed the default set of wiki pages which provide the blog, spaces etc (i.e. xwiki-enterprise-wiki-2.1.1.xar ) - Created a couple of wiki pages to test it. Thats all i have done so far and is what i am trying to export. I must mention that i did not change any configuration in Tomcat in terms of how much memory is allocated to tomcat. Everything is at their default values. I have seen in several wiki configuration that they recommend increasing the amount of memory allocated to tomcat. Do you think that maybe i need to play around with the memory allocation within Tomcat? ... ___ 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] Error at installing Xwiki with JBOSS and MySQL
On Tue, Jan 12, 2010 at 13:40, antonio.da-si...@cegelec.com wrote: Hi, I downloaded the current Xwiki version : xwiki-enterprise-web-2.1.1.war Thanks a lot for the clue on beanutils. I replaced the file commons-beanutils-1.7.0.jar in jboss-4.2.2.GA\server\default\lib by commons-beanutils-1.8.0.jar found in xwiki.war\WEB-INF\lib, and now the JBOSS server starts with no error. But now when I try to access the xwiki main page from my browser (localhost:8080/xwiki/), I get another error: Etat HTTP 500 - type Rapport d'exception message description Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête. exception javax.servlet.ServletException: L'exécution de la servlet a lancé une exception com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter (ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter (XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter (SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter (SetCharacterEncodingFilter.java:112) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter (ReplyHeaderFilter.java:96) cause mère java.lang.VerifyError: (class: org/jboss/cache/config/Configuration, method: setCacheLoaderConfig signature: (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to function org.jboss.cache.config.parsing.XmlConfigurationParser.init (XmlConfigurationParser.java:66) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.loadConfig (JBossCacheCacheConfiguration.java:237) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.getDefaultConfig (JBossCacheCacheConfiguration.java:205) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.load (JBossCacheCacheConfiguration.java:117) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.init (JBossCacheCacheConfiguration.java:97) org.xwiki.cache.jbosscache.internal.AbstractJBossCacheCacheFactory.newCache (AbstractJBossCacheCacheFactory.java:60) com.xpn.xwiki.store.XWikiCacheStore.initCache (XWikiCacheStore.java:145) com.xpn.xwiki.store.XWikiCacheStore.initCache (XWikiCacheStore.java:130) com.xpn.xwiki.store.XWikiCacheStore.init (XWikiCacheStore.java:85) com.xpn.xwiki.XWiki.initXWiki(XWiki.java:707) com.xpn.xwiki.XWiki.init(XWiki.java:684) com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:321) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) org.apache.struts.action.RequestProcessor.processActionPerform (RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process (RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process (ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet (ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter (ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter (XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter (SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter (SetCharacterEncodingFilter.java:112) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter (ReplyHeaderFilter.java:96) note La trace complète de la cause mère de cette erreur est disponible dans les fichiers journaux de JBossWeb/2.0.1.GA. Could you help ? If think it's the same issue but with jbosscache this time, XWiki depends on jbosscache 3.2.1, i guess your application server has jbosscache 2.x or something. Problem is that it will maybe be more complex this time since i don't know if you can simply do the same thing here since you are using JBoss application server. Thanks in advance, Antonio DA SILVA Thomas Mortagne thomas.mortagne@ xwiki.com A Envoyé par : XWiki Users users@xwiki.org users-boun...@xwi cc ki.org Objet Re: [xwiki-users] Error at 11/01/2010 20:37 installing Xwiki with JBOSS
Re: [xwiki-users] Error at installing Xwiki with JBOSS and MySQL
On Tue, Jan 12, 2010 at 13:53, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Tue, Jan 12, 2010 at 13:40, antonio.da-si...@cegelec.com wrote: Hi, I downloaded the current Xwiki version : xwiki-enterprise-web-2.1.1.war Thanks a lot for the clue on beanutils. I replaced the file commons-beanutils-1.7.0.jar in jboss-4.2.2.GA\server\default\lib by commons-beanutils-1.8.0.jar found in xwiki.war\WEB-INF\lib, and now the JBOSS server starts with no error. But now when I try to access the xwiki main page from my browser (localhost:8080/xwiki/), I get another error: Etat HTTP 500 - type Rapport d'exception message description Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête. exception javax.servlet.ServletException: L'exécution de la servlet a lancé une exception com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter (ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter (XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter (SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter (SetCharacterEncodingFilter.java:112) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter (ReplyHeaderFilter.java:96) cause mère java.lang.VerifyError: (class: org/jboss/cache/config/Configuration, method: setCacheLoaderConfig signature: (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to function org.jboss.cache.config.parsing.XmlConfigurationParser.init (XmlConfigurationParser.java:66) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.loadConfig (JBossCacheCacheConfiguration.java:237) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.getDefaultConfig (JBossCacheCacheConfiguration.java:205) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.load (JBossCacheCacheConfiguration.java:117) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.init (JBossCacheCacheConfiguration.java:97) org.xwiki.cache.jbosscache.internal.AbstractJBossCacheCacheFactory.newCache (AbstractJBossCacheCacheFactory.java:60) com.xpn.xwiki.store.XWikiCacheStore.initCache (XWikiCacheStore.java:145) com.xpn.xwiki.store.XWikiCacheStore.initCache (XWikiCacheStore.java:130) com.xpn.xwiki.store.XWikiCacheStore.init (XWikiCacheStore.java:85) com.xpn.xwiki.XWiki.initXWiki(XWiki.java:707) com.xpn.xwiki.XWiki.init(XWiki.java:684) com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:321) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) org.apache.struts.action.RequestProcessor.processActionPerform (RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process (RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process (ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet (ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter (ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter (XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter (SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter (SetCharacterEncodingFilter.java:112) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter (ReplyHeaderFilter.java:96) note La trace complète de la cause mère de cette erreur est disponible dans les fichiers journaux de JBossWeb/2.0.1.GA. Could you help ? If think it's the same issue but with jbosscache this time, XWiki depends on jbosscache 3.2.1, i guess your application server has jbosscache 2.x or something. Problem is that it will maybe be more complex this time since i don't know if you can simply do the same thing here since you are using JBoss application server. Seems weird that JBoss application server is unable to properly isolate application. Thanks in advance, Antonio DA SILVA Thomas Mortagne thomas.mortagne@ xwiki.com A Envoyé par : XWiki Users users@xwiki.org users-boun...@xwi cc ki.org
Re: [xwiki-users] Error at installing Xwiki with JBOSS and MySQL
Hi, The only jbosscache files I found in the JBOSS tree are: jbosscache-core-3.2.1.GA.jar xwiki-core-cache-jbosscache-2.1.1.jar Both are in the xwiki war subtree (WEB-INF\lib) Antonio DA SILVA Thomas Mortagne thomas.mortagne@ xwiki.com A Envoyé par : XWiki Users users@xwiki.org users-boun...@xwi cc ki.org Objet Re: [xwiki-users] Error at 12/01/2010 13:54 installing Xwiki with JBOSS and MySQL Veuillez répondre à XWiki Users users@xwiki.org On Tue, Jan 12, 2010 at 13:53, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Tue, Jan 12, 2010 at 13:40, antonio.da-si...@cegelec.com wrote: Hi, I downloaded the current Xwiki version : xwiki-enterprise-web-2.1.1.war Thanks a lot for the clue on beanutils. I replaced the file commons-beanutils-1.7.0.jar in jboss-4.2.2.GA\server\default\lib by commons-beanutils-1.8.0.jar found in xwiki.war\WEB-INF\lib, and now the JBOSS server starts with no error. But now when I try to access the xwiki main page from my browser (localhost:8080/xwiki/), I get another error: Etat HTTP 500 - type Rapport d'exception message description Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête. exception javax.servlet.ServletException: L'exécution de la servlet a lancé une exception com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter (ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter (ActionFilter.java:117) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter (XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter (SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter (SetCharacterEncodingFilter.java:112) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter (ReplyHeaderFilter.java:96) cause mère java.lang.VerifyError: (class: org/jboss/cache/config/Configuration, method: setCacheLoaderConfig signature: (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to function org.jboss.cache.config.parsing.XmlConfigurationParser.init (XmlConfigurationParser.java:66) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.loadConfig (JBossCacheCacheConfiguration.java:237) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.getDefaultConfig (JBossCacheCacheConfiguration.java:205) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.load (JBossCacheCacheConfiguration.java:117) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.init (JBossCacheCacheConfiguration.java:97) org.xwiki.cache.jbosscache.internal.AbstractJBossCacheCacheFactory.newCache (AbstractJBossCacheCacheFactory.java:60) com.xpn.xwiki.store.XWikiCacheStore.initCache (XWikiCacheStore.java:145) com.xpn.xwiki.store.XWikiCacheStore.initCache (XWikiCacheStore.java:130) com.xpn.xwiki.store.XWikiCacheStore.init (XWikiCacheStore.java:85) com.xpn.xwiki.XWiki.initXWiki(XWiki.java:707) com.xpn.xwiki.XWiki.init(XWiki.java:684) com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:321) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) org.apache.struts.action.RequestProcessor.processActionPerform (RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process (RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process (ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet (ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
Re: [xwiki-users] Error at installing Xwiki with JBOSS and MySQL
Hi, Finally there was a jboss-cache-jdk50.jar in the JBOSS lib directory. I replaced it with the jbosscache-core-3.2.1.GA.jar found in xwiki war, and the error has changed ! Now it seems to be related to lucene. Once again, I looked for lucene in jboss and xwiki lib directories, and I found lucene-core-2.3.1.jar in jboss tree and lucene-core-2.9.1.jar in xwiki tree. Did again the replacement, and now it works! I get the xWiki main page :-)) Thanks again for your help, Antonio DA SILVA Antonio DA-SILVA/SUDEST/F R/CEGELEC A XWiki Users users@xwiki.org 12/01/2010 14:00 cc Objet Re: [xwiki-users] Error at installing Xwiki with JBOSS and MySQL(Document link: Antonio DA-SILVA) Hi, The only jbosscache files I found in the JBOSS tree are: jbosscache-core-3.2.1.GA.jar xwiki-core-cache-jbosscache-2.1.1.jar Both are in the xwiki war subtree (WEB-INF\lib) Antonio DA SILVA Thomas Mortagne thomas.mortagne@ xwiki.com A Envoyé par : XWiki Users users@xwiki.org users-boun...@xwi cc ki.org Objet Re: [xwiki-users] Error at 12/01/2010 13:54 installing Xwiki with JBOSS and MySQL Veuillez répondre à XWiki Users users@xwiki.org On Tue, Jan 12, 2010 at 13:53, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Tue, Jan 12, 2010 at 13:40, antonio.da-si...@cegelec.com wrote: Hi, I downloaded the current Xwiki version : xwiki-enterprise-web-2.1.1.war Thanks a lot for the clue on beanutils. I replaced the file commons-beanutils-1.7.0.jar in jboss-4.2.2.GA\server\default\lib by commons-beanutils-1.8.0.jar found in xwiki.war\WEB-INF\lib, and now the JBOSS server starts with no error. But now when I try to access the xwiki main page from my browser (localhost:8080/xwiki/), I get another error: Etat HTTP 500 - type Rapport d'exception message description Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête. exception javax.servlet.ServletException: L'exécution de la servlet a lancé une exception com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter (ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter (ActionFilter.java:117) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter (XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter (SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter (SetCharacterEncodingFilter.java:112) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter (ReplyHeaderFilter.java:96) cause mère java.lang.VerifyError: (class: org/jboss/cache/config/Configuration, method: setCacheLoaderConfig signature:
Re: [xwiki-users] Error at installing Xwiki with JBOSS and MySQL
On Tue, Jan 12, 2010 at 14:41, antonio.da-si...@cegelec.com wrote: Hi, Finally there was a jboss-cache-jdk50.jar in the JBOSS lib directory. I replaced it with the jbosscache-core-3.2.1.GA.jar found in xwiki war, and the error has changed ! Now it seems to be related to lucene. Once again, I looked for lucene in jboss and xwiki lib directories, and I found lucene-core-2.3.1.jar in jboss tree and lucene-core-2.9.1.jar in xwiki tree. Did again the replacement, and now it works! I get the xWiki main page :-)) Ok, I hope you will not get too much problems with all theses changes... Thanks again for your help, Antonio DA SILVA Antonio DA-SILVA/SUDEST/F R/CEGELEC A XWiki Users users@xwiki.org 12/01/2010 14:00 cc Objet Re: [xwiki-users] Error at installing Xwiki with JBOSS and MySQL(Document link: Antonio DA-SILVA) Hi, The only jbosscache files I found in the JBOSS tree are: jbosscache-core-3.2.1.GA.jar xwiki-core-cache-jbosscache-2.1.1.jar Both are in the xwiki war subtree (WEB-INF\lib) Antonio DA SILVA Thomas Mortagne thomas.mortagne@ xwiki.com A Envoyé par : XWiki Users users@xwiki.org users-boun...@xwi cc ki.org Objet Re: [xwiki-users] Error at 12/01/2010 13:54 installing Xwiki with JBOSS and MySQL Veuillez répondre à XWiki Users users@xwiki.org On Tue, Jan 12, 2010 at 13:53, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Tue, Jan 12, 2010 at 13:40, antonio.da-si...@cegelec.com wrote: Hi, I downloaded the current Xwiki version : xwiki-enterprise-web-2.1.1.war Thanks a lot for the clue on beanutils. I replaced the file commons-beanutils-1.7.0.jar in jboss-4.2.2.GA\server\default\lib by commons-beanutils-1.8.0.jar found in xwiki.war\WEB-INF\lib, and now the JBOSS server starts with no error. But now when I try to access the xwiki main page from my browser (localhost:8080/xwiki/), I get another error: Etat HTTP 500 - type Rapport d'exception message description Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête. exception javax.servlet.ServletException: L'exécution de la servlet a lancé une exception com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter (ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter (ActionFilter.java:117) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter (XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter (SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter (SetCharacterEncodingFilter.java:112) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter (ReplyHeaderFilter.java:96) cause mère java.lang.VerifyError: (class: org/jboss/cache/config/Configuration, method: setCacheLoaderConfig signature: (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to function org.jboss.cache.config.parsing.XmlConfigurationParser.init (XmlConfigurationParser.java:66) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.loadConfig (JBossCacheCacheConfiguration.java:237) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.getDefaultConfig (JBossCacheCacheConfiguration.java:205) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.load (JBossCacheCacheConfiguration.java:117) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.init (JBossCacheCacheConfiguration.java:97) org.xwiki.cache.jbosscache.internal.AbstractJBossCacheCacheFactory.newCache (AbstractJBossCacheCacheFactory.java:60) com.xpn.xwiki.store.XWikiCacheStore.initCache (XWikiCacheStore.java:145) com.xpn.xwiki.store.XWikiCacheStore.initCache (XWikiCacheStore.java:130) com.xpn.xwiki.store.XWikiCacheStore.init (XWikiCacheStore.java:85) com.xpn.xwiki.XWiki.initXWiki(XWiki.java:707) com.xpn.xwiki.XWiki.init(XWiki.java:684) com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:321) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402)
Re: [xwiki-users] Export and Backup of Wiki Instance
On Tue, Jan 12, 2010 at 13:49, Ziggy zigg...@gmail.com wrote: Thanks guys for your help. I have updated my setenv.bat to the following set JAVA_OPTS=-server -XX:+UseParallelGC -Xmx768m -XX:MaxPermSize=160m -Djava.awt.headless=true and i can now export all html pages. - The export did work but the skin/templates are not quite right. This is not a problem as i wanted the content i dont mind if it dont look pretty. HTML export doe snot support dynamic css like you have in colibri skin yet. See http://jira.xwiki.org/jira/browse/XWIKI-4615 Valdis, I will be using the *.xar backup and an export of the database as part of the backup. I would like to also export everything as html at once a month just for extra security. Just one final question. If i export the mysql database, can i re-import this on a new instance of xwiki and does it have to be the exact version of xwiki? No, but it has to be at least the same version. The database is automatically upgraded when something changed (that's usually the way to upgrade a XWiki instance). Thanks again. On Tue, Jan 12, 2010 at 12:40 PM, Valdis Vītoliņš valdis.vitol...@odo.lvwrote: I use following settings for JVM (e.g. options for tomcat) JAVA_OPTS=-Djava.awt.headless=true -Xms256m -Xmx512m -XX:MaxPermSize=256m I found Xar handy for moving data from one (test) instance to another (production), though for full backup I use MySQL dump. Backup: mysqldump -u root -ppassword --opt xwiki xwiki.sql Restore: mysql -u root -ppassword -Dxwiki xwiki.sql Valdis Hi, No i am not using WEBDAV. Its a fresh installation of Xwiki and i have only created about 4 pages so far. Here are the steps i took to install it. - Installed Tomcat 6.0 - Installed Xwiki Enterprise 2.1.1 - set up the hibernate configuration to mysql - Installed the default set of wiki pages which provide the blog, spaces etc (i.e. xwiki-enterprise-wiki-2.1.1.xar ) - Created a couple of wiki pages to test it. Thats all i have done so far and is what i am trying to export. I must mention that i did not change any configuration in Tomcat in terms of how much memory is allocated to tomcat. Everything is at their default values. I have seen in several wiki configuration that they recommend increasing the amount of memory allocated to tomcat. Do you think that maybe i need to play around with the memory allocation within Tomcat? ... ___ 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
Re: [xwiki-users] Error at installing Xwiki with JBOSS and MySQL
I believe this is going to impact lots of our JBOSS users. Would be great to document it on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationJBoss I find it strange that JBoss doesn't do isolation. Maybe there are config params to change this. Thanks -Vincent On Jan 12, 2010, at 2:41 PM, antonio.da-si...@cegelec.com wrote: Hi, Finally there was a jboss-cache-jdk50.jar in the JBOSS lib directory. I replaced it with the jbosscache-core-3.2.1.GA.jar found in xwiki war, and the error has changed ! Now it seems to be related to lucene. Once again, I looked for lucene in jboss and xwiki lib directories, and I found lucene-core-2.3.1.jar in jboss tree and lucene-core-2.9.1.jar in xwiki tree. Did again the replacement, and now it works! I get the xWiki main page :-)) Thanks again for your help, Antonio DA SILVA Antonio DA-SILVA/SUDEST/F R/CEGELEC A XWiki Users users@xwiki.org 12/01/2010 14:00 cc Objet Re: [xwiki-users] Error at installing Xwiki with JBOSS and MySQL(Document link: Antonio DA-SILVA) Hi, The only jbosscache files I found in the JBOSS tree are: jbosscache-core-3.2.1.GA.jar xwiki-core-cache-jbosscache-2.1.1.jar Both are in the xwiki war subtree (WEB-INF\lib) Antonio DA SILVA Thomas Mortagne thomas.mortagne@ xwiki.com A Envoyé par : XWiki Users users@xwiki.org users-boun...@xwi cc ki.org Objet Re: [xwiki-users] Error at 12/01/2010 13:54 installing Xwiki with JBOSS and MySQL Veuillez répondre à XWiki Users users@xwiki.org On Tue, Jan 12, 2010 at 13:53, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Tue, Jan 12, 2010 at 13:40, antonio.da-si...@cegelec.com wrote: Hi, I downloaded the current Xwiki version : xwiki-enterprise-web-2.1.1.war Thanks a lot for the clue on beanutils. I replaced the file commons-beanutils-1.7.0.jar in jboss-4.2.2.GA\server\default\lib by commons-beanutils-1.8.0.jar found in xwiki.war\WEB-INF\lib, and now the JBOSS server starts with no error. But now when I try to access the xwiki main page from my browser (localhost:8080/xwiki/), I get another error: Etat HTTP 500 - type Rapport d'exception message description Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête. exception javax.servlet.ServletException: L'exécution de la servlet a lancé une exception com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter (ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter (ActionFilter.java:117) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter (XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter (SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter (SetCharacterEncodingFilter.java:112) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter (ReplyHeaderFilter.java:96) cause mère java.lang.VerifyError: (class: org/jboss/cache/config/Configuration, method: setCacheLoaderConfig signature: (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to function org.jboss.cache.config.parsing.XmlConfigurationParser.init (XmlConfigurationParser.java:66) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.loadConfig (JBossCacheCacheConfiguration.java:237) org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.getDefaultConfig (JBossCacheCacheConfiguration.java:205)
Re: [xwiki-users] Export and Backup of Wiki Instance
Ok thanks Thomas. -- On Tue, Jan 12, 2010 at 1:51 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Tue, Jan 12, 2010 at 13:49, Ziggy zigg...@gmail.com wrote: Thanks guys for your help. I have updated my setenv.bat to the following set JAVA_OPTS=-server -XX:+UseParallelGC -Xmx768m -XX:MaxPermSize=160m -Djava.awt.headless=true and i can now export all html pages. - The export did work but the skin/templates are not quite right. This is not a problem as i wanted the content i dont mind if it dont look pretty. HTML export doe snot support dynamic css like you have in colibri skin yet. See http://jira.xwiki.org/jira/browse/XWIKI-4615 Valdis, I will be using the *.xar backup and an export of the database as part of the backup. I would like to also export everything as html at once a month just for extra security. Just one final question. If i export the mysql database, can i re-import this on a new instance of xwiki and does it have to be the exact version of xwiki? No, but it has to be at least the same version. The database is automatically upgraded when something changed (that's usually the way to upgrade a XWiki instance). Thanks again. On Tue, Jan 12, 2010 at 12:40 PM, Valdis Vītoliņš valdis.vitol...@odo.lvwrote: I use following settings for JVM (e.g. options for tomcat) JAVA_OPTS=-Djava.awt.headless=true -Xms256m -Xmx512m -XX:MaxPermSize=256m I found Xar handy for moving data from one (test) instance to another (production), though for full backup I use MySQL dump. Backup: mysqldump -u root -ppassword --opt xwiki xwiki.sql Restore: mysql -u root -ppassword -Dxwiki xwiki.sql Valdis Hi, No i am not using WEBDAV. Its a fresh installation of Xwiki and i have only created about 4 pages so far. Here are the steps i took to install it. - Installed Tomcat 6.0 - Installed Xwiki Enterprise 2.1.1 - set up the hibernate configuration to mysql - Installed the default set of wiki pages which provide the blog, spaces etc (i.e. xwiki-enterprise-wiki-2.1.1.xar ) - Created a couple of wiki pages to test it. Thats all i have done so far and is what i am trying to export. I must mention that i did not change any configuration in Tomcat in terms of how much memory is allocated to tomcat. Everything is at their default values. I have seen in several wiki configuration that they recommend increasing the amount of memory allocated to tomcat. Do you think that maybe i need to play around with the memory allocation within Tomcat? ... ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] error on First time run. Need your help badly!
Need your help bady! I just finished installation of XE 2.1.1. Mysql5.x + tomcat5.x + linux(unknown, may be unix) Error info: javax.servlet.ServletException: Servlet execution threw an exception com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) root cause java.lang.NoSuchFieldError: fFeatures org.apache.xerces.parsers.XML11NonValidatingConfiguration.init(Unknown Source) org.apache.xerces.parsers.XML11NonValidatingConfiguration.init(Unknown Source) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) java.lang.reflect.Constructor.newInstance(Constructor.java:494) java.lang.Class.newInstance0(Class.java:350) java.lang.Class.newInstance(Class.java:303) org.xwiki.xml.internal.DefaultXMLReaderFactory.createXMLReader(DefaultXMLReaderFactory.java:81) org.xwiki.rendering.internal.parser.wikimodel.xhtml.XWikiXMLReaderFactory.createXMLReader(XWikiXMLReaderFactory.java:49) org.xwiki.rendering.internal.parser.WikiModelXHTMLParser.createWikiModelParser(WikiModelXHTMLParser.java:143) org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:132) org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:97) org.xwiki.rendering.internal.parser.WikiModelHTMLParser.parse(WikiModelHTMLParser.java:67) com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:5738) com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:843) com.xpn.xwiki.plugin.lucene.IndexData.init(IndexData.java:72) com.xpn.xwiki.plugin.lucene.DocumentData.init(DocumentData.java:52) com.xpn.xwiki.plugin.lucene.IndexUpdater.add(IndexUpdater.java:320) com.xpn.xwiki.plugin.lucene.IndexUpdater.onEvent(IndexUpdater.java:408) org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269) org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:243) com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1346) com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1287) com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282) com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:3062) com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:790) com.xpn.xwiki.XWiki.initXWiki(XWiki.java:761) com.xpn.xwiki.XWiki.init(XWiki.java:684) com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:321) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:627) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) This is my page: http://secure10.olemiss.edu/xwiki-enterprise-web-2.1.1/bin/view/Main/ Before I installed it on our web server, I made a local installation. It worked well. Environment is different though. -- View this message in context: http://n2.nabble.com/error-on-First-time-run-Need-your-help-badly-tp4291746p4291746.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] Problem with fresh new 2.1.1 XEM install
Hi, I tried to find a solution about my secured access problem, but I failed... Here I am: - I use apache https server (2.2.14) as frontal webserver - I use tomcat (6.0.20) as java container for xwiki - I use mod_jk.so httpd module as connector between httpd and tomcat, with that configuration in httpd.conf: LoadModule jk_module modules/mod_jk.so IfModule jk_module # Where to find workers.properties JkWorkersFile C:/Program Files/Apache Software Foundation/Tomcat 6.0/conf/jk/workers.properties # Where to put jk logs JkLogFile D:/weblogs/2.2/mod_jk.log # Set the jk log level [debug/error/info] JkLogLevel info # Select the timestamp log format JkLogStampFormat [%a %b %d %H:%M:%S %Y] # Send JSPs for context /examples to worker named worker1 JkMount /xwiki/* ajp13w JkMount /xwiki ajp13w /IfModule -I have these lines into the workers.properties file : worker.list=ajp13w worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost worker.ajp13w.port=8009 I still have javascripts errors. I still can't access to /xwiki/bin/skin/resources/js/xwiki/xwiki.js (redirected to the xwiki.virtual.redirect URL). I still have no error into httpd logs or xwiki logs. Do you have any idea of what is going wrong ? I'm sorry to ask you again, but I have to say that I'm really lost... Gaëtan Niels Mayer a écrit : On Thu, Jan 7, 2010 at 5:35 AM, Gaëtan GUYODO gaetan.guy...@lrb.aphp.fr mailto:gaetan.guy...@lrb.aphp.fr wrote: I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. I tried to create another wiki, same problem. I tried to add the full URL as alias, doesn't work ! = I don't have any trouble accessing by http://localhost:8080/xwiki/wiki/xwiki but I can't acces the same wiki using external SSL URL https://mydomain/xwiki/wiki/xwiki You can't run SSL on a random port, and HTTPS, bound to 443, is privileged and requires a privileged process (that's why a high-number port like 8080 is used by default, it's a random, nonprivileged port). Since you don't want to run java as a privileged process, but people trust apache to run this way, you use a connector ( http://tomcat.apache.org/connectors-doc/reference/apache.html ) to bridge between java and a secure SSL front-end. Although tomcat can do SSL, it's better and more secure to front tomcat with Apache Httpd: use mod_proxy http://httpd.apache.org/docs/2.0/mod/mod_proxy.html and mod_proxy_ajp http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html to talk to tomcat, and mod_ssl http://www.modssl.org/ to handle SSL (helpful security hint that is de rigueur for hospital and patient data: use mod_auth_mysql http://modauthmysql.sourceforge.net/ and client-side certificates http://www.modssl.org/docs/2.8/ssl_howto.html#ToC6 to prevent any access from those without client certs... see fake basic auth concept in http://www.modssl.org/docs/2.8/ssl_reference.html#SSLOptions ... if you don't have a client-certificate access, you get redirected to the public part of the web like in http://ipssources.net ) Quickndirty configuration hints: LoadModule proxy_ajp_module modules/mod_proxy_ajp.so ProxyPass /xwiki/ ajp://127.0.0.1:8009/xwiki/ http://127.0.0.1:8009/xwiki/ IfModule mod_proxy.c ProxyRequests Off ## NPM: see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HModProxyAJPConfiguration ProxyPreserveHost On /IfModule Niels http://nielsmayer.com -- __ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Help to construct parameterized URL to Main.AllDocs (Document Index) page
Hi. I am creating a per Space panels derived from QuickLinks. I would like to create a link in it that points to AllDocs but would like to limit the search results initially to only the space of the current document being viewed. I have been unable to figure out if it is possible to add a parameter to the URL for the view action on Main.AllDocs. Can someone give me a clue? Thanks, Milind v :: LDRize::view ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Wrapped Exception: Error number 3212 in 3: Exception while loading archive 104, 408, 758
XE 2.05 + Mysql 5.x + Tomcat 5.x After installation it worked. Then I setup LDAP connections and imported the official example (.xar) files. It was still working. Then I left for lunch. When I came back I got the following exceptions: javax.servlet.ServletException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences Wrapped Exception: Error number 3211 in 3: Exception while updating archive XWiki.XWikiPreferences Wrapped Exception: Error number 3212 in 3: Exception while loading archive 104,408,758 Wrapped Exception: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not execute query org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:627) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) root cause com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences Wrapped Exception: Error number 3211 in 3: Exception while updating archive XWiki.XWikiPreferences Wrapped Exception: Error number 3212 in 3: Exception while loading archive 104,408,758 Wrapped Exception: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not execute query com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:339) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:627) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) -- View this message in context: http://n2.nabble.com/Wrapped-Exception-Error-number-3212-in-3-Exception-while-loading-archive-104-408-758-tp4294742p4294742.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] error on First time run. Need your help badly!
I think I have received a reply and the reply was right about my situation. But I don't know where the reply has gone. For later users: The reply mentioned that it might be a problem of Beautily (or something like this) version. XE2.1.1 needs the latest version. I would say this is right though I am not sure. My solution is: I uninstalled XE2.1.1 and then installed XE2.0.5. Nothing else was changed and it worked! jackyork wrote: Need your help bady! I just finished installation of XE 2.1.1. Mysql5.x + tomcat5.x + linux(unknown, may be unix) Error info: javax.servlet.ServletException: Servlet execution threw an exception com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) root cause java.lang.NoSuchFieldError: fFeatures org.apache.xerces.parsers.XML11NonValidatingConfiguration.init(Unknown Source) org.apache.xerces.parsers.XML11NonValidatingConfiguration.init(Unknown Source) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) java.lang.reflect.Constructor.newInstance(Constructor.java:494) java.lang.Class.newInstance0(Class.java:350) java.lang.Class.newInstance(Class.java:303) org.xwiki.xml.internal.DefaultXMLReaderFactory.createXMLReader(DefaultXMLReaderFactory.java:81) org.xwiki.rendering.internal.parser.wikimodel.xhtml.XWikiXMLReaderFactory.createXMLReader(XWikiXMLReaderFactory.java:49) org.xwiki.rendering.internal.parser.WikiModelXHTMLParser.createWikiModelParser(WikiModelXHTMLParser.java:143) org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:132) org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:97) org.xwiki.rendering.internal.parser.WikiModelHTMLParser.parse(WikiModelHTMLParser.java:67) com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:5738) com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:843) com.xpn.xwiki.plugin.lucene.IndexData.init(IndexData.java:72) com.xpn.xwiki.plugin.lucene.DocumentData.init(DocumentData.java:52) com.xpn.xwiki.plugin.lucene.IndexUpdater.add(IndexUpdater.java:320) com.xpn.xwiki.plugin.lucene.IndexUpdater.onEvent(IndexUpdater.java:408) org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269) org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:243) com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1346) com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1287) com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282) com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:3062) com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:790) com.xpn.xwiki.XWiki.initXWiki(XWiki.java:761) com.xpn.xwiki.XWiki.init(XWiki.java:684) com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:321) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:627) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) This is my page: http://secure10.olemiss.edu/xwiki-enterprise-web-2.1.1/bin/view/Main/ Before I installed it on our web server, I made a local installation. It worked well.
Re: [xwiki-users] Help to construct parameterized URL to Main.AllDocs (Document Index) page
Hi Milind, Milind Kamble wrote: Hi. I am creating a per Space panels derived from QuickLinks. I would like to create a link in it that points to AllDocs but would like to limit the search results initially to only the space of the current document being viewed. I have been unable to figure out if it is possible to add a parameter to the URL for the view action on Main.AllDocs. Can someone give me a clue? I don't think there is such a URL parameter right now (at least I didn't find one). Isn't xwiki/bin/view/Main/SpaceIndex?space=Blog an acceptable solution for you? Otherwise you could try to modify XWiki.Tableview page and pre-fill the space filter of the live table, if the live table supports it. Anyway, it might prove useful to compare the code of the Main.SpaceIndex page with the code of the XWiki.Tableview page. Both use the live table. Hope this helps, Marius Thanks, Milind v :: LDRize::view ___ 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