I already tried to post this question earlier via the ObjectWeb Sympa interface,
but did not see it back in the archive list, nor did I get a e-mail
confirmation. So please excuse me if it is posted twice now.
I am currently evaluating XWiki for deployment in my company. So far everything
looks great, but I ran into a blocking issue. I have setup XWiki to authenticate
with LDAP, which is a requirement for us. The user names provided by our LDAP
server all have dots in them, like 'eric.ter.haar'. XWiki seems to have a
problem with this. When login in for the first time it creates a new user name
that is equal to the part after the last dot, e.g., 'haar'. And it creates a
space with the other part, like 'eric.ter'. The next login fails but without any
notice.
Does anyone know how to get around this?
Thanks,
Eric
hej,
does anyone know whether it is possible to import a snipsnap exported xml ?
as far as i know both are based on the radeox engine and as snipsnap is no
longer maintained, lots of people will have to look for a migration path -
and xwiki looks really promising.
greetings from vienna
gerold
Hi there,
After running XWiki fine in my local server, I'm trying to run it on my hosting provider.
Acces to WebHome yelds the error:
javax.servlet.ServletException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: access denied (java.io.FilePermission /WEB-INF/xwiki.cfg read)
I tried changing web.xml to
<env-entry>
<env-entry-name>XWikiConfig</env-entry-name>
<!--
<env-entry-value>/WEB-INF/xwiki.cfg</env-entry-value>
-->
<env-entry-value>/virtual/lozano.eti.br/www/xwiki/WEB-INF/xwiki.cfg</env
-entry-value>
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>
That is, I tried cofiguring the real phisical path to the xwiki.cfg file,
But still get the same error.
My ISP tells me Xwiki is trying to get /WEB-INF/xwiki.cfg as an absolute file system path,
not as a context-relative path, and it looks like changing the <env-entry> has no effect.
What should I do?
[]s, Fernando Lozano
Hi!
I've made a panel that displays tags in a tag cloud (size relative to
occurrence). But on a few occasions I get an exception, and I've managed
to pinpoint fairly accurately under what circumstance. The code
involved, that usually works is this:
#set($query = "select elements(prop.list) from BaseObject as obj,
DBStringListProperty as prop where obj.className='XWiki.TagClass' and
obj.id=prop.id.id and prop.id.name='tags'")
#set( $allTags = $xwiki.search($query))
#set( $allTagsSorted = $xwiki.sort($allTags))
If the user is not logged in, and presses the login link in the top left
corner (--> /xwiki/bin/login/XWiki/XWikiLogin), the panel returns the
enclosed exception. After some debugging, it seems that $allTags is not
assigned a value from $xwiki.search($query). This leads me to believe
that $xwiki might not be available from this particular context. Has
anyone else encountered this, or is it an artifact in my environment?
I'm running xwiki v1.1-milestone2, mysql, winxp, tomcat, java5. Both my
db and xwiki installs are pretty fresh and un-tampered with.
best regards :-)
Thomas
13:47:50,211 ERROR http-9080-2 http://myHost:9080/xwiki/bin/login/XWiki/XWikiLogin?xredirect=http%3A%2F%2F… SimpleLog4JLogSystem:logVelocityMessage:154 - Method sort threw exception for reference $xwiki in template XWiki.XWikiLogin at [6,24]
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'sort' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @ XWiki.XWikiLogin[6,31]
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
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:229)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:161)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:132)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:366)
at com.xpn.xwiki.objects.classes.TextAreaClass.displayView(TextAreaClass.java:165)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1265)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1245)
at com.xpn.xwiki.api.Document.display(Document.java:864)
at sun.reflect.GeneratedMethodAccessor90.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:1249)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1218)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:491)
at sun.reflect.GeneratedMethodAccessor59.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:1249)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1218)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:491)
at sun.reflect.GeneratedMethodAccessor59.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:1249)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1218)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:98)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:159)
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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at java.util.Collections.sort(Collections.java:116)
at com.xpn.xwiki.api.XWiki.sort(XWiki.java:1676)
at sun.reflect.GeneratedMethodAccessor110.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)
... 99 more
Resend
---------- Forwarded message ----------
From: Lee Meador <lee(a)leemeador.com>
Date: Jul 16, 2007 2:48 PM
Subject: External link to same server
To: xwiki-users(a)objectweb.org
The links documentation tells how to add a link to another wiki page and a
link to a URL like http://yahoo.com
I would like to link to a URL that isn't inside the xwiki application but is
on the same server without putting in the hostname or ip address. If I was
doing this in html, I would use "<a href="/otherapp/home">Other App</a>.
I tried the form [/otherapp/home] and simply /otherapp/home but those don't
generate the right link. (The first comes out as a link to an xwiki page.
The second comes out as plain text.)
Is there a way to do this?
Thanks.
--
-- Lee Meador
--
-- Lee Meador
Sent from gmail. My real email address is lee AT leemeador.com
I already tried to post this question earlier via the ObjectWeb Sympa
interface, but did not see it back in the archive list, nor did I get a
e-mail confirmation. So please excuse me if it is posted twice now.
I am currently evaluating XWiki for deployment in my company. So far
everything looks great, but I ran into a blocking issue. I have setup
XWiki to authenticate with LDAP, which is a requirement for us. The user
names provided by our LDAP server all have dots in them, like
'eric.ter.haar'. XWiki seems to have a problem with this. When login in
for the first time it creates a new user name that is equal to the part
after the last dot, e.g., 'haar'. And it creates a space with the other
part, like 'eric.ter'. The next login fails but without any notice.
Does anyone know how to get around this?
Thanks,
Eric
Oi,
Simple question: is that possible? Or are security manager
configurations (Tomcat Sandboxed) make impossible to tune to run current
XWiki (1.0)?
[]s, Fernando Lozano
Hi there,
This is a silly question, but I can't find anywhere on xwiki.org which
is the sandbox login and password. But the xwiki.org registration states
we should not register to use the Sandbox.
[]s, Fernando Lozano
Hi, I just switched from MediaWiki and installed XWiki 1.1m3, and I found
section editing and collaborative editing one page in xwiki is not so well
supported compared with MediaWiki. And I have several questions:
(1) Instead of using h2 tag to automatically add a section editing icon,
could I manually tag a paragraph as a section and edit it?
(2) Even if I divide the whole page into several sections with h2 tag, when
different users edit different sections in one page, xwiki still indicates
someone locks the page, is it possible to get smaller lock granularity and
lock just the section rather than the whole page?
I think wiki is a collaborative tool, and editing one page in the same time
is a very important functionality and should be well
supported.Anysuggestion is appreciated, thanks.
Regards,
Hi,
I'm about to modify the SVN externals definition for trunks-users so
that they point to our own XWiki readonly SVN repo instead of
pointing to the OW repo as there are issues with it.
If you have checked out trunks-users, then do a svn update once I've
made the change. Hopefully that'll just work. If not, you might need
to do a new checkout.
Sorry for that
Thanks
-Vincent