Re: [xwiki-users] Create a tree navigation
Hi, You can already use the TOC macro. See http://code.xwiki.org/xwiki/bin/view/Macros/TocMacro and http://code.xwiki.org/xwiki/bin/view/Macros/TocMacro20 Thanks -Vincent On Thu, Mar 5, 2009 at 4:02 PM, CASTRO roney roney.cas...@gemalto.com wrote: Hi, I have a space where I want to make navigation easier. So inside this space I want to create a navigation panel, containing only the Table of contents, is it possible? The best situation would be to create tree view, like a file explorer. Does anyone know how can it be done? Thanks - Roney ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Bug : the restore of a backup does not apply presentation parameters
Hello, When i restore a backup (XAR file) my presentation parameters are restored in the Wiki but are not applied. For example the copyright message is empty in the backup, is empty in the new wiki when i go to the presentation parameters page (after the restore) but the old message value is still displayed in the footer I have to change the value, apply it and switch it back to empty Same problem with SMTP server, admin email etc. System : Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.7.1 from the pack Jetty/HSQL Virtual Wiki is activated Christophe Périnaud 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
[xwiki-users] Bug : Unable to delete a file attached to the Wiki in the Import Area
Hello, When i try to delete a file attached to my virtual wiki i have this hibernate error message : A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not get next sequence value com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not get next sequence value at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1052) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1098) at com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore.saveToRecycleBin(HibernateAttachmentRecycleBinStore.java:83) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2799) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782) at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) 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:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Wrapped Exception: java.sql.SQLException: ORA-02289: sequence does not exist at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194) at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791) at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3431) at
[xwiki-users] Bug : Some statistics are displayed but not all are recorded and some crash
Hello, The statistics are activated in the xwiki.cfg file. When i go in the Stats space (in a virtual wiki) or not i have some data like Most viewes pages, Most active contributors but some got me a Velocity parsing error and generates an uncatchs java exception in JodaTimePluginApi : Error number 4001 in 4: Error while parsing velocity page Stats.WebHome Wrapped Exception: Failed to evaluate content with id Web Home com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Stats.WebHome Wrapped Exception: Failed to evaluate content with id Web Home at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:493) at com.xpn.xwiki.objects.classes.TextAreaClass.displayView(TextAreaClass.java:168) at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1536) at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1518) at com.xpn.xwiki.api.Document.display(Document.java:939) at sun.reflect.GeneratedMethodAccessor172.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159) at
[xwiki-users] Bug : unable to delete attached files in virtual wikis
Hello (again) All is ok in the main wiki but in a virtual wiki i can't delete an attached file of a page. After the confirmation message i got : A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not get next sequence value com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not get next sequence value at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1052) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1098) at com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore.saveToRecycleBin(HibernateAttachmentRecycleBinStore.java:83) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2799) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782) at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) 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:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Wrapped Exception: java.sql.SQLException: ORA-02289: sequence does not exist at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194) at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791) at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3431) at
Re: [xwiki-users] Syntax problem 1.0 - 2.0
Hi, On Mar 6, 2009, at 11:02 AM, Helmut Lehner wrote: Hi Vincent I don't know if there's much we can do here since the tinymce-based wysiwyg will have saved the content of the page in HTML in your case and the converter cannot distinguish this from someone typing HTML in the page. I get this code editing a page in WYSIWYG-Mode with Syntax 1.0 and only the headings are html. The rest is wiki syntax. This behavior started somwhere around Version 1.5 i think. before headings were created correctly in wiki syntax (as the rest). If you have an idea of how to do it let us know. For me you'll need to correct the 1.0 content for your pages that have this problem. I know how to correct this i just wanted to mention that this could be a problem not only for me but for every user who creates pages in syntax 1.0 in WYSIWYG and converts them to syntax 2.0 afterwards. Yes it's a problem. One thing that can be done is to write/provide a small velocity/groovy script that scans all wiki pages and replaces the heading with the wiki syntax. The best thing would be to make the tiny mce editor create headings again in wiki syntax:) That will not solve the problem for all page contents which have now HTML for headings. The next best thing would be to convert html headings like the ones created (without class, or style information) to headings in xwiki syntax 2.0 because i think there are fewer headings created intentionally in html with that code than by accident through that editor bug. I think I'd prefer the script solution since otherwise that'll make the converter heavier and with some hacks. WDYT? Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Bug : Out of memory when deleting a 8mo attached file
Hello, When i try to delete an attached file of 8Mo, i got this exception : A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 11014 in 11: Out Of Memory Exception com.xpn.xwiki.XWikiException: Error number 11014 in 11: Out Of Memory Exception at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2804) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782) at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) 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:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Do i have to change a parameter somewhere (launch of jetty ?) to disable this problem ? Thank you System : Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.7.1 from the pack Jetty/HSQL Christophe Périnaud 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] Bug : Out of memory when deleting a 8mo attached file
Hey Christophe, Hey everybody, This problem looks like the same problem that may occur with the import of large files into XWiki. Try to allocate more memory to the JVM. I had a similar problem yesterday (using XWiki in a Tomcat environment), and solved it that way. HTH, Sascha PERINAUD Christophe wrote: Hello, When i try to delete an attached file of 8Mo, i got this exception : A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 11014 in 11: Out Of Memory Exception com.xpn.xwiki.XWikiException: Error number 11014 in 11: Out Of Memory Exception at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2804) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782) at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) 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:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Do i have to change a parameter somewhere (launch of jetty ?) to disable this problem ? Thank you System : Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.7.1 from the pack Jetty/HSQL ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] SMTP authentications
Hi, I have crawled the mailing lists and support forums on this but I am unable to figure out the answer. I am evaluating Xwiki and love Workspaces from what I've seen so far. The one thing that really bogs me down is the inability to register an authenticated SMTP server. I have read there is a patch from Liliane, and the feature is included on 1.6 but I just can't seem to understand how to get is to work. In an evaluation perspective (and very much so as well in production), not being able to use authenticated SMTP server is a no go for me. Could you please point me to a resource that clarifies what the situation is and possibly, the steps to enable it on 1.7. Thanks ! norguir ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Bug : Out of memory when deleting a 8mo attachedfile
Hello Sasha Tahnk you for your reply. The -Xmx has been raised up to 512Mo and now it's ok. I have the same Oracle error message than other attached files i want to delete ... Christophe Périnaud -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Sascha Berkessel Envoyé : vendredi 6 mars 2009 13:53 À : XWiki Users Objet : Re: [xwiki-users] Bug : Out of memory when deleting a 8mo attachedfile Hey Christophe, Hey everybody, This problem looks like the same problem that may occur with the import of large files into XWiki. Try to allocate more memory to the JVM. I had a similar problem yesterday (using XWiki in a Tomcat environment), and solved it that way. HTH, Sascha PERINAUD Christophe wrote: Hello, When i try to delete an attached file of 8Mo, i got this exception : A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 11014 in 11: Out Of Memory Exception com.xpn.xwiki.XWikiException: Error number 11014 in 11: Out Of Memory Exception at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2804) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782) at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) 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:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Do i have to change a parameter somewhere (launch of jetty ?) to disable this problem ? Thank you System : Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.7.1 from the pack Jetty/HSQL ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users 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
Re: [xwiki-users] Problem with links in XWiki
Hi guys, Anybody have an idea about the problem described below? I can't seem to be able to solve it. Thanks a lot for your help. Christian De : Christian Dionne Envoyé : 3 mars 2009 15:06 À : users@xwiki.org Objet : Problem with links in XWiki Hi everybody, We are using XWiki Enterprise and we are getting a strange problem with one specific user. When this user accesses a page that contains links, edits this page and then saves it, all the links are modified and become invalid. Let's give me an example: - I have a page that contains a link to another page. The link path is purely simple as: [BurlingtonBurlington] - After he saves, the link will become: [Burlington../City/Burlington] City in this example would be the name of the space where this page is located. This creates a problem because the link becomes invalid. Strangely enough, if another user comes in and re-edit this page and re-save the page, it will correct the links. I tried to delete this specific user, the page and the space without success. What could be creating this problem and how can I fix it? Thanks in advance for your help. Christian Dionne Devez-vous vraiment imprimer ce courriel? Pensons à l'environnement! Do you really need to print this email? Help preserve our environment! L'information apparaissant dans ce message électronique et dans les documents qui y sont joints est de nature confidentielle ou privilégiée. Si ce message vous est parvenu par erreur et que vous n'en êtes pas le destinataire visé, vous êtes par les présentes avisés que toute utilisation, copie ou distribution de ce message est strictement interdite. Vous êtes donc prié d'en informer immédiatement l'expéditeur et de détruire ce message, ainsi que les documents qui y sont joints, le cas échéant. The information in this message, including in all attachments, is confidential or privileged. In the event you have received this message in error and are not the intended recipient, you are hereby advised that any use, copying or reproduction of this document is strictly forbidden. Please notify immediately the sender of this error and destroy this message, including its attachments, as the case may be. __ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [myxwiki] XWiki Enterprise 1.8RC2 Upgrade
Hello, myxwiki.org has been upgraded to XE 1.8RC2, if you own a wiki hosted there you should have a look at : http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise18RC2 We also strongly recommend an upgrade to the latest wiki version. To upgrade you must download XE 1.8RC2 XWiki XAR from : http://www.xwiki.org/xwiki/bin/view/Main/Download And follow the upgrade guide available at : http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradingwikidocuments To be notified of the myxwiki.org server upgrades you can follow myxwiki on twitter: http://twitter.com/myxwiki Thanks, JV. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Need HQL query for date comparison
Hello! I need an HQL query that does the following: Last modified date should be less than 15 days from today This is what I've tried: #set($sql = , BaseObject as obj, $proptype as prop where obj.className='${ISDclassname}' and obj.id=prop.id.id and prop.name='${viewby}' and doc.fullName=obj.name and doc.fullName!='${ISDclasstemplate}' and ($xwiki.getDate() - doc.contentUpdateDate) 15 order by prop.value) But I'm getting an error on the and ($xwiki.getDate() - doc.contentUpdateDate) 15 statement. What should I write instead? Mary Ellen Coleman ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Syntax problem 1.0 - 2.0
Hi, vmassol wrote: Hi, Yes it's a problem. One thing that can be done is to write/provide a small velocity/groovy script that scans all wiki pages and replaces the heading with the wiki syntax. That would be great for all existing pages with the wrong syntax. vmassol wrote: The best thing would be to make the tiny mce editor create headings again in wiki syntax:) That will not solve the problem for all page contents which have now HTML for headings. As long as both syntax can be used (both wysiwygs are available) someone will be able to create that scenario. I don't know if the plan is to remove the tiny mce wysiwyg then its no problem. (just wanted to mention that:) vmassol wrote: The next best thing would be to convert html headings like the ones created (without class, or style information) to headings in xwiki syntax 2.0 because i think there are fewer headings created intentionally in html with that code than by accident through that editor bug. I think I'd prefer the script solution since otherwise that'll make the converter heavier and with some hacks. WDYT? I also don't think the second option is a good one. As i said the script would be great for existing pages. But as long as the tiny mce editor has this bug and is available ... you know what i mean :-) Thanks hel. - hel. h...@hel.at -- View this message in context: http://n2.nabble.com/Syntax-problem-1.0--%3E-2.0-tp2430693p2436954.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Problem Deleting Space
I'm using the xwiki snippet code to delete spaces. I've had success with a few of them, but I've run into a problem. When trying to delete on particular space, I get the following error: Error number 4001 in 4: Error while parsing velocity page Rocks.deletespaces Wrapped Exception: Failed to evaluate content with id deletespaces Error number 4001 in 4: Error while parsing velocity page Rocks.deletespaces Wrapped Exception: Failed to evaluate content with id deletespaces com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Rocks.deletespaces Wrapped Exception: Failed to evaluate content with id deletespaces at com .xpn .xwiki .render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:113) at com .xpn .xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java: 84) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderText(DefaultXWikiRenderingEngine.java:272) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderText(DefaultXWikiRenderingEngine.java:202) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderText(DefaultXWikiRenderingEngine.java:170) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderDocument(DefaultXWikiRenderingEngine.java:159) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java: 438) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371) at sun.reflect.GeneratedMethodAccessor224.invoke(Unknown Source) at sun .reflect .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.util.introspection.UberspectImpl $VelMethodImpl.invoke(UberspectImpl.java:295) at org .apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java: 245) at org .apache .velocity.runtime.parser.node.ASTReference.execute(ASTReference.java: 203) at org .apache .velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294) at org .apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java: 318) at org .xwiki .velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178) at org .xwiki .velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143) at com .xpn .xwiki .render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:107) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1599) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:619) at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source) at sun .reflect .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.util.introspection.UberspectImpl $VelMethodImpl.invoke(UberspectImpl.java:295) at org .apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java: 245) at org .apache .velocity.runtime.parser.node.ASTReference.execute(ASTReference.java: 203) at org .apache .velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294) at org .apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java: 318) at org .apache .velocity .runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194) at org .apache .velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java: 74) at org .apache .velocity .runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java: 74) at org .apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java: 318) at org .apache .velocity .runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) at org .apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java: 318) at org .xwiki .velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178) at org .xwiki .velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143) at com .xpn .xwiki .render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:107) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1599) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226) 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)
Re: [xwiki-users] Translation Volunteers needed
The best way is the Review button.. Once you have checked reviewed them they will not come up again. http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?action=reviewlanguage=de We don't yet have a trusted reviewers group but it would be great to have one at one point. So for now anybody can review. I think the process should be that a review is a second chance to check translations before considering them valid. Ludovic hel-o a écrit : Hi, i decided to review all german translations because i found they are not really consistent. So i used the View All option, but when i save one result page i have to get back to the View All again and (i'm not sure) but i think the terms are not in the same order when i call the same result page twice (very bad for reviewing all terms). Whats the best way to edit and review all translation terms of a language? Thanks hel. Ludovic Dubost-2 wrote: Henning Sprang a écrit : On Mon, Feb 23, 2009 at 12:02 PM, Guillaume Lerouge guilla...@xwiki.com wrote: A XWiki Glossar would be a good thing. Good idea ! ;) ... Having something in the real translation tool where a wiki page with discussions and comments from translaters can be listed and checked would be interesting, I think. Well each language has a wiki page. http://l10n.xwiki.org/xwiki/bin/view/XE/XEXWikiCoreResources_667368132_xe-statistics-alltime_en http://l10n.xwiki.org/xwiki/bin/view/XE/XEXWikiCoreResources_667368132_xe-statistics-alltime_de http://l10n.xwiki.org/xwiki/bin/view/XE/XEXWikiCoreResources_667368132_xe-statistics-alltime_fr And comments can be used. The big question is how to make people realize there are comments. And maybe also, in the same place, a link to a place in the wiki in the language of choice where the string is used, so it can be seen in context. Including the english version for comparison ;) That would be nice but it's not so easy to know on which url the string is used.. We could find the template or wiki page and provide a URL to the source. But right now this is too much work for the translation tool developer (which happened to be me until now) Ludovic Henning ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users - hel. h...@hel.at -- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Logo and Skin
hi all i just accidently remove my default skin of my www.jug-asia.org, and i still cannot recover to default skin, anyone can help and i still cannot change the logo, anyone can help? i -- -- Frans Thamura Meruvian One Stop Java and Enterprise OSS Provider Mobile: +62 855 7888 699 Blog Profile: http://frans.thamura.info Training JENI, Medallion (Alfresco, Liferay dan Compiere).. buruan... URL: http://www.meruvian.com Promo: Beli Zmanda Backup di Meruvian, 10% discount dari pricelist.. Buruan sekarang!!! ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Logo and Skin
On Sat, 2009-03-07 at 10:11 +0700, Frans Thamura wrote: hi all i just accidently remove my default skin of my www.jug-asia.org, and i still cannot recover to default skin, anyone can help and i still cannot change the logo, anyone can help? i -- by default skin, you mean toucan or some custom skin you have made? because, i've tried adding '?skin=toucan' to your wiki's url, and it's still there, you must have messed with xwiki's settings or something*. However, if you are talking about a custom skin, you should check your backup (you have one, right?) and import it back into your xwiki*. regards, M Rawash * read documentation to learn how: http://www.xwiki.org/xwiki/bin/view/Main/Documentation ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Logo and Skin
Frans Thamura wrote: hi all i just accidently remove my default skin of my www.jug-asia.org, and i still cannot recover to default skin, anyone can help and i still cannot change the logo, anyone can help? i Go to http://www.jug-asia.org/xwiki/bin/view/XWiki/DefaultSkin?viewer=history and revert to an earlier version. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users