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/>
Hello,
has XWiki any possibilty to manipulate or create the metadata's in the
HTML-Header?
I want to add own metadata-pair's (name and value) to my documents.
Thanks
Matthias
In Xwiki when we use xwiki.authentication.ldap.mode_group_sync as always
then on each login by a single user, multiple entries are created in group.
So when we delete user entry from LDAP group its not affecting in XWIKI as
it has multiple entries in group.
So can anyone please help me to solve this issue. When we change option to
create this issue is not there but this option we don’t need as it will not
update LDAP group changes etc….
Thanks
Geo
Hello,
I'm moving toward Workspace enabled wiki, and trying to retrieve a global
user Document from a subwiki.
I'm using LDAP, but creating users only on global wiki.
My problem, is that from various APIs (workspace, wikimanager, xwiki...), I
was not able to find an easy to retrieve the name of the main wiki - which
in my case is not "xwiki".
I need it to provide it to my xwiki.getDocument(username) to retrieve
correct doc.
Or maybe there's an API to fallback the getDocument() on the global wiki,
if doc is not found in local subwiki ?
Sorry if it's obvious, I'm quite new to the virtual mode ;-)
Thanks,
Jeremie
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-----
Hi,
I'm running into some difficulties with permissions to run scripts for LDAP
users on a subwiki. I'm running XWiki 5.0.3 on Tomcat.
The subwiki has a script written with Python (and some Velocity). This
script page then gets included on many pages with the {{include}} macro.
There's another script (velocity and javascript) which uploads an
attachment to the pages with the include macro, so:
Page A - Code for the python script
Page B - Includes script from Page A
Page C - Uploads attachments to Page B
The wiki farm is configured to use LDAP authentication against an external
LDAP user database. This works fine - people can log in to the subwiki with
their external credentials, and XWiki will create a user object for them.
The problem is that when an LDAP user without programming rights uses Page
C to upload an attachment to Page B, the attachment uploads but the page
will then not display, giving the "You don't have the right to execute this
script" error. I presume this is because creating an attachment on the page
means that the page was last saved by a user with non-programming rights,
so the page no longer has the rights to execute the script.
If I manually create a non-LDAP user on the main wiki and give that user
programming rights, then log into the subwiki as that user, make a small
modification to Page B and resave, it will display correctly again.
However, I cannot seem to assign programming rights to an LDAP user - those
rights don't appear to be inherited by the subwiki. So if I have the LDAP
user log in to the main wiki, it will create a user object
(xwiki:XWiki.adminuser@testcom). I can grant that user programming rights
on the main wiki, but if I try and log in with those credentials on the
subwiki, it creates a new user (subwiki:XWiki:adminuser@testcom) - and
re-saving the page with that user doesn't fix the problem.
Is there any way to either:
a) Grant programming rights to an LDAP user, such that users who are
authorized to make changes don't break the script permissions
or
b) Make it so that a normal non-programming user can upload attachments to
a page without breaking included scripts?
Any help is appreciated,
aaron
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/>
Hi !
I have several Blog articles and I get their content with
obj.getProperty('content').getValue().
I have two questions :
1) Is it possible to get exactly the right format of the content ? For
example, if I have a bold or italic word , when I get the value I have
**bold word** and // italic word // .
I would like to have the word directly in bold or italic.
2) If it's not possible, is there a way to get the value of the
content without specials caracters like ** ** or // // ?
Thanks for help !
Regards, Pierrick
In LDAP Server for an user we have the entries for uid and mail. We had an
user on admin group and with “Ldap UID attribute name” as uid everything
is working fine including the login to workspaces with required admin
permission.
When we change “Ldap UID attribute name” to mail, user in admin group can
able to login to main wiki and have admin privilege but for workspaces he
can login but no admin privilege.
Can anyone please help us to fix this issue.
Thanks
Geo P.C.
Thanks
Geo P.C.
Hello!
I'm going to perform courses how non-IT people can create their own web
pages. As one of (if not the) tool I'd like to teach them XWiki.
Therefore it would be great if you would provide us new XWiki instance
on myxwiki.org for training purposes. Name could be: odo.myxwiki.org
Thanks in advance!
Valdis
Can anyone please let me know how we can upgrade XWIKI Enterprise
5.1-milestone-2 to XWIKI Enterprise 5.1. We tried several time but its not
asuccessful. We are using WAR file for deployment and database used is
MySQL. We have default settings except skin.
*Thanks
*
*Geo
*
*
*
Is it possible to integrate Jasig CAS (Central authentification Service) to XWiki?
We are using cas for our web infrastructure ( Lifreray, Alfresco and Jira ) and we would like add XWiki.
Thx
Rudolf
--------------------------------------------------------------------------
Táto správa a všetky pripojené súbory sú dôverné a určené
výhradne osobám alebo organizáciám, ktorým boli adresované. Ak nie ste
zamýšlaný príjemca alebo ste dostali tento e-mail omylom, prosím upozornite
okamžite odosielateľa a vymažte tento e-mail. Neoprávnené kopírovanie,
zverejnenie alebo distribúcia tohto e-mailu, je prísne zakázané.
This email and any attached file are confidential and intended solely for the
use of the individual or entity to which they are addressed. If you are not the
intended recipient or have received this e-mail by mistake, please notify the
sender immediately and delete this e-mail. Any unauthorized copying, disclosure
or distribution of this e-mail's content is strictly prohibited.
---------------------------------------------------------------------------
Pred vytlačením tohto e-mailu myslite na životné prostredie.
Please consider your environmental responsibility before printing this e-mail
Hello,
I've got a very simple use-case not working with the Scheduler plugin (XE
4.5.2)
If I schedule a job containing merely:
System.out.println doc.name
... I get the following when I trigger it:
No such property: doc for class: Script1
Is it expected, not to be able to access current document from a Scheduler
script ?
Thanks,
Jeremie
If I use basic-authentification (for an external Intranet-Crawler),
i get on every new subwiki or space an authentification-request.
Where is the switch to authentificate a basic-authentificated user for the
whole session
or what i must configure ?
Thanks
Matthias