Hi Everyone,
I am new to Xwiki so I most probably missing something obvious...
I followed the guide to shorten urls @
http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
I am currently struggling getting rid of the /bin (Servlet path),
everything else works
- I have mapped the struts filter to /* as indicated into the doc
- I have updated my xwiki.cfg with the following:
* xwiki.servletpath=
* xwiki.defaultservletpath=
I am using the default Jetty container which I am pretty familiar with.
I have removed the Root context and "mounted" the xwiki context on "/"
with :
* <Set name="contextPath">/</Set>
When I try to access the wiki without the /bin, the following error
occurs (Everything still works fine as soon as I add the /bin prefix):
-----
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'hasAccessLevel' in class com.xpn.xwiki.api.XWiki
threw exception java.lang.NullPointerException at /templates
/xwikivars.vm[line 6, column 25]
at
org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
... 95 more
Caused by: java.lang.NullPointerException
at com.xpn.xwiki.api.XWiki.hasAccessLevel(XWiki.java:1676)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.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.doInvoke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
------
Anyone got an idea of what is going on ?
Thanks a lot in advance !
--
Chris
Hi,
I just installed xwiki 5.1 . I have followed the steps to enable
filesystem attachment storage, but when I try uploading a doc size 350MB, I
still get the message that I should choose a file under 32MB.
I have modified the max upload size to 400MB , I have also edited xwiki.cfg
file to enable the filesystem attachment storage, I have edited the value
for environment.permanentDirectory and restarted the application. I still
get the message to chose file under 32MB.
Am I missing any step ? thanks
--
Victor Eberechi
In XWiki we are using mail as login attribute and it creates user profile
with email. Please let us know shall we configure xwiki in such a way that
we need to login with mail but need to create profile with sn or uid
attribute.
Because in Activity Stream its listing users are listing with email id.
Or let us know how we can configure to list in Activity Stream with uid or
sn
Can anyone please help us.
Thanks
Geo
* <http://pcgeo.blogspot.in/>*
It seems XWiki localization site http://l10n.xwiki.org/ is somehow
disorganized now. I can't find how to edit XWiki enterprise resource
strings in Latvian anymore.
Can somebody check site content and links and update them or guide
accordingly?
(If it is some permission issue, my profile is
http://l10n.xwiki.org/xwiki/bin/view/XWiki/valdisvi)
Thanks!
Valdis
I can see the translation bundles that have been added for specific
applications/ extensions, but cannot figure out where the ones are when
referring to "platform" (ie.
$msg.get("platform.dashboard.wiki.tagcloud")
Paul Pinkerton
KnowledgeNow Project Lead
-----Original Message-----
Date: Wed, 24 Jul 2013 00:23:45 +0200
From: Paul Libbrecht <paul(a)hoplahup.net>
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] changing translation values
Message-ID: <79DCE500-645B-4616-AA21-5EF693952B1A(a)hoplahup.net>
Content-Type: text/plain; charset=us-ascii
Paul,
have a look in the wiki configuration, there is, there, a list of
"translation bundles" which are wiki pages which contain translation
bundles (java properties).
Overriding works well there.
paul
On 23 juil. 2013, at 19:50, Paul Pinkerton (ACLCO) wrote:
> Realizing this is a very basic question, I ask it anyway in the hopes
> of a fairly plain language answer.
>
> How do you edit the titles that you call using $msg.get(xxx)?
>
> I am working on some code and it is using:
> $msg.get('platform.core.profile.company'). I want to change company
> to another term more familiar to my users, but need to change it both
> for English and French versions. I want to use the $msg.get
> functionality, as it makes switching languages simpler - but I cannot
> figure out where this "dictionary" is actually stored for editing.
>
> Paul Pinkerton
> KnowledgeNow Project Lead
> -----Original Message-----
>
> _______________________________________________
> 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
End of users Digest, Vol 72, Issue 51
*************************************
Hi guys,
I try to create a xwiki-rendering-archetype-macro project, but this does
not work currently.
I used the version 3.2 and I get the following error:
[ERROR] Failed to execute goal on project
xwiki-rendering-archetype-macro: Could not resolve dependencies for
project org.xwiki.re
ndering:xwiki-rendering-archetype-macro:jar:3.2: Failure to find
org.wikimodel:org.wikimodel.wem:jar:2.0.7-20110531 in http://repo
.maven.apache.org/maven2 was cached in the local repository, resolution
will not be reattempted until the update interval of centr
al has elapsed or updates are forced -> [Help 1]
When I use older versions I get the following error(In this case 5.0):
[WARNING] The POM for velocity-tools:velocity-tools:jar:1.4 is missing,
no dependency information available
and
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project macro: Co
mpilation failure
Anyone have an idea which version is working? Or how I can fix the error?
Sincerely yours
Michael
--
MPDigital GmbH
Michael Born
Auszubildender Fachinformatiker Anwendungsentwicklung
Kantstraße 5-13
44867 Bochum
Tel.: (0 23 27) 307-323
E-Mail: born(a)mpdigital.de
http://www.mpdigital.de
Geschaeftsführer: Hans-Joachim Janke
Sitz und Registergericht:
Amtsgericht Bochum - HRB 6454
OK, I was able to get it to start after making changes with Java but I have the below error. Is JSP necessary for xwiki?
INFO::NO JSP Support for /xwiki, did not find org.apache.jasper.servlet.JspServlet
Also, I don't see jetty-https-7.4.5.v20110725.jar or a jetty-https.xml file. Is anyone running the site using HTTPS?
John Caffery
O 225.578.7263
C 225.252.3046
From: John D Caffery
Sent: Tuesday, July 23, 2013 11:27 AM
To: 'users(a)xwiki.org'
Subject: XWIKI Enterprise Windows install
I recently installed xwiki-enterprise-installer-windows-4.5.4 on a Windows 2008 R2 server, service pack 1. The application is currently not working after installing it to c:\xwiki enterprise 4.5.4 directory.
It appears as if Jetty should be the web service but it does not start either with the "start xwiki enterprise .bat file or with the start.jar java file in the Jetty folder. I have looked at the permissions and they look good. Any suggestions?
Also, there is a "Go to my wiki" shortcut that points to http://localhost:8080/xwiki/bin/view/main that appears to be looking for a folder native to Windows IIS, C:\inetpub\wwwroot\xwiki\bin\view\main. Does IIS need to be installed?
Any assistance would be greatly appreciated.
John Caffery
Information Technology Consultant
Louisiana Optical Network Initiative - LONI
O 225.578.7263
C 225.252.3046
www.loni.org<http://www.loni.org/>