Recently I included the tagcloud snippet in one of my panels. In some pages it works fine, but in other pages I get this error message in stead of the cloud:
Error number 4001 in 4: Error while parsing velocity page Main.Tags Wrapped Exception: Invocation of method 'sort' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @ Main.Tags3,25?
Error number 4001 in 4: Error while parsing velocity page Main.Tags
Wrapped Exception: Invocation of method 'sort' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @ Main.Tags3,25?
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Main.Tags
Wrapped Exception: Invocation of method 'sort' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @ Main.Tags3,25?
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:148)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:91)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:222)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:154)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:125)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:411)
at com.xpn.xwiki.objects.classes.TextAreaClass.displayView(TextAreaClass.java:163)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1312)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1292)
at com.xpn.xwiki.api.Document.display(Document.java:866)
at sun.reflect.GeneratedMethodAccessor153.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.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.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.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor135.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.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor135.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.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 com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
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:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.NullPointerException
at java.util.Collections.sort(Collections.java:116)
at com.xpn.xwiki.api.XWiki.sort(XWiki.java:1687)
at sun.reflect.GeneratedMethodAccessor179.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.value(ASTReference.java:419)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:91)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:222)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:154)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:125)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:411)
at com.xpn.xwiki.objects.classes.TextAreaClass.displayView(TextAreaClass.java:163)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1312)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1292)
at com.xpn.xwiki.api.Document.display(Document.java:866)
at sun.reflect.GeneratedMethodAccessor153.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.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.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.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor135.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.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor135.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.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 com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
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:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Sorry for the long text.
When I want to view All Tags from my menu, I get no tags, and the source of the page shows a similar error message.
Any help is welcome.
Inge
De disclaimer van toepassing op e-mail van de gemeente Den Haag vindt u op:
http://www.denhaag.nl/disclaimer
Hi,
First: I am rather new to XWiki.
I am checking XWiki's scripting capabilities. The possibility of using
Groovy and Velocity directly within pages is a nice feature. But I was
wondering if there was an easier way to integrate dynamic contents into wiki
pages. Groovy is easier than Java but you still need advanced programming
skills to use it. In my opinion staying at the Groovy level is not
user-friendly when you think that wikis are aimed for a broad audience. Most
advanced wikis (TWiki or Deki Wiki for example) give simple scripting
syntaxes thought for users with no programming skills.
Is there anything like that foreseen for XWiki?
The same applies to the form ant template system. It seems impossible for a
normal user to use them. I was surprised to find the how-tos for these
features in the developer guide, not the user guide.
Thanks,
William
Vincent,
The XAR was exported from the same xwiki-enterprise-1.1-milestone-3 version
of our xwik, so it should be ok, but is unreadable.
It's great having the Import/Export facility in XWiki but a separate
Backup/Restore facility based on the code behind the Import/Export facility
would be good ... something like
http://confluence.atlassian.com/display/DOC/Administrators+Guide#Administrat
orsGuide-dataandBackups
<http://confluence.atlassian.com/display/DOC/Administrators+Guide#Administra
torsGuide-dataandBackups> (daily backups, etc) rather than having to backup
via a database backup utility, and if you didn't have to attach an XAR file
to import it as a backup you wouldn't have the constraints of attaching a
file and importing/restoring would be more efficient.
Being able to backup and restore data easily is very important to my
organisation ... most organisations.
Thanks,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf Of
Vincent Massol
Sent: 21 November 2007 16:14
To: XWiki Users
Subject: Re: [xwiki-users] Export/Import/Backups
Hi Richard,
On Nov 21, 2007, at 4:56 PM, goldring, richard wrote:
Hi,
I had a problem with importing an XAR running
xwiki-enterprise-1.1-milestone-3 and my WinZip program didn't recognise the
XAR as zipped file like other XAR files. Is this a known problem?
You say you have a XAR that you cannot import in XE 1.1.M3. So the question
is: where did you get this XAR from?
Has it been fixed in the latest releases? Is there anyway to recover the
data in this 'corrupted' XAR?
Let's first understand your problem.
Could the Import/Export facility be develop to provide proper backups (as
Confluence does) so you don't have to attach an XAR file to restore as a
backup?
Could you describe a bit more what you call a "poper backup". I haven't used
confluence for a while and I don't recall how it does it (I thought it was
generating a zip containing XML files much like what xwiki does).
BTW for large databases we don't recommend using XARs (they should be
reserved for applications import/exports I think) since attaching tens of MB
isn't a good solution. For large DBs we recommend backuping the DB using the
standard DB backup tools.
If you have some ideas for improving backups please let us know. That'd be
cool.
Thanks
-Vincent
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hello,
i've gotten my xwiki install running on Websphere 6.1 & SQLserver & just wanted to thank the gentleman that helpfully added his sql server configuration instructions to the site. Seems like the biggest change was converting VARCHAR columns> 8000 characters to TEXT columns, if i recall correctly.
i still get two exceptions on startup, but they don't prevent using the wiki:
a. Websphere still complains that it can't find EnumerateTei class file in the struts jar. (It legitimately doesn't appear to be there.)
b. Websphere complains about a url mapping clash for three url mappings in web.xml.
xwiki is quite nice. i particularly like the Eclipse integration feature. Thanks for getting my boss off my back!
Regards,
david bessire
_________________________________________________________________
Put your friends on the big screen with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC…
Hi,
I had my xwiki linux pc crash on me during a powercut and the HSQLDB
database seemed to revert to content that was on the xwiki several weeks
ago.
What's happened? Does hsqldb store data in memory and that is why the data
has got lost when the power went? I thought it stored the data in
xwiki_db.script? Anyone?
Regards,
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi,
I had a problem with importing an XAR running
xwiki-enterprise-1.1-milestone-3 and my WinZip program didn't recognise the
XAR as zipped file like other XAR files. Is this a known problem? Has it
been fixed in the latest releases? Is there anyway to recover the data in
this 'corrupted' XAR?
Could the Import/Export facility be develop to provide proper backups (as
Confluence does) so you don't have to attach an XAR file to restore as a
backup?
Regards,
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi fellow XWikiers,
a quick e-mail to tell you that 3 XWiki team members will be at Javapolis (
http://www.javapolis.com/ ) in Antwerp, Belgium, from the 12/12 to the 14/12
2007. Javapolis is the biggest yearly Java event in Europe.
Vincent Massol, Jean-Vincent Drean and me will be there to answer every
question you may have about XWiki. You'll have the opportunity to meet
people from other OW2 projects such as eXo too.
Please let us know whether you'd be interested to attend the conference on
the dedicated XWiki Facebook Event page at
http://www.facebook.com/event.php?eid=14478490493
.
You can check out XWiki's booth location on the floor plan (available on
XWiki.org at http://www.xwiki.org/xwiki/bin/view/Blog/XWikiAtJavapolis2007
)
Looking forward to seeing you there,
The XWiki team
Hi all,
We've recently had a request for notifications on our hosted wiki; from
the API documentation this should work (no errors are returned either
when I call $xwiki.sendMessage).
Problem is, I suspect either the message sending needs a specific
configuration or sending is otherwise blocked (we use javamail on our
own internal wiki, this is not possible it seems on hosted solution).
How should this be configured for the hosted wiki farm?
Brandon Esbach
Software Engineer
Wireless Systems Segment
Tyco Electronics
4 Eastgate Road
Eastgate
Little Island
Co. Cork
Ireland
Tel: +353-21-4808305
Email: esbachb(a)tycoelectronics.com
Hello,
For the past week and a half I have encountered the same error when I needed to create a class. (below) I only received this error this year because of my summer research assignment required this feature and it worked. I have tried two different versions of Apache Tomcat, reformatted my computer, used the most recent stable version and the previous version of XWiki. I even installed it on my computer at work and it still does the exact same error. What could the problem be? I followed each step carefully each time and checked the documentation for any help but no success. What could be the problem because this is holding back the progress of my research development?
Thanks for your time,
Tim Campbell
Error number 4001 in 4: Error while parsing velocity page XWiki.Server Wrapped Exception: Invocation of method 'substring' in class java.lang.String threw exception java.lang.StringIndexOutOfBoundsException: String index out of range: -1 @ XWiki.Server4,26? <http://localhost/xwiki/bin/edit/XWiki/4%2C26?parent=XWiki.Server&editor=wys…>
Error number 4001 in 4: Error while parsing velocity page XWiki.Server
Wrapped Exception: Invocation of method 'substring' in class java.lang.String threw exception java.lang.StringIndexOutOfBoundsException: String index out of range: -1 @ XWiki.Server4,26? <http://localhost/xwiki/bin/edit/XWiki/4%2C26?parent=XWiki.Server&editor=wys…>
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page XWiki.Server
Wrapped Exception: Invocation of method 'substring' in class java.lang.String threw exception java.lang.StringIndexOutOfBoundsException: String index out of range: -1 @ XWiki.Server4,26? <http://localhost/xwiki/bin/edit/XWiki/4%2C26?parent=XWiki.Server&editor=wys…>
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:148)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:91)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:222)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:154)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:125)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:117)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:401)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:366)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
(I cut this short)
What bit of code is inserting spaces into my CamelCase links by default?
Is there any easy way to deactivate this?
Thanks,
Paul D. Grodt
TECORE Wireless Systems
> Hi all,
>
> We've recently had a request for notifications on our hosted wiki; from
> the API documentation this should work (no errors are returned either
> when I call $xwiki.sendMessage).
> Problem is, I suspect either the message sending needs a specific
> configuration or sending is otherwise blocked (we use javamail on our
> own internal wiki, this is not possible it seems on hosted solution).
>
> How should this be configured for the hosted wiki farm?
Hello Brandon,
About the configuration i'm afraid I can't help much ; but I want to let
you know we've recently introduced the mailsender as a platform plugin,
which has much more capacities than xwiki.sendMessage (a really nice
feature is to send mails against a template object in a regular XWiki
document, which mailbody or subject fields can contains velocity that will
be parsed on sending).
Jérome.
> Brandon Esbach
> Software Engineer
> Wireless Systems Segment
> Tyco Electronics
> 4 Eastgate Road
> Eastgate
> Little Island
> Co. Cork
> Ireland
> Tel: +353-21-4808305
> Email: esbachb(a)tycoelectronics.com
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
> Hi Raffaello,
>
> It's "tycoelectronics.xwiki.com"
Oh, did not get it was on XWiki farm. Sorry about that.
Jérôme.
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
> Of Raffaello Pelagalli
> Sent: 20 November 2007 15:34
> To: XWiki Users
> Subject: Re: [xwiki-users] Hosted wiki - sending email
>
> "Esbach, Brandon" <Esbachb(a)tycoelectronics.com> writes:
>
>> Hi all,
>>
>> We've recently had a request for notifications on our hosted wiki;
>> from the API documentation this should work (no errors are returned
>> either when I call $xwiki.sendMessage).
>>
>> Problem is, I suspect either the message sending needs a specific
>> configuration or sending is otherwise blocked (we use javamail on our
>> own internal wiki, this is not possible it seems on hosted solution).
>>
>> How should this be configured for the hosted wiki farm?
>
> Hi Brandon,
>
> What is the name of your wiki on the farm ?
>
> Best regards,
> --
> Raffaello Pelagalli
> XPertNet - XWiki.com
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Hi,
I am currently trying to install XWiki on a linux machine (i486, ubuntu
7.10, java 6, mysql 5, tomcat 5.5, firefox) but I am faced to an error
at the first run (see exception trace below).
I have checked that the database is indeed running, that the
login/password are accepted when logging manually, that the mysql java
connector library is there (it wasn't there first, but I put it at the
right place in /usr/share/tomcat5.5/webapps/xwiki/WEB-INF/lib and the
problem remains), that the configuration file says 127.0.0.1 instead of
localhost in the connection.url field (as suggested in a previous
similar problem found in the archives of this list)...
I feel like I have exhausted all the solutions I could find online or
figure out by myself today. So if any of you has an idea about what is
wrong and where... your help will be very welcome :-)
Thanks.
Karim-Pierre Maalej.
exception
javax.servlet.ServletException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences
Wrapped Exception: Could not create a DBCP pool
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:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
cause mère
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences
Wrapped Exception: Could not create a DBCP pool
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:247)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:397)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)
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:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.2 Milestone 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the last milestone release for the 1.2 version. It's packed
with new features and improvements. The next version will be 1.2 RC 1
and will focus on improving the stability. The roadmap is to release
1.2 final for beginning of December 2007.
Main changes from 1.2M1:
* Completely redesigned the UI for managing permissions and groups/
users. It's now a nice Ajax interface which scales to any number of
users.
* A new Mail Sender plugin has been added. It's a generic plugin that
you can use from Velocity/Groovy pages and that is also used by the
Watchlist feature below to send notification emails.
* New Watchlist feature which allows watching pages and spaces and
receive email notifications when they are modified.
* The Scheduler Plugin and the Scheduler Application have been
released in version 1.1 and are bundled with XWiki Enterprise 1.2
milestone 2. They allow you to create jobs (Groovy scripts) to be
executed in the future. They are used for example in the Watchlist
plugin to send email notifications for pages or spaces you are
monitoring.
* New displayPanelLayout Macro to display Panels in page.
* New JODA Time plugin to allow using JODA time from Velocity/Groovy
pages.
* The top level edit menu has been reorganized. Separators have been
added, the Rename and Delete actions have been moved in an Action menu
and a new Watch menu has been added.
* Entering URLs such as http://myserver/xwiki goes to the Main.WebHome
page by default (it used to display some installation instruction page).
* Panels from other virtual wikis can be used now.
* Lucene Search UI and stability has been improved.
* Removed the Presentation application from the default wiki (since it
was not maintained and was buggy).
+ bug fixes and other improvements
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise12M2
Thanks
-The XWiki dev team
hi,
i have a really strange problem with the automatic numbering
of xwiki headings. i have two user: the admin user and a personal
one for editing. when i save the page below i see that the headings
have a numbering. when i view the page with my second user i see
the numbering as well.
but when i edit and save this page with my second user - without
changing anything - the numbering disappears.
is the numbering of heading somehow related to user rights?
using xwiki-1.1.1.5166
g,
kirs
page:
1 Brainstorming
#toc("" "" "true")
1.1 User Interface
1.1.1 User Interface Concept
1. item 1
1. item 2
1. item 3
1.1.1.1 Menue
text
1.1.1.1 Context
....
The XWiki development team is pleased to announce the release of
Application Manager 1.0M2, Wiki Manager 1.0M2 and XWiki Enterprise
Manager 1.0M2.
Theses releases contains lots of bugfix and improvements.
Main new features:
- introduce new XWiki Platform 1.1.2 rights management interface.
- general improvement of Application Manager, Wiki Manager and XEM
interfaces and errors reporting.
- applications translations pages are now dynamically registered
(xar imported containing applications descriptors, translation page
added to an application descriptor, etc.)
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM10M2
Thanks
-The XWiki dev team
Is there a way to get the back-links for properties of a custom class instances?
The current backlinks infrastructure seems to work only over links of
ordinary Documents.
In particular, on line 1507 of com.xpn.xwiki.storeXWikiHibernateStore,
in the saveLinks function of a recent SVN checkout it says:
XWikiRenderer renderer =
renderContext.getWiki().getRenderingEngine().getRenderer("wiki");
renderer.render(doc.getContent(), doc, doc, renderContext);
links = (List) renderContext.get("links");
How can this be parameterized, so that links contained in property
values of custom Class Instances are being included into the links
variable?
Example:
Class Car:
Instance Space1.car1
Property "carsThatAreFaster": values: "Space1.car2"
where Space1.car2 is a link to another Car instance. The above
saveLinks function does not update the BackLinks table with the
Space1.car2 link.
Any ideas are appreciated.
Thanks,
Andreas
With the exception of backslashing individual characters, is there any
way I could prevent wiki syntax rendering, and Groovy/Velocity
rendering? To put it another way, is there any way I can prevent
rendering of everything BUT HTML?
As a musing, (speaking with essentially no Groovy/Velocity experience,)
it would be nice to see a macro that selectively escapes each of the
rendering methods. For example:
{dontrender[:wiki][:html][:groovy][:velocity]}
markup
{/dontrender}
Thanks,
Paul D. Grodt
TECORE Wireless Systems
> What is wrong? Does the user need to have an account on the system
> before LDAP will work? How do I get it to not add the user to the
> XWikiAllGroup three times on each login?
This is weird. I have the same setup and my config looks similar. Users
get created and added to XWikiAllGroup automatically.
The following things come to mind:
- Make really sure the user doesn't exist already, e.g. from previous
login attempt, or from forgotten cookies
- What format do your sAMAccountNAmes have? I heard that names with dots
or @ signs can cause problems.
- Are there any users at all created, maybe with the wrong username?
Thanks,
Tobias
I'm considering replicating XWiki across multiple Tomcat instances, and load
balancing them with Apache. Has anyone ever attempted this? I found
assorted messages on this forum from ~2005 indicating that XWiki wasn't
"clusterable", because there were some caches that needed synchronizing,
etc. Is this still the case?
Thanks
Ben
Hi all,
If I wrote this in a wiki page:
{code}code1{code}
some text
{code}code2{code}
When the page is displayed, there aren't two code section, but only one,
and the "some text" is included in the code section.
I'm using it in the wrong way?
Thanks,
Vito
--
Vitantonio Messa
+358 46 889 48 49 - vitantonio.messa(a)coss.fi
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND
> Hi,
>
> To generate attachment link you can use :
>
> {attach:settings.xml}
>
> 2007/11/16, pentaho(a)fsck.ch <pentaho(a)fsck.ch>:
>> Hi
>>
>> I have attached a file named settings.xml and I now want to link to it.
>> How do I do that?
>>
>> [settings.xml] doesn't work, neither does [settings\.xml]
Cool, then the wysiwyg editor needs to be fixed, as [settings.xml] is what
it generated when I used it to create a link to an attached file.
> Cool, then the wysiwyg editor needs to be fixed, as [settings.xml] is what
> it generated when I used it to create a link to an attached file.
To be precise, I clicked on the little chain icon and used the link dialog
to upload the attachment. For half of my attachments, this didn't work.
Either the attachment wasn't uploaded, or the created link didn't work.
Hi
I have attached a file named settings.xml and I now want to link to it.
How do I do that?
[settings.xml] doesn't work, neither does [settings\.xml]
Thanks,
Tobias
Good morning.
I've configured XWiki 1.1.1 on WebSphere, with LDAP (AD) as my
authentication service. I imported the provided XAR file.
>From what I can tell, I have LDAP configured properly. But when I go
to log in, I get this message:
You are not allowed to view this document or perform this action.
I log in as the superadmin, and see that my user shows up in Users and
has been added to the XWikiAllGroup three times (not sure why three
times).
In the xwiki.log, I've turned the debug on for LDAP, and see this
message at the bottom "Accept user even without account".
What is wrong? Does the user need to have an account on the system
before LDAP will work? How do I get it to not add the user to the
XWikiAllGroup three times on each login?
Patrick
Here is the excerpt from xwiki.cfg:
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=DCTWDPUS02.us.dci.discovery.com
xwiki.authentication.ldap.check_level=1
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.base_DN=dc=us,dc=dci,dc=discovery,dc=com
xwiki.authentication.ldap.bind_DN=US\\{0}
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.UID_attr=sAMAccountName
xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn
Here is the output in the xwiki.log file. It's a subset. If you need
more, I can post it.
08:21:53,610 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- User authenticated successfully
08:21:53,623 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Finding user pgardell
08:21:53,652 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Ready to create user from LDAP
08:21:53,665 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Ready to create user from LDAP with field
name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn
08:21:53,767 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field name
08:21:53,780 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field last_name
08:21:53,793 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP setting field last_name
08:21:53,809 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field first_name
08:21:53,822 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP setting field first_name
08:21:53,835 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field fullname
08:21:53,848 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP setting field fullname
08:21:53,861 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field mail
08:21:53,874 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field ldap_dn
08:21:53,890 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP setting field ldap_dn
08:21:54,084 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Looking for user again pgardell
08:21:54,091 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Finding user pgardell
08:21:54,659 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Accept user even without account
Hi,
Thanks for your replies. But I am running the Wiki in Firefox and yes I do allow cookies.
I tried to install the 1.12 stable release, with same result.
Does anyone else have suggestions, or a pointer to a database population script or...
Cheers
/Thorbjørn
Message: 3
Date: Wed, 14 Nov 2007 12:32:23 +0100 (CET)
From: pentaho(a)fsck.ch
Subject:
To: "XWiki Users" <users(a)xwiki.org>
Message-ID: <29413.62.2.233.2.1195039943.squirrel(a)secure.socket.ch>
Content-Type: text/plain;charset=iso-8859-1
Another thing to look out for is to allow cookies. Gets me every time.
--
W: http://kodefabrikken.dk
If you failing to plan, then you´re planning to fail.
Hi,
When I try to access "http://127.0.0.1:8080/xwiki/bin/view/Main/WebHome"
page i get this error:
HTTP Status 404 - /xwiki/bin/view/Main/WebHome
The requested resource (/xwiki/bin/view/Main/WebHome) is not available.
Can you give me some help to solve this problem?
Thanks!
Loris
I noticed that XWiki uses SecurityFilter. I have a Tomcat configuration
that already has a JAAS realm setup with a custom JAAS module. It doesn't
seem like the SecurityFilter configuration will really work with this - I'd
probably have to implement a custom XWikiAuthService that talks to the JAAS
implementation directly, which sort of defeats the purpose of having Tomcat
manage that for me.
Has anyone attempted something similar? would it be a lot of work for me to
modify the source to use the container security instead of SecurityFilter?
Thanks
Ben
In XWiki.Results, I replaced the line
#if ($xwiki.hasAccessLevel("view", $context.user,
"${context.database}:${item}"))
with
#if ($xwiki.hasAccessLevel("view", context.user,
"${item.getWeb()}.${item.getName()}"))
and everything works.
I have no idea what the 3rd parameter in the first line means, I just
looked at what type $item has and then changed the line according to the
lucene plugin api.
So, as LuceneSearch is not the only one using XWiki.Results, this probably
breaks things, as $item not always is a lucene.SearchResult.
Any better idea to fix this? What else than WebSearch uses XWiki.Results?
Can somebody comment on this?
Thanks,
Tobias
Hi !
Would it be possible to add a "upload_maxsize" property to the
XWiki.XWikiPreferences class? Instead of having to add it yourself in
the class when you need it.
For example, when you reset the database and want to import your
backup archive, if the archive is too big then you are stuck. Because
when you try to edit the XWiki.XWikiPreferences class to add the
upload_maxsize property, there is no button to add a property to the
class. So basically I think you are stuck.
I think the best solution would be to have the upload_maxsize field
present by default, like all the other fields, in the
XWiki.XWikiPreferences class. However I dont know how to do this on my
installation, and maybe it would be nice to have it in XWiki.
thanks
--
Jean-Vivien MAURICE
Elève Ingénieur Informatique et Gestion, Polytech'Montpellier (ISIM)
E-mail : jean.vivien.maurice(a)gmail.com
Tél. : 0046 7 62 33 20 46
Skype : jean.vivien
Hi,
We are currently evaluating the XWiki platform. I installed the windows
exe (xwiki-enterprise-installer-windows-1.2-milestone-1.exe
<https://forge.objectweb.org/project/download.php?group_id=170&file_id=9077>).
I ran very very well and we are impressed with the results we could
produce in a very short time.
We want to use the XWiki system on our existing Tomcat server (version
5.5.15) running on windows XP. The database is a MySql database. I
managed to get everything up and running. Hibernate correctly creates
tables in the database.
My problem is that it is not possible to log in. There is no Admin user.
I have tried with the superadmin account, it accepts the
superadmin/system passwor forwards to the WebHome page but I am still
not logged in so that I can import the manager application.
I have checked the archieves and found this
http://www.nabble.com/new-wiki%2C-no-users-tf342288.html#a951113
But I am not sure wheter it holds for the 1.2 snapshot release.
Help is greatly appreciated!! :-)
Cheers
/Thorbjørn
--
W: http://kodefabrikken.dk
If you failing to plan, then you´re planning to fail.
>> Would it be possible to add a "upload_maxsize" property to the
>> XWiki.XWikiPreferences class? Instead of having to add it yourself in
>> the class when you need it.
>> For example, when you reset the database and want to import your
>> backup archive, if the archive is too big then you are stuck. Because
>> when you try to edit the XWiki.XWikiPreferences class to add the
>> upload_maxsize property, there is no button to add a property to the
>> class. So basically I think you are stuck.
>> I think the best solution would be to have the upload_maxsize field
>> present by default, like all the other fields, in the
>> XWiki.XWikiPreferences class. However I dont know how to do this on my
>> installation, and maybe it would be nice to have it in XWiki.
See also http://jira.xwiki.org/jira/browse/XWIKI-1811
Hi there,
My XWiki linux server restarted after a power glitch and has bizzarly
reverted back to how it looked a couple of weeks ago, and of course the
import facility says there's no documents in the last export backup, so I
can't even restore it! What's happened? How could this be possible? Can I
revert it back the content to what it had yesterday?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Thomas Mortagne
Sent: 14 November 2007 09:09
To: XWiki Users
Subject: Re: [xwiki-users] Error 500: Could not initialize main XWiki
context
What is the name of your database ? "xwiki" or "xwikiDB", I ask that
because by default it's xwiki and it's xwikiDB in your hibernate
config.
2007/11/13, Karim-Pierre Maalej <maalej(a)enst.fr>:
> > What is in your
/usr/share/tomcat5.5/webapps/xwiki/WEB-INF/hibernate.cfg.xml ?
> >
> > Maybe it is not configured for mysql...
>
>
> Please find the configuration file hereunder (without the commented out
> parts). I think it is correct but maybe there's something I missed, like
> a typo or else.
>
>
>
> <?xml version='1.0' encoding='utf-8'?>
> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
> Configuration DTD//EN"
>
> "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
>
> <hibernate-configuration>
> <session-factory>
>
> <property name="show_sql">false</property>
> <property name="use_outer_join">true</property>
>
> <property name="dbcp.defaultAutoCommit">false</property>
> <property name="dbcp.maxActive">50</property>
> <property name="dbcp.maxIdle">5</property>
> <property name="dbcp.maxWait">30000</property>
> <property name="dbcp.whenExhaustedAction">1</property>
> <property name="dbcp.ps.whenExhaustedAction">1</property>
> <property name="dbcp.ps.maxActive">20</property>
> <property name="dbcp.ps.maxWait">120000</property>
> <property name="dbcp.ps.maxIdle">20</property>
>
> <property
>
name="connection.url">jdbc:mysql://127.0.0.1/xwikiDB?useServerPrepStmts=fals
e</property>
> <property name="connection.username">xwikiUser</property>
> <property name="connection.password">xwikiPwd</property>
> <property
> name="connection.driver_class">com.mysql.jdbc.Driver</property>
> <property
> name="dialect">org.hibernate.dialect.MySQLDialect</property>
>
> <property
>
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider<
/property>
> <property name="connection.pool_size">2</property>
> <property name="statement_cache.size">2</property>
>
> <!-- Mapping files -->
> <mapping resource="xwiki.hbm.xml"/>
> <mapping resource="feeds.hbm.xml"/>
>
> </session-factory>
> </hibernate-configuration>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hello,
When you state to clone the two classes, do you mean clone as in Java programming or clone as create inside the wiki itself?
Thanks,
Tim
> Vitantonio, Thanks for the response.
>
> So, let's say my space is called "Schedule".
>
> Do I clone Xwiki.ArticleClass, Xwiki.ArticleClassTemplate and
> XWiki.ArticleClassSheet
> as Schedule.ArticleClass, Schedule.ArticleClassTemplate and
> Schedule.ArticleClassSheet
> and create an equivalent to the XWiki Latest Articles page that uses them?
>
> Looks like I would also need to create a clone of Blog.Macros as maybe
> ScheduleBlog.Macros.
>
> Then if I want this for twenty other spaces, I would repeat the exercise
> twenty times.
>
> I wouldn't mind too much doing this, but it seems there ought to be an
> easier way.
>
Jean-Vivien,
You can't - that functionality hasn't yet been implemented as I found
recently!
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of jvivien.m2 jvivien.m2
Sent: 13 November 2007 15:50
To: users(a)xwiki.org
Subject: [xwiki-users] Removing a property in the Class Editor ?
Hi all,
how do you remove a property in a class, when you use the GUI (ie
"class" option in the "Edit" menu, for a given class page) ?
Thanks
--
Jean-Vivien MAURICE
Elève Ingénieur Informatique et Gestion, Polytech'Montpellier (ISIM)
E-mail : jean.vivien.maurice(a)gmail.com
Tél. : 0046 7 62 33 20 46
Skype : jean.vivien
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi all,
how do you remove a property in a class, when you use the GUI (ie
"class" option in the "Edit" menu, for a given class page) ?
Thanks
--
Jean-Vivien MAURICE
Elève Ingénieur Informatique et Gestion, Polytech'Montpellier (ISIM)
E-mail : jean.vivien.maurice(a)gmail.com
Tél. : 0046 7 62 33 20 46
Skype : jean.vivien
Hello,
I have a second independent question, that's why I am doing a second post.
It would be nice to be able to display mathematical equation nicely.
Is there is any plan to include that in the near future, do somebody
already worked on that ? I would like to hear from Aidan Morgan, were
you successful to insert bibtex and/or latext2html plugin ?
How much work would it be to use the library from mediawiki, which is a
library written in ocaml that create an image on the fly ?
I would expect to have almost only the file
mediawiki-x.x.x/includes/Math.php to be translated to a velocity
templates or something like that.
Thanks,
Nicolas Rodriguez,
European Bioinformatics Institute
Hello,
I am evaluating xwiki to be used in my institute.
We have now some mediawiki, confluence and drupal wiki around.
I am testing now the mediawiki2xwiki but is there is some tools to
import confluence or drupal pages ?
Thanks,
Nicolas Rodriguez,
European Bioinformatics Institute
Hi all,
with the new XWiki version on the road I just resume my migration
assignment. Just to make a little review when trying to import the xar
file to v1.2 (take a look at
http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradinganXWi…)
it fails with a java.lang.NullPointerException
As I could see it brokes at
com.xpn.xwiki.web.ImportAction.render(ImportAction.java:42), but
couldn't see why.
I plan to fill a bug report and try to fix it (humbly I'm not sure of a
success history here, but I'll try ...), so my questions are :
* I need to add a new bug report or just add more info to the one
already opened (http://jira.xwiki.org/jira/browse/XWIKI-1809). In
my case is a null pointer exception when tries to open the file,
but in the reported one its caused when tries to parse the xml file
* I guess that this threads need to be redirected to the developer
list. I mean, IMHO, that this is not the proper place to ask
questions regarding to the fixing process, log handlers and so
Anyone is having the same problem and have fixed it ??
TIA
--
Víctor A. Rodríguez (http://www.bit-man.com.ar)
El bit Fantasma (Bit-Man) - Algorithm junkie
Perl Mongers Capital Federal (http://cafe.pm.org/)
GNU/Linux User Group - FCEyN - UBA (http://glugcen.dc.uba.ar/
Hi all. I want to say that xWiki looks great!
I'm pretty sure i have it installed correctly and integrated with my postgresdB... There is one weird thing happening though.
There is no "Register" button on my site. But in the admin HOWTO, it says to go to global rights and edit the xwikiguest account.
But there are no accounts to edit and no button to add accounts :-)
Sorry for the noob questions!!!!
-Rob Shelby
> Is there any specific permission needed to make the lucene plugin work?
>
> I did a lot of changes to the default permissions. Now, some time later, I
> enabled the lucene plugin, but it only works correctly for admin users.
>
> For all other users, the correct number of search results is indicated,
> but the results themselves are not shown, even though I am searching for
> stuff that exists in spaces the users have access to.
It's related to the LuceneSearch page. If I use the snipped from the
Code/LucenePlugin page, it works.
Hi
Is there any specific permission needed to make the lucene plugin work?
I did a lot of changes to the default permissions. Now, some time later, I
enabled the lucene plugin, but it only works correctly for admin users.
For all other users, the correct number of search results is indicated,
but the results themselves are not shown, even though I am searching for
stuff that exists in spaces the users have access to.
Thanks,
Tobias
Hi
I am getting my users from ldap and I couldn't figure out how to deny
access to the user profile pages.
How can I restrict write access so that no user can change his profile
properties?
Thanks,
Tobias
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.1.2.
This is a bug fix release following the release of XWiki Platform
1.1.2. This release also introduce experimental new rights management
system (not active by default).
Bugs fixed in 1.1.2:
* Impossible to translate page in 1.1.1.
* Error while importing a XAR containing XWiki.XWikiServerClass
object(s) in a non-virtual wiki.
* Issue in EditAction which allows to create a bad translation state.
* EditTranslations panel does not handle empty default language properly.
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise112
Thanks
-The XWiki dev team
> The XWiki development team is pleased to announce the release of XWiki
> Enterprise 1.1.2.
Great news!
In the light of the changes in the user/group administration, would it be
possible to provide a list (for this and then for all subsequent releases)
of wiki pages that changed from the last release?
That would make it very easy to upgrade by importing a new .xar.
Thanks,
Tobias
Is there a function similar to this ("would it make sense to generate a
function similar to this")
com.xpn.xwiki.api.XWiki.getURL(java.lang.String fullname,
java.lang.String action)
that instead of generating a link gets the rendered content for the
specified content for the given action:
getRenderedContent(String fullName, String action)
I'm trying to render a class instance in the "inline" action context,
in order to display its edit form. I do understand that there is a
function com.xpn.xwiki.XWikiContext.setAction(String action), but I'm
unclear of how I can request a particular Page in the context that I
can set this way. The provided
com.xpn.xwiki.api.Document.getRenderedContent() function does not
allow to specify an action parameter.
I've been trying to find a solution for 10 hours now... maybe I'm just blind :-)
Thanks in advance,
Andreas
Hello. Still trying to install xwiki in Websphere 6.1.
When i start the server, i get the following error:
-> The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.EnumerateTei]
This class doesn't exist in the struts jar included in WEB-INF/lib. Why not?
Thanks,
david bessire
_________________________________________________________________
Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct
I upgraded from
version=1.1-rc-1.4635
to
version=1.2-milestone-1.5235
I also moved from the default Jetty servlet container to Tomcat 6.0.14.
I'm using the default HSQLDB setup and driver.
After copying the database files to the new location and tweaking the
nessisary files in WEB-INF, I started up tomcat.
The wiki came up ok, but when trying to view the history of any page, I
get the error message pasted below.
I also tried clearing the DB, importing the defacto XAR file from the
website then importing a backup XAR from my old load. I got the same
error.
I also tried running the "Fix RCS" patch overtop of both of these
attempts in case it was somehow related. Again, same stacktrace.
Error Message displayed (my apologies if this doesn't paste well!):
Error number 4001 in 4: Error while parsing velocity page
Wrapped Exception: Invocation of method 'formatDate' in class
com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @
<unknown template>[45,22]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page
Wrapped Exception: Invocation of method 'formatDate' in class
com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @
<unknown template>[45,22]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:148)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1209)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(Velocimacr
oProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective
.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:240)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1209)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(Velocimacr
oProxy.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.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:107)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74
)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:107)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:240)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1209)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)
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:2
63)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:584)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
java.lang.NullPointerException
at com.xpn.xwiki.XWiki.formatDate(XWiki.java:4447)
at com.xpn.xwiki.XWiki.formatDate(XWiki.java:4451)
at com.xpn.xwiki.api.XWiki.formatDate(XWiki.java:1968)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.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.ASTIfStatement.render(ASTIfState
ment.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.SimpleNode.render(SimpleNode.jav
a:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:240)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1209)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(Velocimacr
oProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective
.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:240)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1209)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(Velocimacr
oProxy.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.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:107)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74
)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:107)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:240)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1209)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)
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:2
63)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:584)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Any help would be appreciated.
Paul D. Grodt
TECORE Wireless Systems
> What would be nice is if you could edit the installation page and add
> instructions to set up MSSQL (same as what exists for other DBs). You
> could attach you hibernate file to the page (as it's done for some DBs
> too).
>
> Later on we could commit in xwiki when others have tested it works
> fine for them.
OK, I'll do so on on Monday.
>
> On Nov 9, 2007, at 5:56 PM, pentaho(a)fsck.ch wrote:
>
>>> Hi David,
>>>
>>> All tables are created automatically, you just need to create the
>>> correct empty shema/database (by default "xwiki").
>>
>> For MSSQL to work I had to create my own xwiki.hbm.xml, the default
>> one
>> didn't work.
>
> would be nice if you could contribute it.
Of course, here it is. I actually wanted to provide a complete patch, but
I couldn't yet figure out how put the changes to hibernate.cfg.xml into
the source. Here's what I added manually:
<!-- MSSQL configuration -->
<property
name="connection.url">jdbc:jtds:sqlserver://some.sql-swerver.com:1433/XWiki;tds=8.0;lastupdatecount=true</property>
<property name="connection.username">xwikiuser</property>
<property name="connection.password">xwikipassword</property>
<property
name="connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
<mapping resource="xwiki.mssql.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
If you commit this, please send me note with the revision number.
Thanks,
Tobias
> Hi David,
>
> All tables are created automatically, you just need to create the
> correct empty shema/database (by default "xwiki").
For MSSQL to work I had to create my own xwiki.hbm.xml, the default one
didn't work.
Cheers,
Tobias
A second question: according to hibernate.cfg.xml, database objects (tables) will be created automatically, at least for some databases.
Is this database-dependent; that is, do some databases require the tables to be manually created? If so, where can i obtain the .sql files which define the xwiki data model?
i was quite surprised to find no .sql files in the .jar i downloaded.
Thanks,
david bessire
_________________________________________________________________
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us
Hello.
Attempting to install Xwiki in a Websphere / SQLServer environment. Websphere supports only Java1.4.2, but exo apparently requires Java 1.5. Even with xwiki.exo=0 in xwiki.cfg, i still get the exception:
>> java.lang.UnsupportedClassVersionError: org/exoplatform/container/ >> PortalContainer (Unsupported major.minor version 49.0)
which in a previous mailing list discussion Vincent says is caused by running under 1.4. Is there any way to run xwiki without relying on exo, which i don't need?
In the previous discussion i mentioned, Vincent suggested removing the exo libraries; this predictably generates a NoClassDefFoundError on startup.
i don't think xwiki is fundamentally incompatible with WebSphere, as there are websphere installation instructions posted on xwiki.org.
Thanks,
david bessire
_________________________________________________________________
Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct
Hi
When I build the xwiki 1.1 branch myself, I cannot undeploy or shutdown
JBoss normally anymore. This does noty happen if I use a binary download.
Any idea what might be wrong? Thanks.
15:00:27,254 ERROR [STDERR] 03:00:27.254 WARN - Invalid feed URL:
15:00:41,878 INFO [Server] Runtime shutdown hook called, forceHalt: true
15:00:41,878 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
15:00:41,878 INFO [TomcatDeployer] undeploy,
ctxPath=/xwiki,warUrl=.../tmp/dep
loy/tmp38404xwiki-web-standard-1.1-SNAPSHOT-exp.war/
15:00:43,956 ERROR [STDERR] Exception in thread "AWT-Windows"
15:00:43,956 ERROR [STDERR] java.lang.IllegalStateException: Shutdown in
progress
15:00:43,956 ERROR [STDERR] at
java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
15:00:43,956 ERROR [STDERR] at
java.lang.Runtime.addShutdownHook(Runtime.java:192)
15:00:43,956 ERROR [STDERR] at
sun.awt.windows.WToolkit.run(WToolkit.java:276)
15:00:43,956 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
Hi all,
I'm using that function to send e-mail from a page inside the wiki: I
ditn't get any error message, but the mail is not sent (even if I set
the parameters in the preference page).
Any idea? Thanks!
Vito
--
Vitantonio Messa
+358 46 889 48 49 - vitantonio.messa(a)coss.fi
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND
Hi,
Has anyone experienced this problem or does anyone know what could be wrong when creating classes? I need to create 2 classes 1 for a virtual instance and 1 for a second blog in my xwiki. I'm getting this error which I am posting at the bottom.
Thank you in advance,
Tim
Error number 4001 in 4: Error while parsing velocity page XWiki.BlogArticle
Wrapped Exception: Invocation of method 'substring' in class java.lang.String threw exception java.lang.StringIndexOutOfBoundsException: String index out of range: -1 @ XWiki.BlogArticle4,26? <https://wmail.wssu.edu/exchweb/bin/redir.asp?URL=https://wmail.wssu.edu/xwi…>
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page XWiki.BlogArticle
Wrapped Exception: Invocation of method 'substring' in class java.lang.String threw exception java.lang.StringIndexOutOfBoundsException: String index out of range: -1 @ XWiki.BlogArticle4,26? <https://wmail.wssu.edu/exchweb/bin/redir.asp?URL=https://wmail.wssu.edu/xwi…>
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:148)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:91)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:222)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:154)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:125)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:117)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:401)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:347)
at sun.reflect.GeneratedMethodAccessor165.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.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1275)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1244)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:552)
at sun.reflect.GeneratedMethodAccessor49.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.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.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1275)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1244)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
Wrapped Exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at sun.reflect.GeneratedMethodAccessor148.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.value(ASTReference.java:419)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:91)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:222)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:154)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:125)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:117)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:401)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:347)
at sun.reflect.GeneratedMethodAccessor165.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.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1275)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1244)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:552)
at sun.reflect.GeneratedMethodAccessor49.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.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.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1275)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1244)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
Hi...
I tried use $xwiki.getUser to get the current user's name but I got a value
like this 'com.xpn.xwiki.api.User@13095c7'.
So, I looked into the API doc and used getLocalUser() but it does not work.
This is the syntax that I used -
#set($user = $xwiki.getLocalUser())
$user
What is wrong here ? It had given me an output for getUser().
Harikrishnan
--
View this message in context: http://www.nabble.com/using-getLocalUser%28%29-tf4763863.html#a13624781
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
I am attempting to build XWiki from source with the end goal of using a
debugger on it and face the following problem:
After a successful build with maven, when I deploy the war archive and
browse to xwiki, I get the following error:
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number
3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Hibernate Dialect must be explicitly set
After deployment, I then edited hibernate.cfg.xml in the deployed war and
added a datasource for an xwiki database, and this made the error
disappear.
Now, I would like to do this at "compile time" already, so that a default
hypersonic database is used, and that xwiki works right after building and
deploying the war, without any manual intervention needed after building.
I hope it's more or less clear what I want... Thanks.
Hi all,
We know that xwiki.section.edit=1 enable section editing. I see that the
editing section option is available until the second heading level. Is there
anyway to enable section's edition at levels third, fourth,...?
Thanks!
Ricardo
--
View this message in context: http://www.nabble.com/xwiki.section.edit-tf4764288.html#a13625877
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Please help me out,
Help for XWiki - User Login Counter
(prabhakar.gopalsamy(a)wipro.com)
Hi All,
I want to be creating the XWiki - User / Admin Login Counter. - (Page
visited for intranet through respective Login).
Please help me, how to do that? If anyone has xwiki code, please send to
me. I am new to XWiki.
Regards,
Prabhakar Gopalsamy
______________________________
Wipro Technologies
Regards,
Prabhakar Gopalsamy
______________________________
Wipro Technologies
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of users-request(a)xwiki.org
Sent: Friday, November 02, 2007 4:28 PM
To: users(a)xwiki.org
Subject: users Digest, Vol 4, Issue 6
Send users mailing list submissions to
users(a)xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)xwiki.org
You can reach the person managing the list at
users-owner(a)xwiki.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:
1. Login counter (prabhakar.gopalsamy(a)wipro.com)
2. Re: Login counter (goldring, richard)
----------------------------------------------------------------------
Message: 1
Date: Fri, 2 Nov 2007 16:15:37 +0530
From: <prabhakar.gopalsamy(a)wipro.com>
Subject: [xwiki-users] Login counter
To: <users(a)xwiki.org>
Message-ID:
<E98CB0DA71F20341907598C3494F320D015ACB39(a)BLR-EC-MBX08.wipro.com>
Content-Type: text/plain; charset="us-ascii"
Hi,
Please help me out,
Help for XWiki - User Login Counter
(prabhakar.gopalsamy(a)wipro.com)
Hi All,
I want to be creating the XWiki - User / Admin Login Counter. - (Page
visited for intranet through respective Login).
Please help me, how to do that? If anyone has xwiki code, please send to
me. I am new to XWiki.
Regards,
Prabhakar Gopalsamy
______________________________
Wipro Technologies
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of users-request(a)xwiki.org
Sent: Friday, November 02, 2007 4:11 PM
To: users(a)xwiki.org
Subject: users Digest, Vol 4, Issue 5
Send users mailing list submissions to
users(a)xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)xwiki.org
You can reach the person managing the list at
users-owner(a)xwiki.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:
1. Re: Porblem Installing w/Oracle (Vincent Massol)
2. Class attributes (goldring, richard)
3. Re: Adding a document in XWiki.org (Esbach, Brandon)
4. Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])
5. Re: Access rights on XWiki space (Esbach, Brandon)
6. Re: Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])
----------------------------------------------------------------------
Message: 1
Date: Fri, 2 Nov 2007 09:24:56 +0100
From: Vincent Massol <vincent(a)massol.net>
Subject: Re: [xwiki-users] Porblem Installing w/Oracle
To: XWiki Users <users(a)xwiki.org>
Message-ID: <16F52207-86BD-4E26-8363-C0C0DA8669DB(a)massol.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi Craig,
Have you followed the instructions on
http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationOracle
and especially the part about the oracle HBM file?
Also what version of xwiki are you installing?
Thanks
-Vincent
On Nov 2, 2007, at 12:59 AM, Fye Kan wrote:
> Hello,
>
> We're investingating a few wiki options and were trying to use Xwiki
> with Tomcat 6 and Oracle 10g using the war installation process.
> We've modified all of the config files per the instructions on the
> site but are getting the following errors when trying to access the
> default page:
>
> 17:25:31,106 [http-129.147.132.30-80-1] ERROR
> store.XWikiHibernateBaseStore - Failed updating schema: 2
> 17:25:31,213 [http-129.147.132.30-80-1] ERROR
> store.XWikiHibernateBaseStore - While executing query: update
> xwikidoc set xwd_translation=0 where xwd_translati on is null
> 17:25:31,213 [http-129.147.132.30-80-1] ERROR
> store.XWikiHibernateBaseStore - Failed updating schema: ORA-00942:
> table or view does not exist
>
> followed by a lot more errors. This is a brand new install so no
> tables exist yet. The user account we have for the DB has access to
> create/modify/remove tables so we're at a bit of a loss as to what
> the problem is. Does anyone out there have any suggestions as to
> what the problem could be? Do we need to create the tables a head of
> time? Is there a script to do so? Any help would be appreciated,
> thanks!
>
> Craig
> ________________________
------------------------------
Message: 2
Date: Fri, 2 Nov 2007 09:47:46 -0000
From: "goldring, richard" <richard.goldring(a)uk.thalesgroup.com>
Subject: [xwiki-users] Class attributes
To: "'XWiki Users'" <users(a)xwiki.org>
Message-ID:
<C02943801230D611919D00508BDF0C240962642D(a)rtwexch.int.rdel.co.uk>
Content-Type: text/plain
Hi,
Does anyone know how to set the various Class properties? There appears
to
be no documentation on this - if there's anyone in the know who could
provide some documentation then it would be really really useful for
developing inline forms to access page object properties to help develop
real applications on XWiki.
i.e. for a display selection list on an inline form ...
Name:
Pretty Name:
Tooltip:
Custom Display:
Unmodifiable:
---
Yes
No
Number:
Validation Regular Expression:
Validation Message:
Size:
Rows:
Editor:
---TextPureTextWysiwyg
Content:
FullyRenderedTextVelocityCodePureText
TaskMainTypeName:
Pretty Name:
Tooltip:
Task main type
Custom Display:
Unmodifiable:
---
Yes
No
Number:
Validation Regular Expression:
Validation Message:
Display Type:
inputselectradiocheckbox
Multiple Select:
---
Yes
No
Relational Storage:
---
Yes
No
Use Picker:
---
Yes
No
Size:
Join separator:
Sort:
noneidvalue
Cache:
---
Yes
No
Values:
Separators:
Regards,
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail
is confidential. It may also be legally privileged. It is intended only
for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained
in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this
e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete
it
and all copies from your system. We accept no responsibility for changes
to
any e-mail which occur after it has been sent. Attachments to this
e-mail
may contain software viruses which could damage your system. We
therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne
Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
------------------------------
Message: 3
Date: Fri, 2 Nov 2007 09:57:08 -0000
From: "Esbach, Brandon" <Esbachb(a)tycoelectronics.com>
Subject: Re: [xwiki-users] Adding a document in XWiki.org
To: "XWiki Users" <users(a)xwiki.org>
Message-ID:
<A259A3D352E3904F8D83CC44E3BE10670233E95C(a)gbd04mx02.tycoelectronics.net>
Content-Type: text/plain; charset="iso-8859-1"
Given that I can't access outside servers from our server network
(company policy), I adjusted this to reflect my own database - changing
only the db name and user details. I setup a table to mimic your column
name as well.
On 1.1 it seems to work; though my environment is a bit different to
standard release (not completely standard xwiki install).
________________________________
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of Your XEN ICT Team - Ricardo Rodriguez
Sent: 01 November 2007 19:15
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org
Esbach, Brandon wrote:
Xwiki.org sandbox: you don't normally get programming rights
(admin rights don't guarantee programming rights on the .org sites).
Someone on the xwiki team will have to open and save the page
for you in order to test it.
Thanks for the information. I didn't realize about the required
programming rights. It is perfectly reasonable that this rights must be
given by an administrator.
But the site is not accessible yet. This link
http://sandbox.xwiki.org/xwiki/bin/view/Main/WebHome keeps generating an
exception while reading document XWiki.XWikiPreferences.
In any case, it there were a problem with programming rights, I
understand that no script will be executed. In this case, scripts
recovering a single record work fine or printing simple lines by using
println work fine.
If it's a local xwiki instance that's also causing the problem,
I'm not sure. Accessing mysql databases seems to work fine for me for
my own local databases.
Could you be so kind as to trying the following script in your xwiki
installation to see if it is my server the only one that is having
problems while printing iterations? Thanks!
<%
import groovy.sql.Sql;
println "This is a sample to access epec in *mire*"
def sendSQL =
Sql.newInstance("jdbc:mysql://mire.environmentalchange.net/epec","epec_R
eadOnly", "epec_ReadOnly", "com.mysql.jdbc.Driver")
sendSQL.eachRow("SELECT * FROM epec.spot s") {row ->println
"${row.code}"}
%>
I've run it in three boxes all of them running 1.2-milestone-1.5235 and
always get the same result.
Please, could anybody else try this? Thank you so much.
Best,
--
Ricardo Rodr?guez
Your XEN ICT Team
While editing a single section of an article (under albatross), you are
given the option to set the parent article, however this does not set
the parent for the article as a whole. I suppose I can understand this,
but (at least to me) on a user level, this is annoying.
So is this a bug or a feature? If no one responds I'll add this in
Jira.
Paul D. Grodt
TECORE Wireless Systems
Hi all,
I have give to myself programming right on my xwiki (from the global
rights section), but still, when I write $doc.hasProgrammingRights() or
$context.hasProgrammingRights() I got "false" as response instead of true.
Does anyone know where is my mistake?
Thanks!
--
Vitantonio Messa
+358 46 889 48 49 - vitantonio.messa(a)coss.fi
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND
hi all
i would like to implement ntlm authentification with xwiki on tomcat 5.5
i watch for jcifs
there is a way to perform it? via custom authentification?
does anybody try?
thanks a lot !!
Hi everyone,
I was trying to set up the registration through mail, and I found out
that there is a bug (http://jira.xwiki.org/jira/browse/XWIKI%2D950) not
fixed yet, so there is now way to use mail right now.
I would like to know if someone is planning to fix this. I've started to
have a look at that code anyway, and I think that I found one error...
Best,
--
Vitantonio Messa
+358 46 889 48 49 - vitantonio.messa(a)coss.fi
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND
Hi all,
I would like to have the possibility to print only one section of a
page. I've seen that it is possible to edit one section (passing the
parameter section=<sectionNumber> in the URL).
I tried to do the same with the printing (editing the top menu bar), but
it seems to me that the print is not recognizing the "section" parameter.
Is it possible to print just a section or not?
Thanks!
--
Vitantonio Messa
+358 46 889 48 49 - vitantonio.messa(a)coss.fi
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND
Hi.
It is seen that Panel items can be hidden from users other than the Admins
using this statement -> #if ($xwiki.hasAdminRights()), right ?
Is it possible to be able to display certain Panel items to certain user
groups ? If so, how ?
Harikrishnan
--
View this message in context: http://www.nabble.com/Displaying-Panel-items-tf4749669.html#a13581426
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Is there a simple way to turn the panels off for a particular page?
I know this is possible, by creating the page in a new space and
configuring the new space not to show the panels. Is there another way?
Regards,
Gunter
-------------------------------------------------------------------------------
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.
-------------------------------------------------------------------------------
Anyone having problems adding attachments to an existing page on XWiki?
I have a page that has 3 files attached. When I try to add a new
attachment (the 4th one), it does not return any errors and appears to
work, however, when after the page refreshes, it still only shows that
it has 3 attachments. According to the doc's it supports an unlimited
number of attachments. On other pages, I was able to attach more than
3 without any problems.
I'm running XWiki 1.1.1 using Jetty and MySQL 5.45.
Dave
Hello,
We're investingating a few wiki options and were trying to use Xwiki with
Tomcat 6 and Oracle 10g using the war installation process. We've modified
all of the config files per the instructions on the site but are getting the
following errors when trying to access the default page:
17:25:31,106 [http-129.147.132.30-80-1] ERROR store.XWikiHibernateBaseStore
- Failed updating schema: 2
17:25:31,213 [http-129.147.132.30-80-1] ERROR store.XWikiHibernateBaseStore
- While executing query: update xwikidoc set xwd_translation=0 where
xwd_translati on is null
17:25:31,213 [http-129.147.132.30-80-1] ERROR store.XWikiHibernateBaseStore
- Failed updating schema: ORA-00942: table or view does not exist
followed by a lot more errors. This is a brand new install so no tables
exist yet. The user account we have for the DB has access to
create/modify/remove tables so we're at a bit of a loss as to what the
problem is. Does anyone out there have any suggestions as to what the
problem could be? Do we need to create the tables a head of time? Is there a
script to do so? Any help would be appreciated, thanks!
Craig
Hi all,
while testing the translation feature with the new xwiki-1.1.1.5166
release I bumped into the following problem: Xwiki saves the translation
of a page in the default language, regardless of the language I have
selected to translate to in edit mode.
As a consequence the default translation has been overwritten and no
additional translation has been shown in the top-right info panel. For the
test environment I've imported the xwiki-enterpise-1.1.1.xar into a naked
standalone xwiki installation an configured it with three languages (de,
en, fr) and de as default language on the global preferences page. I use
the firefox2 as browser.
Her are the detailed steps to reproduce ths problem:
(1) Create new page
(2) Edit this page in the default laguage and save&view it
(3) press "Edit"again an select a different langauage in the translation
panel => The panel shows that the translation of the selected language is
now beeing edited
(4) Translate the page and save&view it => no additional translation shows
up and the default translation has been overwritten.
Am I missing here something or is this a bug?
Thanks a lot for helping me out on this.
Steffen
Hi
After attaching XWiki to ldap, I'd like to completely wipe out my old
users and groups. There are not many of them, so I can do that manually.
The question is: Is it enough to go to each user page and delete the page,
then go to each group page (except allusers and admins, I have those
mapped to ldap groups), and delete the page?
Thanks
Hi.
I am shifting my wiki into another computer. I wish to retain the same
state of the wiki as it is now - the same registered users, document pages,
preferences etc. Could I just copy-paste the wiki files ? :)
Harikrishnan
--
View this message in context: http://www.nabble.com/Shifting-to-a-new-computer-tf4676458.html#a13361084
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'm desperately trying to figure out how I can render the edit form
for an class instance B inside page A. The file editinline.vm must
have to be called with some parameters that I'm uncertain about
(particularly the "cdoc" variable must have been set somewhere).
I've tried a lot of things:
- Calling getRenderedContent will render the instance in the view
mode, not in the edit mode
- When trying to call #template("editinline.vm"), XWiki server hangs
itself up using a lot of processor resources.
It seems there is absolutely no documentation around.
I'm running 1.2-milestone-1.5235.
Any ideas?
Thanks in advance,
Andreas
>From http://jira.xwiki.org/jira/browse/XWIKI-1670
I'm interested in this feature. The description reads
"If a document has multiple attachements, it becomes tedious to attach
them one by one.
The WYSIWYG editor should allow for multiple attachements when the "Add
attachment" link is used."
Does this infer that there is some existing method _other_ than the
WYSIWYG editor that allows mass uploads? I'm pretty sure it doesn't,
but I wanted to confirm.
Paul D. Grodt
TECORE Wireless Systems
Hello,
I believe my yesterday's question to this list refers to the problem
described in
http://jira.xwiki.org/jira/browse/XWIKI-744
Anybody got similar issues? Any quick fix in sight?
Thanks,
Andreas
Hello...
I've been able to read and enter data into my personal MySQL database
(after a very long night, finally!) and I think this should be added into
the documentation for XWiki.org but first, I want to get data from a textbox
into the database...
Because the first thing that newbies like me wanted to do was to
communicate with a personal database (especially through the use of forms),
I believe this is important.
How can I add a document in XWiki.org ? Do I have editing rights ?
Harikrishnan
--
View this message in context: http://www.nabble.com/Adding-a-document-in-XWiki.org-tf4723188.html#a135038…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I do hope you don't mind I open a new thread on this even though there are
several live discussions refering Groovy scripting.
In http://www.xwiki.org/xwiki/bin/view/DevGuide/Scripting we can actually
read this TODO paragraph:
-----
TO DO: We need to move all of the Groovy pages from the "Dev" Web Space to
this area. Then, with all the Velocity and Groovy docs in this Web Space, we
can reorganize and cross reference and such.
-----
Please, where could I find this "Dev" Web Space? I am trying to find/read
any document related with Groovy scripting before posting new questions.
Thanks for your help,
Ricardo
--
View this message in context: http://www.nabble.com/on-Groovy-doc-tf4737169.html#a13546856
Sent from the XWiki- Users mailing list archive at Nabble.com.
Mmmm ... oh well ...
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vincent Massol
Sent: 02 November 2007 12:22
To: XWiki Users
Subject: Re: [xwiki-users] Class property deletion
On Nov 2, 2007, at 12:39 PM, goldring, richard wrote:
> Does anyone know how to delete class properties?
Unfortunately you cannot...
This needs to be implemented by someone. It's a big missing feature.
Thanks
-Vincent
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On
> Behalf
> Of prabhakar.gopalsamy(a)wipro.com
> Sent: 02 November 2007 10:46
> To: users(a)xwiki.org
> Subject: [xwiki-users] Login counter
>
>
>
> Hi,
>
> Please help me out,
>
> Help for XWiki - User Login Counter
> (prabhakar.gopalsamy(a)wipro.com)
>
> Hi All,
>
>
>
> I want to be creating the XWiki - User / Admin Login Counter. - (Page
> visited for intranet through respective Login).
>
> Please help me, how to do that? If anyone has xwiki code, please
> send to
> me. I am new to XWiki.
>
>
> Regards,
> Prabhakar Gopalsamy
> ______________________________
> Wipro Technologies
>
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf
> Of users-request(a)xwiki.org
> Sent: Friday, November 02, 2007 4:11 PM
> To: users(a)xwiki.org
> Subject: users Digest, Vol 4, Issue 5
>
> Send users mailing list submissions to
> users(a)xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xwiki.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)xwiki.org
>
> You can reach the person managing the list at
> users-owner(a)xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. Re: Porblem Installing w/Oracle (Vincent Massol)
> 2. Class attributes (goldring, richard)
> 3. Re: Adding a document in XWiki.org (Esbach, Brandon)
> 4. Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])
> 5. Re: Access rights on XWiki space (Esbach, Brandon)
> 6. Re: Access rights on XWiki space (Marie Sauvage [EBM
> WebSourcing])
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 2 Nov 2007 09:24:56 +0100
> From: Vincent Massol <vincent(a)massol.net>
> Subject: Re: [xwiki-users] Porblem Installing w/Oracle
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <16F52207-86BD-4E26-8363-C0C0DA8669DB(a)massol.net>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> Hi Craig,
>
> Have you followed the instructions on
> http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationOracle
> and especially the part about the oracle HBM file?
>
> Also what version of xwiki are you installing?
>
> Thanks
> -Vincent
>
> On Nov 2, 2007, at 12:59 AM, Fye Kan wrote:
>
>> Hello,
>>
>> We're investingating a few wiki options and were trying to use Xwiki
>> with Tomcat 6 and Oracle 10g using the war installation process.
>> We've modified all of the config files per the instructions on the
>> site but are getting the following errors when trying to access the
>> default page:
>>
>> 17:25:31,106 [http-129.147.132.30-80-1] ERROR
>> store.XWikiHibernateBaseStore - Failed updating schema: 2
>> 17:25:31,213 [http-129.147.132.30-80-1] ERROR
>> store.XWikiHibernateBaseStore - While executing query: update
>> xwikidoc set xwd_translation=0 where xwd_translati on is null
>> 17:25:31,213 [http-129.147.132.30-80-1] ERROR
>> store.XWikiHibernateBaseStore - Failed updating schema: ORA-00942:
>> table or view does not exist
>>
>> followed by a lot more errors. This is a brand new install so no
>> tables exist yet. The user account we have for the DB has access to
>> create/modify/remove tables so we're at a bit of a loss as to what
>> the problem is. Does anyone out there have any suggestions as to
>> what the problem could be? Do we need to create the tables a head of
>> time? Is there a script to do so? Any help would be appreciated,
>> thanks!
>>
>> Craig
>> ________________________
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 2 Nov 2007 09:47:46 -0000
> From: "goldring, richard" <richard.goldring(a)uk.thalesgroup.com>
> Subject: [xwiki-users] Class attributes
> To: "'XWiki Users'" <users(a)xwiki.org>
> Message-ID:
>
> <C02943801230D611919D00508BDF0C240962642D(a)rtwexch.int.rdel.co.uk>
> Content-Type: text/plain
>
> Hi,
>
> Does anyone know how to set the various Class properties? There
> appears
> to
> be no documentation on this - if there's anyone in the know who could
> provide some documentation then it would be really really useful for
> developing inline forms to access page object properties to help
> develop
> real applications on XWiki.
>
> i.e. for a display selection list on an inline form ...
>
> Name:
>
> Pretty Name:
>
> Tooltip:
>
> Custom Display:
>
> Unmodifiable:
> ---
> Yes
> No
> Number:
>
> Validation Regular Expression:
>
> Validation Message:
>
> Size:
>
> Rows:
>
> Editor:
> ---TextPureTextWysiwyg
> Content:
> FullyRenderedTextVelocityCodePureText
> TaskMainTypeName:
>
> Pretty Name:
>
> Tooltip:
> Task main type
> Custom Display:
>
> Unmodifiable:
> ---
> Yes
> No
> Number:
>
> Validation Regular Expression:
>
> Validation Message:
>
> Display Type:
> inputselectradiocheckbox
> Multiple Select:
> ---
> Yes
> No
> Relational Storage:
> ---
> Yes
> No
> Use Picker:
> ---
> Yes
> No
> Size:
>
> Join separator:
>
> Sort:
> noneidvalue
> Cache:
> ---
> Yes
> No
> Values:
>
> Separators:
>
>
> Regards,
>
> Richard
>
> Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
> e-mail
> is confidential. It may also be legally privileged. It is intended
> only
> for
> the stated addressee(s) and access to it by any other person is
> unauthorised. If you are not an addressee, you must not disclose,
> copy,
> circulate or in any other way use or rely on the information contained
> in
> this e-mail. Such unauthorised use may be unlawful. We may monitor all
> e-mail communications through our networks. If you have received this
> e-mail
> in error, please inform us immediately on +44 (0) 1749 672081 and
> delete
> it
> and all copies from your system. We accept no responsibility for
> changes
> to
> any e-mail which occur after it has been sent. Attachments to this
> e-mail
> may contain software viruses which could damage your system. We
> therefore
> recommend you virus-check all attachments before opening. A business
> of
> Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne
> Business
> Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
> 868273
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 2 Nov 2007 09:57:08 -0000
> From: "Esbach, Brandon" <Esbachb(a)tycoelectronics.com>
> Subject: Re: [xwiki-users] Adding a document in XWiki.org
> To: "XWiki Users" <users(a)xwiki.org>
> Message-ID:
>
> <A259A3D352E3904F8D83CC44E3BE10670233E95C(a)gbd04mx02.tycoelectronics.net
> >
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Given that I can't access outside servers from our server network
> (company policy), I adjusted this to reflect my own database -
> changing
> only the db name and user details. I setup a table to mimic your
> column
> name as well.
>
> On 1.1 it seems to work; though my environment is a bit different to
> standard release (not completely standard xwiki install).
>
> ________________________________
>
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf
> Of Your XEN ICT Team - Ricardo Rodriguez
> Sent: 01 November 2007 19:15
> To: XWiki Users
> Subject: Re: [xwiki-users] Adding a document in XWiki.org
>
>
> Esbach, Brandon wrote:
>
> Xwiki.org sandbox: you don't normally get programming rights
> (admin rights don't guarantee programming rights on the .org sites).
> Someone on the xwiki team will have to open and save the page
> for you in order to test it.
>
>
>
> Thanks for the information. I didn't realize about the required
> programming rights. It is perfectly reasonable that this rights must
> be
> given by an administrator.
>
> But the site is not accessible yet. This link
> http://sandbox.xwiki.org/xwiki/bin/view/Main/WebHome keeps
> generating an
> exception while reading document XWiki.XWikiPreferences.
>
> In any case, it there were a problem with programming rights, I
> understand that no script will be executed. In this case, scripts
> recovering a single record work fine or printing simple lines by using
> println work fine.
>
>
>
> If it's a local xwiki instance that's also causing the problem,
> I'm not sure. Accessing mysql databases seems to work fine for me for
> my own local databases.
>
>
> Could you be so kind as to trying the following script in your xwiki
> installation to see if it is my server the only one that is having
> problems while printing iterations? Thanks!
>
>
> <%
> import groovy.sql.Sql;
> println "This is a sample to access epec in *mire*"
> def sendSQL =
> Sql.newInstance("jdbc:mysql://mire.environmentalchange.net/
> epec","epec_R
> eadOnly", "epec_ReadOnly", "com.mysql.jdbc.Driver")
> sendSQL.eachRow("SELECT * FROM epec.spot s") {row ->println
> "${row.code}"}
> %>
>
>
> I've run it in three boxes all of them running 1.2-milestone-1.5235
> and
> always get the same result.
>
> Please, could anybody else try this? Thank you so much.
>
> Best,
>
>
> --
> Ricardo Rodr?guez
> Your XEN ICT Team
>
Does anyone know how to delete class properties?
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of prabhakar.gopalsamy(a)wipro.com
Sent: 02 November 2007 10:46
To: users(a)xwiki.org
Subject: [xwiki-users] Login counter
Hi,
Please help me out,
Help for XWiki - User Login Counter
(prabhakar.gopalsamy(a)wipro.com)
Hi All,
I want to be creating the XWiki - User / Admin Login Counter. - (Page
visited for intranet through respective Login).
Please help me, how to do that? If anyone has xwiki code, please send to
me. I am new to XWiki.
Regards,
Prabhakar Gopalsamy
______________________________
Wipro Technologies
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of users-request(a)xwiki.org
Sent: Friday, November 02, 2007 4:11 PM
To: users(a)xwiki.org
Subject: users Digest, Vol 4, Issue 5
Send users mailing list submissions to
users(a)xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)xwiki.org
You can reach the person managing the list at
users-owner(a)xwiki.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:
1. Re: Porblem Installing w/Oracle (Vincent Massol)
2. Class attributes (goldring, richard)
3. Re: Adding a document in XWiki.org (Esbach, Brandon)
4. Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])
5. Re: Access rights on XWiki space (Esbach, Brandon)
6. Re: Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])
----------------------------------------------------------------------
Message: 1
Date: Fri, 2 Nov 2007 09:24:56 +0100
From: Vincent Massol <vincent(a)massol.net>
Subject: Re: [xwiki-users] Porblem Installing w/Oracle
To: XWiki Users <users(a)xwiki.org>
Message-ID: <16F52207-86BD-4E26-8363-C0C0DA8669DB(a)massol.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi Craig,
Have you followed the instructions on
http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationOracle
and especially the part about the oracle HBM file?
Also what version of xwiki are you installing?
Thanks
-Vincent
On Nov 2, 2007, at 12:59 AM, Fye Kan wrote:
> Hello,
>
> We're investingating a few wiki options and were trying to use Xwiki
> with Tomcat 6 and Oracle 10g using the war installation process.
> We've modified all of the config files per the instructions on the
> site but are getting the following errors when trying to access the
> default page:
>
> 17:25:31,106 [http-129.147.132.30-80-1] ERROR
> store.XWikiHibernateBaseStore - Failed updating schema: 2
> 17:25:31,213 [http-129.147.132.30-80-1] ERROR
> store.XWikiHibernateBaseStore - While executing query: update
> xwikidoc set xwd_translation=0 where xwd_translati on is null
> 17:25:31,213 [http-129.147.132.30-80-1] ERROR
> store.XWikiHibernateBaseStore - Failed updating schema: ORA-00942:
> table or view does not exist
>
> followed by a lot more errors. This is a brand new install so no
> tables exist yet. The user account we have for the DB has access to
> create/modify/remove tables so we're at a bit of a loss as to what
> the problem is. Does anyone out there have any suggestions as to
> what the problem could be? Do we need to create the tables a head of
> time? Is there a script to do so? Any help would be appreciated,
> thanks!
>
> Craig
> ________________________
------------------------------
Message: 2
Date: Fri, 2 Nov 2007 09:47:46 -0000
From: "goldring, richard" <richard.goldring(a)uk.thalesgroup.com>
Subject: [xwiki-users] Class attributes
To: "'XWiki Users'" <users(a)xwiki.org>
Message-ID:
<C02943801230D611919D00508BDF0C240962642D(a)rtwexch.int.rdel.co.uk>
Content-Type: text/plain
Hi,
Does anyone know how to set the various Class properties? There appears
to
be no documentation on this - if there's anyone in the know who could
provide some documentation then it would be really really useful for
developing inline forms to access page object properties to help develop
real applications on XWiki.
i.e. for a display selection list on an inline form ...
Name:
Pretty Name:
Tooltip:
Custom Display:
Unmodifiable:
---
Yes
No
Number:
Validation Regular Expression:
Validation Message:
Size:
Rows:
Editor:
---TextPureTextWysiwyg
Content:
FullyRenderedTextVelocityCodePureText
TaskMainTypeName:
Pretty Name:
Tooltip:
Task main type
Custom Display:
Unmodifiable:
---
Yes
No
Number:
Validation Regular Expression:
Validation Message:
Display Type:
inputselectradiocheckbox
Multiple Select:
---
Yes
No
Relational Storage:
---
Yes
No
Use Picker:
---
Yes
No
Size:
Join separator:
Sort:
noneidvalue
Cache:
---
Yes
No
Values:
Separators:
Regards,
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail
is confidential. It may also be legally privileged. It is intended only
for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained
in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this
e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete
it
and all copies from your system. We accept no responsibility for changes
to
any e-mail which occur after it has been sent. Attachments to this
e-mail
may contain software viruses which could damage your system. We
therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne
Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
------------------------------
Message: 3
Date: Fri, 2 Nov 2007 09:57:08 -0000
From: "Esbach, Brandon" <Esbachb(a)tycoelectronics.com>
Subject: Re: [xwiki-users] Adding a document in XWiki.org
To: "XWiki Users" <users(a)xwiki.org>
Message-ID:
<A259A3D352E3904F8D83CC44E3BE10670233E95C(a)gbd04mx02.tycoelectronics.net>
Content-Type: text/plain; charset="iso-8859-1"
Given that I can't access outside servers from our server network
(company policy), I adjusted this to reflect my own database - changing
only the db name and user details. I setup a table to mimic your column
name as well.
On 1.1 it seems to work; though my environment is a bit different to
standard release (not completely standard xwiki install).
________________________________
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of Your XEN ICT Team - Ricardo Rodriguez
Sent: 01 November 2007 19:15
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org
Esbach, Brandon wrote:
Xwiki.org sandbox: you don't normally get programming rights
(admin rights don't guarantee programming rights on the .org sites).
Someone on the xwiki team will have to open and save the page
for you in order to test it.
Thanks for the information. I didn't realize about the required
programming rights. It is perfectly reasonable that this rights must be
given by an administrator.
But the site is not accessible yet. This link
http://sandbox.xwiki.org/xwiki/bin/view/Main/WebHome keeps generating an
exception while reading document XWiki.XWikiPreferences.
In any case, it there were a problem with programming rights, I
understand that no script will be executed. In this case, scripts
recovering a single record work fine or printing simple lines by using
println work fine.
If it's a local xwiki instance that's also causing the problem,
I'm not sure. Accessing mysql databases seems to work fine for me for
my own local databases.
Could you be so kind as to trying the following script in your xwiki
installation to see if it is my server the only one that is having
problems while printing iterations? Thanks!
<%
import groovy.sql.Sql;
println "This is a sample to access epec in *mire*"
def sendSQL =
Sql.newInstance("jdbc:mysql://mire.environmentalchange.net/epec","epec_R
eadOnly", "epec_ReadOnly", "com.mysql.jdbc.Driver")
sendSQL.eachRow("SELECT * FROM epec.spot s") {row ->println
"${row.code}"}
%>
I've run it in three boxes all of them running 1.2-milestone-1.5235 and
always get the same result.
Please, could anybody else try this? Thank you so much.
Best,
--
Ricardo Rodr?guez
Your XEN ICT Team
Prabhakar,
One solution is to:
1) have some code that is triggered when a user logs in to update their
XWikiUsers object on the users profile page - not sure how to do this -
maybe it needs a change to XWiki to do this - anyone?
2)You could then have some code to read users profile XWikiUsers objects to
list how many times they have logged in - look at the code snippets and
tutorial to get and adapt some code to do this - has anyone got some code
for this?
Hope that helps a little.
It sounds like a useful statistic to collect on the number of times a user
logins in over a week/month/etc - maybe it could be added to the new
statistics page?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of prabhakar.gopalsamy(a)wipro.com
Sent: 02 November 2007 10:46
To: users(a)xwiki.org
Subject: [xwiki-users] Login counter
Hi,
Please help me out,
Help for XWiki - User Login Counter
(prabhakar.gopalsamy(a)wipro.com)
Hi All,
I want to be creating the XWiki - User / Admin Login Counter. - (Page
visited for intranet through respective Login).
Please help me, how to do that? If anyone has xwiki code, please send to
me. I am new to XWiki.
Regards,
Prabhakar Gopalsamy
______________________________
Wipro Technologies
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of users-request(a)xwiki.org
Sent: Friday, November 02, 2007 4:11 PM
To: users(a)xwiki.org
Subject: users Digest, Vol 4, Issue 5
Send users mailing list submissions to
users(a)xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)xwiki.org
You can reach the person managing the list at
users-owner(a)xwiki.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:
1. Re: Porblem Installing w/Oracle (Vincent Massol)
2. Class attributes (goldring, richard)
3. Re: Adding a document in XWiki.org (Esbach, Brandon)
4. Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])
5. Re: Access rights on XWiki space (Esbach, Brandon)
6. Re: Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])
----------------------------------------------------------------------
Message: 1
Date: Fri, 2 Nov 2007 09:24:56 +0100
From: Vincent Massol <vincent(a)massol.net>
Subject: Re: [xwiki-users] Porblem Installing w/Oracle
To: XWiki Users <users(a)xwiki.org>
Message-ID: <16F52207-86BD-4E26-8363-C0C0DA8669DB(a)massol.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi Craig,
Have you followed the instructions on
http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationOracle
and especially the part about the oracle HBM file?
Also what version of xwiki are you installing?
Thanks
-Vincent
On Nov 2, 2007, at 12:59 AM, Fye Kan wrote:
> Hello,
>
> We're investingating a few wiki options and were trying to use Xwiki
> with Tomcat 6 and Oracle 10g using the war installation process.
> We've modified all of the config files per the instructions on the
> site but are getting the following errors when trying to access the
> default page:
>
> 17:25:31,106 [http-129.147.132.30-80-1] ERROR
> store.XWikiHibernateBaseStore - Failed updating schema: 2
> 17:25:31,213 [http-129.147.132.30-80-1] ERROR
> store.XWikiHibernateBaseStore - While executing query: update
> xwikidoc set xwd_translation=0 where xwd_translati on is null
> 17:25:31,213 [http-129.147.132.30-80-1] ERROR
> store.XWikiHibernateBaseStore - Failed updating schema: ORA-00942:
> table or view does not exist
>
> followed by a lot more errors. This is a brand new install so no
> tables exist yet. The user account we have for the DB has access to
> create/modify/remove tables so we're at a bit of a loss as to what
> the problem is. Does anyone out there have any suggestions as to
> what the problem could be? Do we need to create the tables a head of
> time? Is there a script to do so? Any help would be appreciated,
> thanks!
>
> Craig
> ________________________
------------------------------
Message: 2
Date: Fri, 2 Nov 2007 09:47:46 -0000
From: "goldring, richard" <richard.goldring(a)uk.thalesgroup.com>
Subject: [xwiki-users] Class attributes
To: "'XWiki Users'" <users(a)xwiki.org>
Message-ID:
<C02943801230D611919D00508BDF0C240962642D(a)rtwexch.int.rdel.co.uk>
Content-Type: text/plain
Hi,
Does anyone know how to set the various Class properties? There appears
to
be no documentation on this - if there's anyone in the know who could
provide some documentation then it would be really really useful for
developing inline forms to access page object properties to help develop
real applications on XWiki.
i.e. for a display selection list on an inline form ...
Name:
Pretty Name:
Tooltip:
Custom Display:
Unmodifiable:
---
Yes
No
Number:
Validation Regular Expression:
Validation Message:
Size:
Rows:
Editor:
---TextPureTextWysiwyg
Content:
FullyRenderedTextVelocityCodePureText
TaskMainTypeName:
Pretty Name:
Tooltip:
Task main type
Custom Display:
Unmodifiable:
---
Yes
No
Number:
Validation Regular Expression:
Validation Message:
Display Type:
inputselectradiocheckbox
Multiple Select:
---
Yes
No
Relational Storage:
---
Yes
No
Use Picker:
---
Yes
No
Size:
Join separator:
Sort:
noneidvalue
Cache:
---
Yes
No
Values:
Separators:
Regards,
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail
is confidential. It may also be legally privileged. It is intended only
for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained
in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this
e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete
it
and all copies from your system. We accept no responsibility for changes
to
any e-mail which occur after it has been sent. Attachments to this
e-mail
may contain software viruses which could damage your system. We
therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne
Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
------------------------------
Message: 3
Date: Fri, 2 Nov 2007 09:57:08 -0000
From: "Esbach, Brandon" <Esbachb(a)tycoelectronics.com>
Subject: Re: [xwiki-users] Adding a document in XWiki.org
To: "XWiki Users" <users(a)xwiki.org>
Message-ID:
<A259A3D352E3904F8D83CC44E3BE10670233E95C(a)gbd04mx02.tycoelectronics.net>
Content-Type: text/plain; charset="iso-8859-1"
Given that I can't access outside servers from our server network
(company policy), I adjusted this to reflect my own database - changing
only the db name and user details. I setup a table to mimic your column
name as well.
On 1.1 it seems to work; though my environment is a bit different to
standard release (not completely standard xwiki install).
________________________________
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of Your XEN ICT Team - Ricardo Rodriguez
Sent: 01 November 2007 19:15
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org
Esbach, Brandon wrote:
Xwiki.org sandbox: you don't normally get programming rights
(admin rights don't guarantee programming rights on the .org sites).
Someone on the xwiki team will have to open and save the page
for you in order to test it.
Thanks for the information. I didn't realize about the required
programming rights. It is perfectly reasonable that this rights must be
given by an administrator.
But the site is not accessible yet. This link
http://sandbox.xwiki.org/xwiki/bin/view/Main/WebHome keeps generating an
exception while reading document XWiki.XWikiPreferences.
In any case, it there were a problem with programming rights, I
understand that no script will be executed. In this case, scripts
recovering a single record work fine or printing simple lines by using
println work fine.
If it's a local xwiki instance that's also causing the problem,
I'm not sure. Accessing mysql databases seems to work fine for me for
my own local databases.
Could you be so kind as to trying the following script in your xwiki
installation to see if it is my server the only one that is having
problems while printing iterations? Thanks!
<%
import groovy.sql.Sql;
println "This is a sample to access epec in *mire*"
def sendSQL =
Sql.newInstance("jdbc:mysql://mire.environmentalchange.net/epec","epec_R
eadOnly", "epec_ReadOnly", "com.mysql.jdbc.Driver")
sendSQL.eachRow("SELECT * FROM epec.spot s") {row ->println
"${row.code}"}
%>
I've run it in three boxes all of them running 1.2-milestone-1.5235 and
always get the same result.
Please, could anybody else try this? Thank you so much.
Best,
--
Ricardo Rodr?guez
Your XEN ICT Team
Hi,
Please help me out,
Help for XWiki - User Login Counter
(prabhakar.gopalsamy(a)wipro.com)
Hi All,
I want to be creating the XWiki - User / Admin Login Counter. - (Page
visited for intranet through respective Login).
Please help me, how to do that? If anyone has xwiki code, please send to
me. I am new to XWiki.
Regards,
Prabhakar Gopalsamy
______________________________
Wipro Technologies
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of users-request(a)xwiki.org
Sent: Friday, November 02, 2007 4:11 PM
To: users(a)xwiki.org
Subject: users Digest, Vol 4, Issue 5
Send users mailing list submissions to
users(a)xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)xwiki.org
You can reach the person managing the list at
users-owner(a)xwiki.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:
1. Re: Porblem Installing w/Oracle (Vincent Massol)
2. Class attributes (goldring, richard)
3. Re: Adding a document in XWiki.org (Esbach, Brandon)
4. Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])
5. Re: Access rights on XWiki space (Esbach, Brandon)
6. Re: Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])
----------------------------------------------------------------------
Message: 1
Date: Fri, 2 Nov 2007 09:24:56 +0100
From: Vincent Massol <vincent(a)massol.net>
Subject: Re: [xwiki-users] Porblem Installing w/Oracle
To: XWiki Users <users(a)xwiki.org>
Message-ID: <16F52207-86BD-4E26-8363-C0C0DA8669DB(a)massol.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi Craig,
Have you followed the instructions on
http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationOracle
and especially the part about the oracle HBM file?
Also what version of xwiki are you installing?
Thanks
-Vincent
On Nov 2, 2007, at 12:59 AM, Fye Kan wrote:
> Hello,
>
> We're investingating a few wiki options and were trying to use Xwiki
> with Tomcat 6 and Oracle 10g using the war installation process.
> We've modified all of the config files per the instructions on the
> site but are getting the following errors when trying to access the
> default page:
>
> 17:25:31,106 [http-129.147.132.30-80-1] ERROR
> store.XWikiHibernateBaseStore - Failed updating schema: 2
> 17:25:31,213 [http-129.147.132.30-80-1] ERROR
> store.XWikiHibernateBaseStore - While executing query: update
> xwikidoc set xwd_translation=0 where xwd_translati on is null
> 17:25:31,213 [http-129.147.132.30-80-1] ERROR
> store.XWikiHibernateBaseStore - Failed updating schema: ORA-00942:
> table or view does not exist
>
> followed by a lot more errors. This is a brand new install so no
> tables exist yet. The user account we have for the DB has access to
> create/modify/remove tables so we're at a bit of a loss as to what
> the problem is. Does anyone out there have any suggestions as to
> what the problem could be? Do we need to create the tables a head of
> time? Is there a script to do so? Any help would be appreciated,
> thanks!
>
> Craig
> ________________________
------------------------------
Message: 2
Date: Fri, 2 Nov 2007 09:47:46 -0000
From: "goldring, richard" <richard.goldring(a)uk.thalesgroup.com>
Subject: [xwiki-users] Class attributes
To: "'XWiki Users'" <users(a)xwiki.org>
Message-ID:
<C02943801230D611919D00508BDF0C240962642D(a)rtwexch.int.rdel.co.uk>
Content-Type: text/plain
Hi,
Does anyone know how to set the various Class properties? There appears
to
be no documentation on this - if there's anyone in the know who could
provide some documentation then it would be really really useful for
developing inline forms to access page object properties to help develop
real applications on XWiki.
i.e. for a display selection list on an inline form ...
Name:
Pretty Name:
Tooltip:
Custom Display:
Unmodifiable:
---
Yes
No
Number:
Validation Regular Expression:
Validation Message:
Size:
Rows:
Editor:
---TextPureTextWysiwyg
Content:
FullyRenderedTextVelocityCodePureText
TaskMainTypeName:
Pretty Name:
Tooltip:
Task main type
Custom Display:
Unmodifiable:
---
Yes
No
Number:
Validation Regular Expression:
Validation Message:
Display Type:
inputselectradiocheckbox
Multiple Select:
---
Yes
No
Relational Storage:
---
Yes
No
Use Picker:
---
Yes
No
Size:
Join separator:
Sort:
noneidvalue
Cache:
---
Yes
No
Values:
Separators:
Regards,
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail
is confidential. It may also be legally privileged. It is intended only
for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained
in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this
e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete
it
and all copies from your system. We accept no responsibility for changes
to
any e-mail which occur after it has been sent. Attachments to this
e-mail
may contain software viruses which could damage your system. We
therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne
Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
------------------------------
Message: 3
Date: Fri, 2 Nov 2007 09:57:08 -0000
From: "Esbach, Brandon" <Esbachb(a)tycoelectronics.com>
Subject: Re: [xwiki-users] Adding a document in XWiki.org
To: "XWiki Users" <users(a)xwiki.org>
Message-ID:
<A259A3D352E3904F8D83CC44E3BE10670233E95C(a)gbd04mx02.tycoelectronics.net>
Content-Type: text/plain; charset="iso-8859-1"
Given that I can't access outside servers from our server network
(company policy), I adjusted this to reflect my own database - changing
only the db name and user details. I setup a table to mimic your column
name as well.
On 1.1 it seems to work; though my environment is a bit different to
standard release (not completely standard xwiki install).
________________________________
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of Your XEN ICT Team - Ricardo Rodriguez
Sent: 01 November 2007 19:15
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org
Esbach, Brandon wrote:
Xwiki.org sandbox: you don't normally get programming rights
(admin rights don't guarantee programming rights on the .org sites).
Someone on the xwiki team will have to open and save the page
for you in order to test it.
Thanks for the information. I didn't realize about the required
programming rights. It is perfectly reasonable that this rights must be
given by an administrator.
But the site is not accessible yet. This link
http://sandbox.xwiki.org/xwiki/bin/view/Main/WebHome keeps generating an
exception while reading document XWiki.XWikiPreferences.
In any case, it there were a problem with programming rights, I
understand that no script will be executed. In this case, scripts
recovering a single record work fine or printing simple lines by using
println work fine.
If it's a local xwiki instance that's also causing the problem,
I'm not sure. Accessing mysql databases seems to work fine for me for
my own local databases.
Could you be so kind as to trying the following script in your xwiki
installation to see if it is my server the only one that is having
problems while printing iterations? Thanks!
<%
import groovy.sql.Sql;
println "This is a sample to access epec in *mire*"
def sendSQL =
Sql.newInstance("jdbc:mysql://mire.environmentalchange.net/epec","epec_R
eadOnly", "epec_ReadOnly", "com.mysql.jdbc.Driver")
sendSQL.eachRow("SELECT * FROM epec.spot s") {row ->println
"${row.code}"}
%>
I've run it in three boxes all of them running 1.2-milestone-1.5235 and
always get the same result.
Please, could anybody else try this? Thank you so much.
Best,
--
Ricardo Rodr?guez
Your XEN ICT Team
Hi,
Does anyone know how to set the various Class properties? There appears to
be no documentation on this - if there's anyone in the know who could
provide some documentation then it would be really really useful for
developing inline forms to access page object properties to help develop
real applications on XWiki.
i.e. for a display selection list on an inline form ...
Name:
Pretty Name:
Tooltip:
Custom Display:
Unmodifiable:
---
Yes
No
Number:
Validation Regular Expression:
Validation Message:
Size:
Rows:
Editor:
---TextPureTextWysiwyg
Content:
FullyRenderedTextVelocityCodePureText
TaskMainTypeName:
Pretty Name:
Tooltip:
Task main type
Custom Display:
Unmodifiable:
---
Yes
No
Number:
Validation Regular Expression:
Validation Message:
Display Type:
inputselectradiocheckbox
Multiple Select:
---
Yes
No
Relational Storage:
---
Yes
No
Use Picker:
---
Yes
No
Size:
Join separator:
Sort:
noneidvalue
Cache:
---
Yes
No
Values:
Separators:
Regards,
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi,
Please help me out,
Help for XWiki - User Login Counter
(prabhakar.gopalsamy(a)wipro.com)
Hi All,
I want to be creating the XWiki - User / Admin Login Counter. - (Page
visited for intranet through respective Login).
Please help me, how to do that? If anyone has xwiki code, please send to
me. I am new to XWiki.
Regards,
Prabhakar Gopalsamy
______________________________
Wipro Technologies
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of users-request(a)xwiki.org
Sent: Friday, November 02, 2007 11:53 AM
To: users(a)xwiki.org
Subject: users Digest, Vol 4, Issue 3
Send users mailing list submissions to
users(a)xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)xwiki.org
You can reach the person managing the list at
users-owner(a)xwiki.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:
1. Re: Page not loading (Esbach, Brandon)
2. Re: Page not loading (goldring, richard)
3. Closed JIRA issue 744 seems still to cause problems:
getRenderedContent does not set the proper document in the
context (developers Massol/Dumitru/Dubost) (Andreas)
4. Re: Adding a document in XWiki.org
(Your XEN ICT Team - Ricardo Rodriguez)
5. Porblem Installing w/Oracle (Fye Kan)
6. Re: users Digest, Vol 3, Issue 69 (prabhakar.gopalsamy(a)wipro.com)
----------------------------------------------------------------------
Message: 1
Date: Thu, 1 Nov 2007 15:37:41 -0000
From: "Esbach, Brandon" <Esbachb(a)tycoelectronics.com>
Subject: Re: [xwiki-users] Page not loading
To: "XWiki Users" <users(a)xwiki.org>
Message-ID:
<A259A3D352E3904F8D83CC44E3BE10670233E95B(a)gbd04mx02.tycoelectronics.net>
Content-Type: text/plain; charset="us-ascii"
Add "?viewer=history" (naturally without the "") to the end of the page
name to access the history. This interrupts the page and gives you the
history layout where you can rollback as needed.
If it won't even show you the menu (where the history is usually
accessed), it's possible that you've got another supporting page broken.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of goldring, richard
Sent: 01 November 2007 15:27
To: 'XWiki Users'
Subject: Re: [xwiki-users] Page not loading
Er .. no ... the page won't load so I can't access the history view!!!
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Esbach, Brandon
Sent: 01 November 2007 15:29
To: XWiki Users
Subject: Re: [xwiki-users] Page not loading
You can go to the history view..
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of goldring, richard
Sent: 01 November 2007 15:08
To: 'XWiki Users'
Subject: [xwiki-users] Page not loading
Anyone,
My page (WebHome) is not loading - possibly because of some doddgy code
on it.
Is there anyway to revert it back to a previous working version of the
page using some magic code executed on another page?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vitantonio Messa
Sent: 31 October 2007 07:03
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org
Hi,
if you take a look at the API, there are all the information you need.
It is possible to create and save a document, through the function
Xwiki.createDocument() and Document.Save(), of course this functions
will work only if you have editing rights (but if you're able to already
edit documents, you have those rights).
Vito
V. Harikrishnan Nair wrote:
> Hello...
>
> I've been able to read and enter data into my personal MySQL
> database (after a very long night, finally!) and I think this should
> be added into the documentation for XWiki.org but first, I want to get
> data from a
textbox
> into the database...
>
> Because the first thing that newbies like me wanted to do was to
> communicate with a personal database (especially through the use of
forms),
> I believe this is important.
>
> How can I add a document in XWiki.org ? Do I have editing rights
?
>
>
> Harikrishnan
>
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail is confidential. It may also be legally privileged. It is
intended only for the stated addressee(s) and access to it by any other
person is unauthorised. If you are not an addressee, you must not
disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. Such unauthorised use may be
unlawful. We may monitor all e-mail communications through our networks.
If you have received this e-mail in error, please inform us immediately
on +44 (0) 1749 672081 and delete it and all copies from your system. We
accept no responsibility for changes to any e-mail which occur after it
has been sent. Attachments to this e-mail may contain software viruses
which could damage your system. We therefore recommend you virus-check
all attachments before opening. A business of Thales UK Ltd. Registered
Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone,
Weybridge, Surrey KT15 2NX Registered in England No.
868273
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail is confidential. It may also be legally privileged. It is
intended only for the stated addressee(s) and access to it by any other
person is unauthorised. If you are not an addressee, you must not
disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. Such unauthorised use may be
unlawful. We may monitor all e-mail communications through our networks.
If you have received this e-mail in error, please inform us immediately
on +44 (0) 1749 672081 and delete it and all copies from your system. We
accept no responsibility for changes to any e-mail which occur after it
has been sent. Attachments to this e-mail may contain software viruses
which could damage your system. We therefore recommend you virus-check
all attachments before opening. A business of Thales UK Ltd. Registered
Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone,
Weybridge, Surrey KT15 2NX Registered in England No.
868273
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
------------------------------
Message: 2
Date: Thu, 1 Nov 2007 15:36:42 -0000
From: "goldring, richard" <richard.goldring(a)uk.thalesgroup.com>
Subject: Re: [xwiki-users] Page not loading
To: "'XWiki Users'" <users(a)xwiki.org>
Message-ID:
<C02943801230D611919D00508BDF0C240962642C(a)rtwexch.int.rdel.co.uk>
Content-Type: text/plain
Brandon,
Thanks - that worked! - my code must have gone into an endless loop or
something.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Esbach, Brandon
Sent: 01 November 2007 15:38
To: XWiki Users
Subject: Re: [xwiki-users] Page not loading
Add "?viewer=history" (naturally without the "") to the end of the page
name to access the history. This interrupts the page and gives you the
history layout where you can rollback as needed.
If it won't even show you the menu (where the history is usually
accessed), it's possible that you've got another supporting page broken.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of goldring, richard
Sent: 01 November 2007 15:27
To: 'XWiki Users'
Subject: Re: [xwiki-users] Page not loading
Er .. no ... the page won't load so I can't access the history view!!!
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Esbach, Brandon
Sent: 01 November 2007 15:29
To: XWiki Users
Subject: Re: [xwiki-users] Page not loading
You can go to the history view..
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of goldring, richard
Sent: 01 November 2007 15:08
To: 'XWiki Users'
Subject: [xwiki-users] Page not loading
Anyone,
My page (WebHome) is not loading - possibly because of some doddgy code
on it.
Is there anyway to revert it back to a previous working version of the
page using some magic code executed on another page?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vitantonio Messa
Sent: 31 October 2007 07:03
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org
Hi,
if you take a look at the API, there are all the information you need.
It is possible to create and save a document, through the function
Xwiki.createDocument() and Document.Save(), of course this functions
will work only if you have editing rights (but if you're able to already
edit documents, you have those rights).
Vito
V. Harikrishnan Nair wrote:
> Hello...
>
> I've been able to read and enter data into my personal MySQL
> database (after a very long night, finally!) and I think this should
> be added into the documentation for XWiki.org but first, I want to get
> data from a
textbox
> into the database...
>
> Because the first thing that newbies like me wanted to do was to
> communicate with a personal database (especially through the use of
forms),
> I believe this is important.
>
> How can I add a document in XWiki.org ? Do I have editing rights
?
>
>
> Harikrishnan
>
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail is confidential. It may also be legally privileged. It is
intended only for the stated addressee(s) and access to it by any other
person is unauthorised. If you are not an addressee, you must not
disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. Such unauthorised use may be
unlawful. We may monitor all e-mail communications through our networks.
If you have received this e-mail in error, please inform us immediately
on +44 (0) 1749 672081 and delete it and all copies from your system. We
accept no responsibility for changes to any e-mail which occur after it
has been sent. Attachments to this e-mail may contain software viruses
which could damage your system. We therefore recommend you virus-check
all attachments before opening. A business of Thales UK Ltd. Registered
Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone,
Weybridge, Surrey KT15 2NX Registered in England No.
868273
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail is confidential. It may also be legally privileged. It is
intended only for the stated addressee(s) and access to it by any other
person is unauthorised. If you are not an addressee, you must not
disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. Such unauthorised use may be
unlawful. We may monitor all e-mail communications through our networks.
If you have received this e-mail in error, please inform us immediately
on +44 (0) 1749 672081 and delete it and all copies from your system. We
accept no responsibility for changes to any e-mail which occur after it
has been sent. Attachments to this e-mail may contain software viruses
which could damage your system. We therefore recommend you virus-check
all attachments before opening. A business of Thales UK Ltd. Registered
Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone,
Weybridge, Surrey KT15 2NX Registered in England No.
868273
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail
is confidential. It may also be legally privileged. It is intended only
for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained
in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this
e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete
it
and all copies from your system. We accept no responsibility for changes
to
any e-mail which occur after it has been sent. Attachments to this
e-mail
may contain software viruses which could damage your system. We
therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne
Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
------------------------------
Message: 3
Date: Thu, 1 Nov 2007 11:45:10 -0700
From: Andreas <vonhessling+xwiki.org(a)gmail.com>
Subject: [xwiki-users] Closed JIRA issue 744 seems still to cause
problems: getRenderedContent does not set the proper
document in the
context (developers Massol/Dumitru/Dubost)
To: users(a)xwiki.org
Message-ID:
<a2159590711011145p6b1e2890x8990abea28a936d4(a)mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Hello,
I believe my yesterday's question to this list refers to the problem
described in
http://jira.xwiki.org/jira/browse/XWIKI-744
Anybody got similar issues? Any quick fix in sight?
Thanks,
Andreas
------------------------------
Message: 4
Date: Thu, 01 Nov 2007 20:14:46 +0100
From: Your XEN ICT Team - Ricardo Rodriguez <webmaster(a)xen.net>
Subject: Re: [xwiki-users] Adding a document in XWiki.org
To: XWiki Users <users(a)xwiki.org>
Message-ID: <472A25A6.2080009(a)xen.net>
Content-Type: text/plain; charset="iso-8859-1"
Esbach, Brandon wrote:
> Xwiki.org sandbox: you don't normally get programming rights (admin
rights don't guarantee programming rights on the .org sites).
> Someone on the xwiki team will have to open and save the page for you
in order to test it.
>
>
Thanks for the information. I didn't realize about the required
programming rights. It is perfectly reasonable that this rights must be
given by an administrator.
But the site is not accessible yet. This link
http://sandbox.xwiki.org/xwiki/bin/view/Main/WebHome keeps generating an
exception while reading document XWiki.XWikiPreferences.
In any case, it there were a problem with programming rights, I
understand that no script will be executed. In this case, scripts
recovering a single record work fine or printing simple lines by using
println work fine.
> If it's a local xwiki instance that's also causing the problem, I'm
not sure. Accessing mysql databases seems to work fine for me for my
own local databases.
Could you be so kind as to trying the following script in your xwiki
installation to see if it is my server the only one that is having
problems while printing iterations? Thanks!
<%
import groovy.sql.Sql;
println "This is a sample to access epec in *mire*"
def sendSQL =
Sql.newInstance("jdbc:mysql://mire.environmentalchange.net/epec","epec_R
eadOnly", "epec_ReadOnly", "com.mysql.jdbc.Driver")
sendSQL.eachRow("SELECT * FROM epec.spot s") {row ->println
"${row.code}"}
%>
I've run it in three boxes all of them running 1.2-milestone-1.5235 and
always get the same result.
Please, could anybody else try this? Thank you so much.
Best,
--
Ricardo Rodr?guez
Your XEN ICT Team
Hi,
Please help me out,
8. Help for XWiki - User Login Counter
(prabhakar.gopalsamy(a)wipro.com)
Hi All,
I want to be creating the XWiki - User / Admin Login Counter. - (Page
visited for intranet through respective Login).
Please help me, how to do that? If anyone has xwiki code, please send to
me. I am new to XWiki.
Regards,
Prabhakar Gopalsamy
______________________________
Wipro Technologies
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of users-request(a)xwiki.org
Sent: Wednesday, October 31, 2007 1:26 PM
To: users(a)xwiki.org
Subject: users Digest, Vol 3, Issue 69
Send users mailing list submissions to
users(a)xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)xwiki.org
You can reach the person managing the list at
users-owner(a)xwiki.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:
1. Re: Sample Groovy Code (V. Harikrishnan Nair)
2. Adding a document in XWiki.org (V. Harikrishnan Nair)
3. Re: Xwiki file and attachment storage (Vincent Massol)
4. Re: Sample Groovy Code (Vincent Massol)
5. Re: Adding a document in XWiki.org (Vitantonio Messa)
6. Re: Adding a document in XWiki.org (Vincent Massol)
7. Re: Xwiki file and attachment storage
(Your XEN ICT Team - Ricardo Rodriguez)
8. Help for XWiki - User Login Counter
(prabhakar.gopalsamy(a)wipro.com)
----------------------------------------------------------------------
Message: 1
Date: Tue, 30 Oct 2007 22:19:08 -0700 (PDT)
From: "V. Harikrishnan Nair" <harikrishnan_v(a)amritatech.com>
Subject: Re: [xwiki-users] Sample Groovy Code
To: users(a)xwiki.org
Message-ID: <13502522.post(a)talk.nabble.com>
Content-Type: text/plain; charset=us-ascii
Hello Vincent,
I've found out QueryPluginApi from the docs. But even if this is the
API
you meant, why is it not possible to use Groovy to access the database
of my
choice to display my data ?
Harikrishnan
vmassol wrote:
>
> Hi,
>
> Don't call the database directly. XWiki offers API for doing this.
>
> What tutorial are you referring to?
>
> Thanks
> -Vincent
>
> On Oct 30, 2007, at 11:53 AM, V. Harikrishnan Nair wrote:
>
>>
>> Hi all...
>>
>> I am learning how to read from the default xwiki database xwiki_db
>> using
>> groovy. This is the code I got from the tutorial ->
>>
>> -------------
>> import groovy.sql.Sql
>> sql =
>> Sql.newInstance("jdbc:jtds:sqlserver://serverName/dbName-
>> CLASS;domain=domainName",
>> "username",
>> "password", "net.sourceforge.jtds.jdbc.Driver")
>> sql.eachRow("select * from tableName", { println it.id + " --
>> ${it.firstName} --"} );
>> ------------
>>
>> This is the code which is edited by me ->
>>
>> -----------
>> import groovy.sql.Sql
>> sql =
>> Sql.newInstance("jdbc:jtds:sqlserver://localhost/xwiki_db-
>> CLASS;domain=domainName",
>> "sa",
>> "", "net.sourceforge.jtds.jdbc.Driver")
>> sql.eachRow("select * from XWIKIDOC", { println it.id + " -- $
>> {it.firstName}
>> --"} );
>> ----------
>>
>> Can anyone please rectify any errors here ? Especially the closure
>> in the
>> third line as I don't know the fields present in XWIKIDOC table...
>>
>> Thanks,
>> Harikrishnan
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
--
View this message in context:
http://www.nabble.com/Sample-Groovy-Code-tf4717685.html#a13502522
Sent from the XWiki- Users mailing list archive at Nabble.com.
------------------------------
Message: 2
Date: Tue, 30 Oct 2007 23:57:03 -0700 (PDT)
From: "V. Harikrishnan Nair" <harikrishnan_v(a)amritatech.com>
Subject: [xwiki-users] Adding a document in XWiki.org
To: users(a)xwiki.org
Message-ID: <13503839.post(a)talk.nabble.com>
Content-Type: text/plain; charset=us-ascii
Hello...
I've been able to read and enter data into my personal MySQL database
(after a very long night, finally!) and I think this should be added
into
the documentation for XWiki.org but first, I want to get data from a
textbox
into the database...
Because the first thing that newbies like me wanted to do was to
communicate with a personal database (especially through the use of
forms),
I believe this is important.
How can I add a document in XWiki.org ? Do I have editing rights ?
Harikrishnan
--
View this message in context:
http://www.nabble.com/Adding-a-document-in-XWiki.org-tf4723188.html#a135
03839
Sent from the XWiki- Users mailing list archive at Nabble.com.
------------------------------
Message: 3
Date: Wed, 31 Oct 2007 07:59:05 +0100
From: Vincent Massol <vincent(a)massol.net>
Subject: Re: [xwiki-users] Xwiki file and attachment storage
To: XWiki Users <users(a)xwiki.org>
Message-ID: <25635B2F-435B-4FBB-9191-84868EFD0F94(a)massol.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
On Oct 31, 2007, at 12:01 AM, Your XEN ICT Team - Ricardo Rodriguez
wrote:
> Vincent Massol wrote:
>> Sorry but no. The scope for 1.2 was changed a long time ago. More =
>
>> importantly Artem who was working on it has stopped participating
>> to =
>
>> XWiki for some time since he's busy on other stuff. He'll join us
>> back =
>
>> later but there's no ETA right now on the JCR implementation.
>>
>> However I'm curious to know why you need attachments stored in the =
>
>> file system.
>>
>> Thanks
>> -Vincent
> Sorry if jumping in this thread is not the most elegant way of =
>
> collaborate, but I've missed this option, to store attachments in
> the =
>
> file system, today.
>
> For instance: we use a lot of high resolution pictures in our work.
> If I =
>
> can store this images in the file system I can access them by using =
>
> "regular" drive mapping, web server access, sftp,... I mean: I could =
>
> keep relying on different clients to read the files while I could
> rely =
>
> on XWiki to easy the way users "load" files in the system.
>
> Hope this makes sense for you.
Definitely. For this use case, webdav support would probably be the
best. We have jira issues opened for this but nobody has implemented
it yet AFAIK. I guess if the JCR implementation also supports Webdav
that should work too.
-Vincent
------------------------------
Message: 4
Date: Wed, 31 Oct 2007 08:01:06 +0100
From: Vincent Massol <vincent(a)massol.net>
Subject: Re: [xwiki-users] Sample Groovy Code
To: XWiki Users <users(a)xwiki.org>
Message-ID: <C46002A9-5CF4-45A1-BEC3-7BC51FF3B9E9(a)massol.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
First, you need to tell us what's your use case. What information do
you wish to get from the database?
Thanks
-Vincent
On Oct 31, 2007, at 6:19 AM, V. Harikrishnan Nair wrote:
>
> Hello Vincent,
>
> I've found out QueryPluginApi from the docs. But even if this is
> the API
> you meant, why is it not possible to use Groovy to access the
> database of my
> choice to display my data ?
>
> Harikrishnan
>
>
> vmassol wrote:
>>
>> Hi,
>>
>> Don't call the database directly. XWiki offers API for doing this.
>>
>> What tutorial are you referring to?
>>
>> Thanks
>> -Vincent
>>
>> On Oct 30, 2007, at 11:53 AM, V. Harikrishnan Nair wrote:
>>
>>>
>>> Hi all...
>>>
>>> I am learning how to read from the default xwiki database xwiki_db
>>> using
>>> groovy. This is the code I got from the tutorial ->
>>>
>>> -------------
>>> import groovy.sql.Sql
>>> sql =
>>> Sql.newInstance("jdbc:jtds:sqlserver://serverName/dbName-
>>> CLASS;domain=domainName",
>>> "username",
>>> "password", "net.sourceforge.jtds.jdbc.Driver")
>>> sql.eachRow("select * from tableName", { println it.id + " --
>>> ${it.firstName} --"} );
>>> ------------
>>>
>>> This is the code which is edited by me ->
>>>
>>> -----------
>>> import groovy.sql.Sql
>>> sql =
>>> Sql.newInstance("jdbc:jtds:sqlserver://localhost/xwiki_db-
>>> CLASS;domain=domainName",
>>> "sa",
>>> "", "net.sourceforge.jtds.jdbc.Driver")
>>> sql.eachRow("select * from XWIKIDOC", { println it.id + " -- $
>>> {it.firstName}
>>> --"} );
>>> ----------
>>>
>>> Can anyone please rectify any errors here ? Especially the closure
>>> in the
>>> third line as I don't know the fields present in XWIKIDOC table...
>>>
>>> Thanks,
>>> Harikrishnan
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>
> --
> View this message in context:
http://www.nabble.com/Sample-Groovy-Code-tf4717685.html#a13502522
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
------------------------------
Message: 5
Date: Wed, 31 Oct 2007 09:02:42 +0200
From: Vitantonio Messa <vitantonio.messa(a)coss.fi>
Subject: Re: [xwiki-users] Adding a document in XWiki.org
To: XWiki Users <users(a)xwiki.org>
Message-ID: <47282892.90804(a)coss.fi>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
if you take a look at the API, there are all the information you need.
It is possible to create and save a document, through the function
Xwiki.createDocument() and Document.Save(), of course this functions
will work only if you have editing rights (but if you're able to already
edit documents, you have those rights).
Vito
V. Harikrishnan Nair wrote:
> Hello...
>
> I've been able to read and enter data into my personal MySQL
database
> (after a very long night, finally!) and I think this should be added
into
> the documentation for XWiki.org but first, I want to get data from a
textbox
> into the database...
>
> Because the first thing that newbies like me wanted to do was to
> communicate with a personal database (especially through the use of
forms),
> I believe this is important.
>
> How can I add a document in XWiki.org ? Do I have editing rights
?
>
>
> Harikrishnan
>
>
------------------------------
Message: 6
Date: Wed, 31 Oct 2007 08:03:58 +0100
From: Vincent Massol <vincent(a)massol.net>
Subject: Re: [xwiki-users] Adding a document in XWiki.org
To: XWiki Users <users(a)xwiki.org>
Message-ID: <CB37D70F-FBC1-44CD-A715-388D6EEDC60F(a)massol.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
On Oct 31, 2007, at 7:57 AM, V. Harikrishnan Nair wrote:
>
> Hello...
>
> I've been able to read and enter data into my personal MySQL
> database
> (after a very long night, finally!) and I think this should be added
> into
> the documentation for XWiki.org but first, I want to get data from a
> textbox
> into the database...
>
> Because the first thing that newbies like me wanted to do was to
> communicate with a personal database (especially through the use of
> forms),
> I believe this is important.
You're the first one I see to have this need so I'm curious to
understand what's your use case first. My belief is that you're not
using XWiki properly.
> How can I add a document in XWiki.org ? Do I have editing rights ?
Everybody has editing rights but before you make any change:
1) let's agree you have a valid use case and that's you're using the
proper way of doing it
2) if 1) is agreed then let's decide together where it should go on
xwiki.org
Let's start with 1) first.
Thanks for offering your help for xwiki.org, very much appreciated.
-Vincent
------------------------------
Message: 7
Date: Wed, 31 Oct 2007 08:37:22 +0100
From: Your XEN ICT Team - Ricardo Rodriguez <webmaster(a)xen.net>
Subject: Re: [xwiki-users] Xwiki file and attachment storage
To: XWiki Users <users(a)xwiki.org>
Message-ID: <472830B2.1000901(a)xen.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Vincent Massol wrote:
> Definitely. For this use case, webdav support would probably be the
> best. We have jira issues opened for this but nobody has implemented
> it yet AFAIK. I guess if the JCR implementation also supports Webdav
> that should work too.
>
> -Vincent
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Thanks, Vincent. I'll search and keep track of these issues.
Unfortunately I'm still far from being able to contribute to such an
effort. But keep trying hard!
Cheers,
--
Ricardo Rodr?guez
Your XEN ICT Team
------------------------------
Message: 8
Date: Wed, 31 Oct 2007 12:24:20 +0530
From: <prabhakar.gopalsamy(a)wipro.com>
Subject: [xwiki-users] Help for XWiki - User Login Counter
To: <users(a)xwiki.org>
Cc: prabhakar.gopalsamy(a)wipro.com
Message-ID:
<E98CB0DA71F20341907598C3494F320D015AC244(a)BLR-EC-MBX08.wipro.com>
Content-Type: text/plain; charset="us-ascii"
Hi All,
I want to be creating the XWiki - User / Admin Login Counter. - (Page
visited for intranet through respective Login).
Please help me, how to do that? If anyone has xwiki code, please send to
me. I am new to XWiki.
Regards,
Prabhakar Gopalsamy
______________________________
Wipro Technologies
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.
www.wipro.com
Er .. no ... the page won't load so I can't access the history view!!!
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Esbach, Brandon
Sent: 01 November 2007 15:29
To: XWiki Users
Subject: Re: [xwiki-users] Page not loading
You can go to the history view..
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of goldring, richard
Sent: 01 November 2007 15:08
To: 'XWiki Users'
Subject: [xwiki-users] Page not loading
Anyone,
My page (WebHome) is not loading - possibly because of some doddgy code
on it.
Is there anyway to revert it back to a previous working version of the
page using some magic code executed on another page?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vitantonio Messa
Sent: 31 October 2007 07:03
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org
Hi,
if you take a look at the API, there are all the information you need.
It is possible to create and save a document, through the function
Xwiki.createDocument() and Document.Save(), of course this functions
will work only if you have editing rights (but if you're able to already
edit documents, you have those rights).
Vito
V. Harikrishnan Nair wrote:
> Hello...
>
> I've been able to read and enter data into my personal MySQL
> database (after a very long night, finally!) and I think this should
> be added into the documentation for XWiki.org but first, I want to get
> data from a
textbox
> into the database...
>
> Because the first thing that newbies like me wanted to do was to
> communicate with a personal database (especially through the use of
forms),
> I believe this is important.
>
> How can I add a document in XWiki.org ? Do I have editing rights
?
>
>
> Harikrishnan
>
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail is confidential. It may also be legally privileged. It is
intended only for the stated addressee(s) and access to it by any other
person is unauthorised. If you are not an addressee, you must not
disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. Such unauthorised use may be
unlawful. We may monitor all e-mail communications through our networks.
If you have received this e-mail in error, please inform us immediately
on +44 (0) 1749 672081 and delete it and all copies from your system. We
accept no responsibility for changes to any e-mail which occur after it
has been sent. Attachments to this e-mail may contain software viruses
which could damage your system. We therefore recommend you virus-check
all attachments before opening. A business of Thales UK Ltd. Registered
Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone,
Weybridge, Surrey KT15 2NX Registered in England No.
868273
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Brandon,
Thanks - that worked! - my code must have gone into an endless loop or
something.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Esbach, Brandon
Sent: 01 November 2007 15:38
To: XWiki Users
Subject: Re: [xwiki-users] Page not loading
Add "?viewer=history" (naturally without the "") to the end of the page
name to access the history. This interrupts the page and gives you the
history layout where you can rollback as needed.
If it won't even show you the menu (where the history is usually
accessed), it's possible that you've got another supporting page broken.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of goldring, richard
Sent: 01 November 2007 15:27
To: 'XWiki Users'
Subject: Re: [xwiki-users] Page not loading
Er .. no ... the page won't load so I can't access the history view!!!
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Esbach, Brandon
Sent: 01 November 2007 15:29
To: XWiki Users
Subject: Re: [xwiki-users] Page not loading
You can go to the history view..
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of goldring, richard
Sent: 01 November 2007 15:08
To: 'XWiki Users'
Subject: [xwiki-users] Page not loading
Anyone,
My page (WebHome) is not loading - possibly because of some doddgy code
on it.
Is there anyway to revert it back to a previous working version of the
page using some magic code executed on another page?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vitantonio Messa
Sent: 31 October 2007 07:03
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org
Hi,
if you take a look at the API, there are all the information you need.
It is possible to create and save a document, through the function
Xwiki.createDocument() and Document.Save(), of course this functions
will work only if you have editing rights (but if you're able to already
edit documents, you have those rights).
Vito
V. Harikrishnan Nair wrote:
> Hello...
>
> I've been able to read and enter data into my personal MySQL
> database (after a very long night, finally!) and I think this should
> be added into the documentation for XWiki.org but first, I want to get
> data from a
textbox
> into the database...
>
> Because the first thing that newbies like me wanted to do was to
> communicate with a personal database (especially through the use of
forms),
> I believe this is important.
>
> How can I add a document in XWiki.org ? Do I have editing rights
?
>
>
> Harikrishnan
>
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail is confidential. It may also be legally privileged. It is
intended only for the stated addressee(s) and access to it by any other
person is unauthorised. If you are not an addressee, you must not
disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. Such unauthorised use may be
unlawful. We may monitor all e-mail communications through our networks.
If you have received this e-mail in error, please inform us immediately
on +44 (0) 1749 672081 and delete it and all copies from your system. We
accept no responsibility for changes to any e-mail which occur after it
has been sent. Attachments to this e-mail may contain software viruses
which could damage your system. We therefore recommend you virus-check
all attachments before opening. A business of Thales UK Ltd. Registered
Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone,
Weybridge, Surrey KT15 2NX Registered in England No.
868273
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail is confidential. It may also be legally privileged. It is
intended only for the stated addressee(s) and access to it by any other
person is unauthorised. If you are not an addressee, you must not
disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. Such unauthorised use may be
unlawful. We may monitor all e-mail communications through our networks.
If you have received this e-mail in error, please inform us immediately
on +44 (0) 1749 672081 and delete it and all copies from your system. We
accept no responsibility for changes to any e-mail which occur after it
has been sent. Attachments to this e-mail may contain software viruses
which could damage your system. We therefore recommend you virus-check
all attachments before opening. A business of Thales UK Ltd. Registered
Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone,
Weybridge, Surrey KT15 2NX Registered in England No.
868273
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Anyone,
My page (WebHome) is not loading - possibly because of some doddgy code on
it.
Is there anyway to revert it back to a previous working version of the page
using some magic code executed on another page?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vitantonio Messa
Sent: 31 October 2007 07:03
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org
Hi,
if you take a look at the API, there are all the information you need.
It is possible to create and save a document, through the function
Xwiki.createDocument() and Document.Save(), of course this functions
will work only if you have editing rights (but if you're able to already
edit documents, you have those rights).
Vito
V. Harikrishnan Nair wrote:
> Hello...
>
> I've been able to read and enter data into my personal MySQL database
> (after a very long night, finally!) and I think this should be added into
> the documentation for XWiki.org but first, I want to get data from a
textbox
> into the database...
>
> Because the first thing that newbies like me wanted to do was to
> communicate with a personal database (especially through the use of
forms),
> I believe this is important.
>
> How can I add a document in XWiki.org ? Do I have editing rights ?
>
>
> Harikrishnan
>
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Anyone,
My page (WebHome) is not loading - possibly because of some doddgy code on
it.
Is there anyway to revert it back to a previous working version of the page
using some magic code executed on another page?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vitantonio Messa
Sent: 31 October 2007 07:03
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org
Hi,
if you take a look at the API, there are all the information you need.
It is possible to create and save a document, through the function
Xwiki.createDocument() and Document.Save(), of course this functions
will work only if you have editing rights (but if you're able to already
edit documents, you have those rights).
Vito
V. Harikrishnan Nair wrote:
> Hello...
>
> I've been able to read and enter data into my personal MySQL database
> (after a very long night, finally!) and I think this should be added into
> the documentation for XWiki.org but first, I want to get data from a
textbox
> into the database...
>
> Because the first thing that newbies like me wanted to do was to
> communicate with a personal database (especially through the use of
forms),
> I believe this is important.
>
> How can I add a document in XWiki.org ? Do I have editing rights ?
>
>
> Harikrishnan
>
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hello again !
I want to take a string entered into a textbox and place it into a MySQL
db (which is not XWiki's RDB). For that I created a simple form shown below
-
<form action = "VelocityTest2" method = "get" >
<input type = "text" name = "formval">
<input type = "submit" value = "submit">
</form>
This is the velocity page (named VelocityTest2) which is supposed to parse
the string entered into the text box -
#set($groovyObject = $xwiki.parseGroovyFromPage("Amrita IIS.GroovyTest4"))
#set($j = $Request.getParameterValues('formval'))
$groovyObject.SQL_conn($j)
A Groovy page (named GroovyTest4) takes that string and enters it into the
MySQL db with the SQL_conn() function and I'm positive that my groovy code
works.
My problem is that the string is not being parsed from the textbox into the
Velocity page. I am getting a null value instead.
Thanks,
Harikrishnan
--
View this message in context: http://www.nabble.com/Parsing-textbox-data-tf4724953.html#a13508865
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
First of all, to all developers, congratulations to Xwiki! It is by
far the best piece of software I've seen in a while. The introduction
to "what is it?", "what can it do?" and the install and running
process were just fantastic.
Right now I'm entering the stage where I want to write my own
application using Velocity, and I'm realizing that there is one or two
orders of magnitude to little Xwiki documentation around, and existing
documentation is often faulty or outdated. Instead, I'll try to ask
my questions in this place.
Question:
I have two instances (InstanceA, InstanceB) of class HowTo, and I want
to display the rendered content of InstanceB in InstanceA in a info
box. The class/instances have been generated analogously to the
FAQapplication tutorial.
If I do InstanceB.getRenderedContent(), it will return the rendered
content of InstanceA, not InstanceB. Assuming I need to set the $doc
context, I tried to include in InstanceA:
#set ($doc = $xwiki.getDocument("Space.InstanceB"))
#info($doc.getRenderedContent())
and would hope the InstanceB context would be used for rendering $doc.
But instead it cyclically and repeatedly renders InstanceA in itself, until the
engine refuses to render more levels.
I've also tried $xwiki.renderText and giving it unrendered InstanceB
text and the InstanceB document as arguments, but get the same effect.
Some more details: I work as Admin, so have programming rights. I have
also tried
$context.setDoc($xwiki.getDocument("Space.InstanceB")), which seems to
have no effect, and also #info($doc.getContent()), which returns the raw class
template (which, by the way) uses includeForm(...))
Any ideas?
Thanks,
Andreas
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
In the past days I sucessfully upgraded our XWiki installation
from 0.9.840 to 1.1.1. We use jboss-4.2.1.GA and postgresql-8.2.5
and everything went quite well!
In the process I only had to remove the servlet-api-2.3.jar from
WEB-INF/lib/ as it is incompatible with the one JBoss AS already
has. I also added lucene-analyzers-2.0.0.jar as I want to use
Lucene's german analyzer.
Porting the database for use with XWiki-1.1.1 also went well using
the "schema_pre.sql" and "schema_post.sql" scripts Rudolf Van der
Leeden posted to this list a few months ago (many thanks, Rudolf!)
We now have our wiki with about 2000 pages on version 1.1.1
and are very happy with the results. XWiki-1.1.1 is really
amazing and the improvements relative to 0.9.840 are great!
Excellent work!
There is one thing I still haven't solved, though: The application
seems to work fine, but in the logfiles I find lots of the following
messages:
[...]
19:38:15,510 INFO [STDOUT] 19:38:15,504 ERROR http-0.0.0.0-8080-2 http://test5.intern.xss.co.at:8080/xwiki/bin/view/Main/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Main.WebHome [line 6, column 14]
19:38:15,541 INFO [STDOUT] 19:38:15,540 ERROR http-0.0.0.0-8080-2 http://test5.intern.xss.co.at:8080/xwiki/bin/view/Main/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Main.WebHome [line 6, column 14]
19:38:15,636 INFO [STDOUT] 19:38:15,634 ERROR http-0.0.0.0-8080-2 http://test5.intern.xss.co.at:8080/xwiki/bin/view/Main/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Main.WebHome [line 6, column 14]
19:38:15,714 INFO [STDOUT] 19:38:15,712 ERROR http-0.0.0.0-8080-2 http://test5.intern.xss.co.at:8080/xwiki/bin/view/Main/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Main.WebHome [line 6, column 14]
[...]
Basically, access to every page in the wiki gives at least one of
those messages: WebHome pages usually give 4 of them, others only 1:
[...]
20:52:10,877 INFO [STDOUT] 20:52:10,877 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.WebHome [line 6, column 14]
20:52:10,905 INFO [STDOUT] 20:52:10,903 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.WebHome [line 6, column 14]
20:52:10,906 INFO [STDOUT] 20:52:10,906 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.WebHome [line 6, column 14]
20:52:10,910 INFO [STDOUT] 20:52:10,908 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.WebHome [line 6, column 14]
20:52:22,023 INFO [STDOUT] 20:52:22,021 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/Systemadmin… SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.Systemadministration [line 6, column 14]
20:52:36,162 INFO [STDOUT] 20:52:36,161 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/HOWTOS SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.HOWTOS [line 6, column 14]
20:53:03,694 INFO [STDOUT] 20:53:03,692 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/VariousSamb… SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.VariousSambaHOWTOs [line 6, column 14]
[...]
Does anyone know what might cause these errors?
What or where does "line 6, column 14" refer to?
Should I worry about these errors?
Any ideas how to solve these errors?
Many thanks in advance!
Regards,
- - andreas
- --
Andreas Haumer | mailto:andreas@xss.co.at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHJ41lxJmyeGcXPhERAhQlAJsGeQUmm9qL9xj2379n1rV1GeQczwCfSozo
4g3JziRVC2zmts8d8GKE7vc=
=W685
-----END PGP SIGNATURE-----
Hi all...
I am learning how to read from the default xwiki database xwiki_db using
groovy. This is the code I got from the tutorial ->
-------------
import groovy.sql.Sql
sql =
Sql.newInstance("jdbc:jtds:sqlserver://serverName/dbName-CLASS;domain=domainName",
"username",
"password", "net.sourceforge.jtds.jdbc.Driver")
sql.eachRow("select * from tableName", { println it.id + " --
${it.firstName} --"} );
------------
This is the code which is edited by me ->
-----------
import groovy.sql.Sql
sql =
Sql.newInstance("jdbc:jtds:sqlserver://localhost/xwiki_db-CLASS;domain=domainName",
"sa",
"", "net.sourceforge.jtds.jdbc.Driver")
sql.eachRow("select * from XWIKIDOC", { println it.id + " -- ${it.firstName}
--"} );
----------
Can anyone please rectify any errors here ? Especially the closure in the
third line as I don't know the fields present in XWIKIDOC table...
Thanks,
Harikrishnan
--
View this message in context: http://www.nabble.com/Sample-Groovy-Code-tf4717685.html#a13486121
Sent from the XWiki- Users mailing list archive at Nabble.com.