Kudos to Steven Schaub for taking the time to create a very nice piece of
documentation!
http://wwwxwiki.org/xwiki/bin/view/Dev/AggregateDocs
Steven - we are grateful.
Please consider moving this to the Samples and Snippets area of the
DevGuide. The DevGuide is the new de-facto home for developer
documentation.
http://www.xwiki.org/xwiki/bin/view/DevGuide/Samples+and+Snippets
(We might should rename this area to "Applications and Code Snippets" or
something like that.)
==================================
Cody Burleson
Ha! Thanks, I was trying <pre>\</pre>, forgot about the curly brackets.
-----Original Message-----
From: Erwann Robin [mailto:erobin@mandriva.com]
Sent: Friday, September 16, 2005 11:54 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] problem displaying character \
simply do :
{pre}\{/pre}
or "\"
Erwann
Le vendredi 16 septembre 2005 à 11:46 -0400, Lichman, Mark Eugene a
écrit :
> I cannot find a way to display this character "\" does anyone know how
> to do this?
>
> - Mark Lichman
> pièce jointe plain text document (message-footer.txt)
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
I am new with XWiki.
I uploaded a huge document (5MB) which caused a heap space exception.
Now I can't get the page back, I get instead the following error page, and
I can't delete it either (same kind of error page).
Is it possible to rescue my content?
Otherwise how can I get rid of this page and start fresh?
Thanks in advance.
-----------
Error number 4001 in 4: Error while parsing velocity page Wrapped
Exception: Invocation of method 'parseContent' in class
com.xpn.xwiki.api.XWiki threw exception class
java.lang.NullPointerException : null
Error number 4001 in 4: Error while parsing velocity page
Wrapped Exception: Invocation of method 'parseContent' in class
com.xpn.xwiki.api.XWiki threw exception class
java.lang.NullPointerException : null
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page
Wrapped Exception: Invocation of method 'parseContent' in class
com.xpn.xwiki.api.XWiki threw exception class
java.lang.NullPointerException : null
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:131)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:254)
at sun.reflect.GeneratedMethodAccessor80.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:267)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:172)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:223)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:125)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:87)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:50)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:244)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.NullPointerException
at com.xpn.xwiki.XWiki.parseContent(XWiki.java:772)
at com.xpn.xwiki.api.XWiki.parseContent(XWiki.java:250)
at sun.reflect.GeneratedMethodAccessor100.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:267)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:223)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:125)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:254)
at sun.reflect.GeneratedMethodAccessor80.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:267)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:172)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:223)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:125)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:87)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:50)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:244)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
XWiki
${doc.fullName}
$msg.get("login")
$msg.get("register")
XWiki Version 0.9.840
$msg.get("problemoccured")
$msg.get("detailedinformation"):
Error number 3202 in 3: Exception while reading document Cours.INFO7
Wrapped Exception: exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiDocument.setArchive
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document Cours.INFO7
Wrapped Exception: exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiDocument.setArchive
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:646)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
at com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:637)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:2428)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:133)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.hibernate.PropertyAccessException: exception setting property value
with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more
info) setter of com.xpn.xwiki.doc.XWikiDocument.setArchive
at
org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:203)
at org.hibernate.tuple.PojoTuplizer.setPropertyValues(PojoTuplizer.java:173)
at
org.hibernate.persister.entity.BasicEntityPersister.setPropertyValues(BasicEntityPersister.java:2900)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113)
at
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:510)
at org.hibernate.loader.Loader.doQuery(Loader.java:419)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:210)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1312)
at org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:116)
at org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:101)
at
org.hibernate.persister.entity.BasicEntityPersister.load(BasicEntityPersister.java:2461)
at
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:350)
at
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:331)
at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:113)
at
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:167)
at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:79)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:588)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:575)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
at com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:637)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:2428)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:133)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
Caused by: net.sf.cglib.beans.BulkBeanException: Lexical error at line
351, column 36. Encountered: "]" (93), after : ""
at
com.xpn.xwiki.doc.XWikiDocument$$BulkBeanByCGLIB$$9e5f0943.setPropertyValues()
at
org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:200)
... 65 more
Caused by: org.apache.commons.jrcs.rcs.TokenMgrError: Lexical error at
line 351, column 36. Encountered: "]" (93), after : ""
at
org.apache.commons.jrcs.rcs.ArchiveParserTokenManager.getNextToken(ArchiveParserTokenManager.java:800)
at
org.apache.commons.jrcs.rcs.ArchiveParser.jj_consume_token(ArchiveParser.java:558)
at org.apache.commons.jrcs.rcs.ArchiveParser.archive(ArchiveParser.java:104)
at org.apache.commons.jrcs.rcs.ArchiveParser.load(ArchiveParser.java:55)
at org.apache.commons.jrcs.rcs.Archive.(Archive.java:230)
at com.xpn.xwiki.doc.XWikiDocument.setArchive(XWikiDocument.java:475)
... 67 more
${doc.fullName} ($tdoc.getRealLanguage())
Valid XHTML 1.0! Valid CSS2!
Copyright 2005 (c) Auteur des pages
I started out that direction -- but I wanted the user to be able to save a
document specification as a separate wiki page, so the user wouldn't have to
keep filling out a form to generate the same document. But it wouldn't be
hard to allow all of the configuration info (stylesheet parameters, and even
the title page) to be submitted via the query string, in addition to
supporting the current document specification approach.
Stephen
>From: Ludovic Dubost <ludovic(a)xwiki.com>
>To: Stephen Schaub <stephen_schaub_88(a)hotmail.com>
>Subject: Re: Request Groovy programming on sschaub.xwiki.com
>Date: Fri, 16 Sep 2005 00:34:53 +0200
>
>
>Done.. This starts to look really cool...
>What you need to do now is turn your summary page into a form to simplify
>creating one like that for a non specialist..
>
>Ludovic
>
>[snip]
Thanks to the help I've received from several members (particularly Ludovic) on this list, I have been able to put together an XWiki Groovy page that generates aggregate PDF's with a table of contents and an optional title page. This is a work in progress, but I thought it might be useful to others, so I've posted it here:
http://www.xwiki.org/xwiki/bin/view/Dev/AggregateDocs
Regards,
Stephen
When i go to the xwiki website i find in the left column a statistics menu,
i was wondering how to do that ? I tried some things but can't seem to
get it to work ... could anyone hint me ?
Hi,
when I enable the the user registration email an add a user nothing happens.
i tripplechecked the smtp server and admin adress settings.
is more configuration than just the serversettings in the xwiki
preferences => registration page necessary?
Thank you,
Sascha
Ludovic,
Thanks. That works. As it has pointed by by another user -
/xwiki/bin/youraction/ without the document specification works too.
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Tuesday, September 13, 2005 5:14 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] adding custom struts action to existing xwiki
struts configuration
Hi,
The XWiki actions expect always a document name I think.. So the URL
should be
/xwiki/bin/youraction/Space/Doc
If you want a different behaviour you will need to modify the
XWikiRequestProcessor
I'd like to find a more dynamic way for plugins to add their actions..
This probably needs some XWiki service that binds to the struts config
Ludovic
YEUNG, HOWARD (CONTRACTOR) wrote:
> Hi there,
> I wonder if it possible to add my own action classes. The action
class
> runs fine in its own context. Then action class is added to the
> WEB-INF/classes and the struts-config.xml is updated to reference the
> class. (Of course I re-started the Tomcat) However I get an "Invalid
> path was requested" error when I reference the action in the
/xwiki/bin/
> context.
>
> Also I wonder if this is doable in xwiki. The xwiki uses struts. But
> can people add their own custom action class to it. Thanks.
>
> Howard Yeung
>
>
>
>
------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the
xwiki-users(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
I have a fresh install of xwiki 0.9.840 using Tomcat 5.0 and MySQL 4.1,
and PDF export isn't working. Looking at xwiki.log reveals pages and
pages of exceptions, but the parts that look relevant are lines like these:
03:28:28,881 WARN TP-Processor1 RequestUtils:createActionForm:177 - No
FormBeanConfig found under 'pdf'
03:28:32,332 WARN TP-Processor1
http://SERVERNAME.DOMAIN.TLD/xwiki/bin/pdf/Main/KnowledgeBase
ViewEditAction:execute:242 - Uncaught exception: Error number 12003 in
12: XSL Transformation Failed
Any idea what might be causing this? The only out of the ordinary
conditions of this install that I can think of is that I've deleted the
XWiki.Admin account and created other accounts for the administrators.
Jeremy Ehrhardt
<http://turbine/xwiki/bin/view/Main/WebHome>
Hi,
Has anyone considered trying to force an "Edit as HTML" on the contents of particular fields of a class, such as the Content field of the blog's ArticleClass when #if($context.action="inline") on ArticleClassSheet is true?
With something as simple as a javascript plus a sql query around the $doc.display("content", "edit", $obj) ?
I see how it might not be possible considering "Edit as HTML" works on a whole page, so maybe just wishful thinking.
I like the setup as is with being able to write wiki syntax into Content fields, but some of my users will prefer to use htmlarea in all cases.
thx in adv,
-ken
FYI:
My next focus for documenation will be about "Managing User and Group
Access Rights". This documentation will live in the AdminGuide. I will
leverage off of the FAQ doc (which is all that exists as I can tell). If
there is anything you can contribute to this topic, please submit comments
to me or directly online in the AdminGuide. I hope to have something solid
written by next Monday.
Latest submission for review:
How to Edit the Top Menu
http://www.xwiki.org/xwiki/bin/view/AdminGuide/+Editing+Top+Menu
and also
How to Create Flatlook Tabs with Highlighting
http://www.xwiki.org/xwiki/bin/view/AdminGuide/Top+Menu+Example+with+Flatlo…
==================================
Cody Burleson
Hi everyone,
first, a compliment for the developers of XWiki, it seems to be well done
and very promissing. I just starting using XWiki. I created a wiki at
XWiki.com and now downloaded it to first run it at my localhost then later
at my server.
I have a couple of short question. Please forgive me if they are obvious
questins or if they have been posted and discussed already.
1. When I start XWiki at localhost, I seem to be logged in. I see "Hello
Ashraf" on the upper right corner. There is not an Edit function under "More
Actions" link though, so I can not edit or add pages. I registerd a new
user, logged in with the new account but it is the same, cann't edit either.
Why that? What should I change in order to be able to edit contents of
pages?
Note, I can edit pages if i am logged in as admin.
2. In the installation instructions, it says: * The default admin user is
Admin with password admin. Is it possible to change those default values?
3. Surfing around in Xwiki, online as well as local, seems to be slow! is
Java responsible for that? Why? I've seen other java-based wikis that are
faster than this!
4. How can I remove users ? is it possible at all?
Thanks a lot,
Ashraf
Hi there,
I wonder if it possible to add my own action classes. The action class
runs fine in its own context. Then action class is added to the
WEB-INF/classes and the struts-config.xml is updated to reference the
class. (Of course I re-started the Tomcat) However I get an "Invalid
path was requested" error when I reference the action in the /xwiki/bin/
context.
Also I wonder if this is doable in xwiki. The xwiki uses struts. But
can people add their own custom action class to it. Thanks.
Howard Yeung
Some further developments. It looks as if the font is being set to null
somewhere (according to Java Console), haven't been able to figure out where
yet.
-----Original Message-----
From: Lichman, Mark Eugene
Sent: Thursday, September 08, 2005 4:36 PM
To: xwiki-users(a)objectweb.org
Subject: RE: [xwiki-users] sitemap
Yes, "Main_WebHome.mm" is the name of the attached mindmap.
Could there be an authentication conflict with how the file is getting attached
and the DNS service?
-----Original Message-----
From: jeremi joslin [mailto:jeremi23@gmail.com]
Sent: Thursday, September 08, 2005 4:25 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] sitemap
I have no ideas!
is "Main_WebHome.mm" is the name of your attached mindmap?
Jérémi
On 9/8/05, Lichman, Mark Eugene <MLICHMAN(a)partners.org> wrote:
> Using a DNS entry (http://lcswiki will load the main xwiki page), tomcat is
set
> on port 80. The sites main url is:
"http://lcswiki/xwiki/bin/view/Main/WebHome".
>
> -----Original Message-----
> From: jeremi joslin [mailto:jeremi23@gmail.com]
> Sent: Thursday, September 08, 2005 4:15 PM
> To: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] sitemap
>
>
> are you sure it's the good URL?
> Are you on the port 8080?
>
> Jérémi
> On 9/8/05, Lichman, Mark Eugene <MLICHMAN(a)partners.org> wrote:
> > Thanks for this, looks great on the runners site.
> >
> > When trying this out I get the popup message:
> > Could not load map at
> > URL:"http://lcswiki/xwiki/bin/download/Main/MindMap/Main_WebHome.mm"
> > (Sorry, intranet only)
> >
> > Once I click OK in the popup and then update, it does correctly attach a
file
> to
> > the page and I can view this file in Freemind and it looks correct in
Freemind
> > but does not display within the wiki.
> >
> > What am I doing wrong? This looks like a great feature and I'd love to get
it
> > working on my site.
> >
> > Please help.
> >
> > Thanks,
> >
> > - Mark
> >
> > -----Original Message-----
> > From: jeremi joslin [mailto:jeremi23@gmail.com]
> > Sent: Saturday, September 03, 2005 4:08 PM
> > To: xwiki-users(a)objectweb.org
> > Subject: Re: [xwiki-users] sitemap
> >
> >
> > On 9/3/05, Cody Burleson <cburleso(a)us.ibm.com> wrote:
> > >
> > > Could you also try to document how to use the code your posted for the
> benefit
> > of all? An ideal format would be:
> > >
> > > 1. How to use the code
> > > 2. The code (snippet)
> > > 3. A working example (preview) of the results
> > >
> >
> > Done
> >
> >
> >
> > --
> > portable : 06.73.20.11.49
> > http://www.jeremi.info
> > http://www.xwiki.com - http://www.moovement.com
> > skype: jeremi23
> >
> >
> >
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> mailing list.
> > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
> >
> >
>
>
> --
> portable : 06.73.20.11.49
> http://www.jeremi.info
> http://www.xwiki.com - http://www.moovement.com
> skype: jeremi23
>
>
>
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
--
portable : 06.73.20.11.49
http://www.jeremi.infohttp://www.xwiki.com - http://www.moovement.com
skype: jeremi23
BTW, If you have local installs of XWiki in your companies, it would be
great to list your company on this page:
http://www.xwiki.org/xwiki/bin/view/Dev/XWikiInstallations
This would allow us to advertise the fact that we have great companies
using XWiki !
Thanks for you support
Ludovic
Hey all,
Just to let you know that the test xwiki we set up in our server cluster
didn't go well. However, we are installing as a stand alone and we
would like to know as soon as the it is cluster ready.
Thanks,
Tim
Hi All,
I'm starting to have a look at groovy scripting in xwiki and have a couple
of basic questions:
In the example below (from xwiki.org)
<%
def foo(list, value)
{
println "Calling function foo() with param ${value} <br>";
list << value;
}
x = [];
foo(x, 1);
foo(x, 2);
foo(x, 3);
foo(x, 4);
println "Creating list ${x}";
%>
1) does the groovy variable ${value} get translated before the velocity
${value} (if defined) or vice versa?
2) I tried the example and get the following result:
Calling function foo() with param 1
Calling function foo() with param 2
Calling function foo() with param 3
Calling function foo() with param 4
Creating list 1, 2, 3, 4?
where the "1, 2, 3, 4?" is a link to "1,+2,+3,+4". I assume the output from
groovy is then processed by the xwiki syntax?
Thanks
Duke
Hi,
I'm using v0.9.840 with j2sdk-1.4.2_06 authenticating against OpenLDAP. It works but for the known problem where "Login of local XWiki user (not in LDAP) doesn't work when LDAP auth used" [bug, key: XWIKI-72]; So, I'd like to try the code patch provided on that jira page.
However, I'm just an admin and tho I installed ant and downloaded the xwiki source code (and placed that .diff patch next to its target), I didn't get very far out the door:
[no@nowhere xwikisrc]$ ant -debug
Buildfile: build.xml
BUILD FAILED
/home/no/xwikisrc/build.xml:126: taskdef A class needed by class org.apache.cactus.integration.ant.CactusTask cannot be found: junit/framework/Test
I read-up on this and figure that I need junit and maybe to learn ant, but at this point I must ask:
if I start using this patched version will I go down an un-upgradable branch of code and hose my content when I upgrade next?
can I just switch out the existing LDAPAuthServiceImpl.class in my xwiki install with a patched version without having to rebuild the whole app?
and, can anyone point me to an XWIKI-72-patched version of that class b/c I see that merely javac'ing the LDAPAuthServiceImpl.java file doesn't work (cannot resolve symbol errors :)
...if the answer to all of these is "no" I'll just keep trying to build from source, so not too much hand holding needed.
thanks for your help,
Ken
Has anyone seen this issue before? In one particular document (a tutorial
I am trying to write for the XWiki docs), when I click Edit, I get a new
view (no left or right-hand toolbars) - but the document does not display
an edit field or Save button. It seems to be in render mode still (even
though the nature of the view changes somewhat). If I roll back a version,
it works proper. What I had added that seems to break it is some velocity
code inside the {code:xml}...{code} tag.
I am using #\ and $\ to escape Velocity characters inside the code tag.
Any ideas?
Also, does anyone know why I can view page code by adding the URL paramer
raw=1 or xpage=1? What is the difference in the two parameters and why
would I choose one over another if I needed to view page code? The first
question is more important; this one is just an aside.
==================================
Cody Burleson
Does anyone know how, through scripting, we may be able to identify that a
user is in a particular group? Here's what I am trying to do:
I want to permission some wiki spaces to particular groups only.
But I also need to have some pages link to those spaces that are more
public.
I would like to write some script to render or hide links based on whether
or not the authenticated user is in a given group.
Thanks in advance for your help, and thanks for all the help given thus
far.
==================================
Cody Burleson
Hi All,
What does it mean when the #includeTopic has "xwiki:" before the page name?
For example, #includeTopic("xwiki:Dev.GroovyShowHeaders")
Thanks.
Duke
Is there a feature (perhaps somewhat hidden that I haven't noticed) that
could allow users to "watch" for changes on content and recieve email
notifications? If not, would this feature be useful to more than just
myself? Would it be most appropriate as a plug-in or would it be best
developed using scripting at the presentation layer?
==================================
Cody Burleson
Yes, "Main_WebHome.mm" is the name of the attached mindmap.
Could there be an authentication conflict with how the file is getting attached
and the DNS service?
-----Original Message-----
From: jeremi joslin [mailto:jeremi23@gmail.com]
Sent: Thursday, September 08, 2005 4:25 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] sitemap
I have no ideas!
is "Main_WebHome.mm" is the name of your attached mindmap?
Jérémi
On 9/8/05, Lichman, Mark Eugene <MLICHMAN(a)partners.org> wrote:
> Using a DNS entry (http://lcswiki will load the main xwiki page), tomcat is
set
> on port 80. The sites main url is:
"http://lcswiki/xwiki/bin/view/Main/WebHome".
>
> -----Original Message-----
> From: jeremi joslin [mailto:jeremi23@gmail.com]
> Sent: Thursday, September 08, 2005 4:15 PM
> To: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] sitemap
>
>
> are you sure it's the good URL?
> Are you on the port 8080?
>
> Jérémi
> On 9/8/05, Lichman, Mark Eugene <MLICHMAN(a)partners.org> wrote:
> > Thanks for this, looks great on the runners site.
> >
> > When trying this out I get the popup message:
> > Could not load map at
> > URL:"http://lcswiki/xwiki/bin/download/Main/MindMap/Main_WebHome.mm"
> > (Sorry, intranet only)
> >
> > Once I click OK in the popup and then update, it does correctly attach a
file
> to
> > the page and I can view this file in Freemind and it looks correct in
Freemind
> > but does not display within the wiki.
> >
> > What am I doing wrong? This looks like a great feature and I'd love to get
it
> > working on my site.
> >
> > Please help.
> >
> > Thanks,
> >
> > - Mark
> >
> > -----Original Message-----
> > From: jeremi joslin [mailto:jeremi23@gmail.com]
> > Sent: Saturday, September 03, 2005 4:08 PM
> > To: xwiki-users(a)objectweb.org
> > Subject: Re: [xwiki-users] sitemap
> >
> >
> > On 9/3/05, Cody Burleson <cburleso(a)us.ibm.com> wrote:
> > >
> > > Could you also try to document how to use the code your posted for the
> benefit
> > of all? An ideal format would be:
> > >
> > > 1. How to use the code
> > > 2. The code (snippet)
> > > 3. A working example (preview) of the results
> > >
> >
> > Done
> >
> >
> >
> > --
> > portable : 06.73.20.11.49
> > http://www.jeremi.info
> > http://www.xwiki.com - http://www.moovement.com
> > skype: jeremi23
> >
> >
> >
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> mailing list.
> > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
> >
> >
>
>
> --
> portable : 06.73.20.11.49
> http://www.jeremi.info
> http://www.xwiki.com - http://www.moovement.com
> skype: jeremi23
>
>
>
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
--
portable : 06.73.20.11.49
http://www.jeremi.infohttp://www.xwiki.com - http://www.moovement.com
skype: jeremi23