Hello,
I try to use $cookietool without success...
(I try to get my cookie with $request too but I didn't mange either)
Any help to use it?
My need, I created some cookie with javascript + onclick and I need to get them in my velocity code to avoid blinking during loading page (to hide some div if cookie is present)
Thxs
Pascal B
Hi all,
I'm running XWiki 6.2 (Oracle-DB / Tomcat7) with two sub-wikis.
I learned that for each sub-wiki, a database is created. Does anyone know the username and password for the sub-wiki databases? Are they the same as for the main database?
Here's why I'm asking: I'm trying to transfer the wiki including the sub-wikis to a new server, but the XWiki-User is not allowed to create databases there. So I had the admin set up the databases and sent three dumps of the main and sub-wiki databases. After importing, I can't access the wiki, I get an error message like this:
SQL Error: 1435, SQLState: 72000ORA-01435: No such user
So, basically, the question is: How to transfer a wiki including sub-wikis to a new server?
Hello,
I finalized my "ShowHide only right panel" extension.
I use only one JS function and 1 cookie.
Here the code and instruction if you want (like you show me your xar :-) )
---------------------------
To use it:
- you must add this html code in a page (in footer by example)
{{html}}
<label id="BtnSHPanel" class="btn" onclick="ShowHidePanel('#rightPanels',90)" title="Replier/Déplier le panel de droite">⇄</label>
{{/html}}
- add JS Cookie function (Cookie.xar)
- and replace this line in template (or use xwiki object):
./templates/rightpanels.vm
<$bodyTagName id="body" class="skin-flamingo wiki-${xcontext.database} space-${escapetool.xml($doc.space.replaceAll(' ', '_'))} ${bodyAction}body #if($showLeftPanels == "0" || $!request.getCookie('CkPanelhidden'))hideleft#end#if($showRightPanels == "0" || $!request.getCookie("CkPanelhidden"))hideright#end#if($hidecolumns && ($!hidecolumns == 1))hidelefthideright#end #if($showLeftPanels != "0" && $showRightPanels != "0" && $!hidecolumns != 1)content#end panel-left-width-${leftPanelsWidth} panel-right-width-${rightPanelsWidth}">
./skins/flamingo/htmlheader.vm
#if($showRightPanels == "1" || $request.getParameter("forceRightPanels") || $!request.getCookie("CkPanelhidden"))
<div id="rightPanels" class="panels right panel-width-$!{rightPanelsWidth}"#if(($showRightPanels != "1" && $request.getParameter("forceRightPanels")) || $!request.getCookie("CkPanelhidden"))) style="display: none;"#end>
#set($panelUixs = $services.uix.getExtensions('platform.panels.rightPanels'))
---------------------------
My JS function:
----------
function ShowHidePanel(VarPanelId, day) {
//Show or Hide panel depend of cookie
var PHidden = readCookie('CkPanelhidden');
require(['jquery'], function ($) {
if (!PHidden) {
//Hide the panel and save state in a cookie
$('#xwikicontent').append("<p>Debug Hide Panel:VarPanelId "+VarPanelId+"</p>");
createCookie('CkPanelhidden',true,day);
$(VarPanelId).slideUp(0);
}
$('#body').toggleClass('hideleft hidelefthideright');
$('#contentcontainer').toggleClass('hideleft hidelefthideright');
if (PHidden) {
//Show the panel and delete the cookie
eraseCookie('CkPanelhidden');
$(VarPanelId).slideDown(0);
}
});
}----------
(xwiki users list in copy if interested)
Pascal BASTIEN
________________________________
De : Paul-Catalin Cojan <paul.cojan(a)xwiki.com>
À : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
Envoyé le : Mardi 4 novembre 2014 17h21
Objet : Re: [xwiki-devs] [Contrib] Hide-Show Panels extension
Hello,
I attached the xar.
On Tue, Nov 4, 2014 at 5:59 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> wrote:
Hello,
>
>Could you send me your xar, plz?
>I'm interested with it (I'm started to work on a similar panel in CSS but I hadn't time to add some JS to make it persistent with cookie + JS) and worked on another job priority before to continue...
>
>I will send you eventually bugs if I encountered some before you publish on e.x.o.
>
>Thanks by advance.
>
>Pascal B
>
>
>
>________________________________
> De : Paul-Catalin Cojan <paul.cojan(a)xwiki.com>
>À : devs(a)xwiki.org
>Envoyé le : Mardi 4 novembre 2014 16h18
>Objet : [xwiki-devs] [Contrib] Hide-Show Panels extension
>
>
>Hello devs! I created an extension that allows to hide and show the left
>and the right panel column. It have only one document XWiki.PanelsShowHide
>with one jsx and one ssx object. I need a repository on
github. The name
>can be : panels-showhide-extension or application-showhide-panels or if
>you have any suggestion. Thank you!
>_______________________________________________
>devs mailing list
>devs(a)xwiki.org
>http://lists.xwiki.org/mailman/listinfo/devs
>
>
>
The XWiki development team is proud to announce the availability of
XWiki 6.3 Release Candidate 1. This release comes with 16 new Flamingo
themes adapted from Bootswatch and a new application to manage them.
The document index tree and the Navigation panel have been greatly
improved by using a new tree widget which is exposed as a wiki macro.
The developers will be interested by the new WebJar integration
features. This, along with 17 improvements and 33 bug fixes, makes
this release worth trying.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki63RC1
Thanks
-The XWiki dev team
Hi users and devs,
I would like to have your opinion on the topic of case sensitive vs case
insensitive and which one you prefer in XWiki.
Currently, XWiki is case sensitive. This means the same resource name
(document name, space name, etc) can be written with either small letters
or big letters or a mix.
Examples: You can have both "Main.Test" and "Main.test" as 2 different
documents. Also, you can have "XWiki.Admin" and "XWiki.admin" as 2
different users. This also applies to URLs, as "/Main/Test" is different
from "/Main/test" or "/main/test", so all these 3 are different resources.
Even from this short description, one can already identify possible
problems of this approach.
>From the top 3 operating systems (Linux, Mac an Windows), only Linux is
case sensitive, the other two (more user-focused Operating Systems) are
both case insensitive.
Since XWiki has one of its main targets the Enterprise users, it is safe to
assume that the correct approach would be to also be more user-focused and
simplify things and avoid confusions by being case insensitive as well.
Also, a quick search on existing issues validates the need for this
improvement:
http://jira.xwiki.org/issues/?jql=text%20~%20%22case%20insensitive%22
What do you think? Is it OK to keep XWiki case sensitive, or would you
prefer it case insensitive? Bring arguments.
I have also created a jira issue for this idea:
http://jira.xwiki.org/browse/XWIKI-11412 to track it in the future.
Thanks,
Eduard
Hi All,
Is there a way to stop the Wiki from Re-initializing after every Tomcat restart? I am using version 6.2.3 Enterprise with Tomcat 6 & MySQL.
Thanks,
Doug Pham
I've written several scripts in Groovy that I want to make available to other users, but some of them contain information that I don't wish people to see (queries giving away schema details, connection passwords for JDBC/LDAP, etc). As I understand it if a person is able to view a page in which code is executed they are also able to see the source for that page. That being the case is there a recommended approach to hiding some details from prying eyes?
Hello everybody,
I just started to check out XWiki 5.4.6 in the "standalone" package (Win7, 32bit).
It installed fine and I can play with it locally (http://localhost:8080).
If I put "http://<hostname>.<domain>:8080/" in a browser on a _remote_ machine, I get a HTTP error 500 telling me:
"Error number 11007 in 0: Failed to extract Entity Resource from URL [http://ricardo_tubbs.eboek.local:8080/xwiki/bin/view/Main/]"
Is the standalone version meant to work just locally and that's it?
If not: what should I check or fix in any way?
Thanks,
Holger
Hello all,
I have this odd problem and I'm hoping someone can help. I was messing with permissions and now all my regular users, other than admins can't see any rows in ANY LiveTable. I've checked permissions on every related object I can think of and can't find anything out of the ordinary, but I can't think of anything else that might be causing the issue. Any help is GREATLY appreciated...
Thanks in advance,
Jason
Having made my XWiki site available to other users, I was concerned to find that the site became unusable at one point with client connections eventually timing out. I had no way to diagnose the problem, but eventually I managed to make a (slow) SSH connection to the server and restarted Tomcat, and things seemed to settle back to normal.
The problem is I have no real sense of what happened and how to prevent it happening again. To that end, I'd appreciate any suggestions for monitoring the server and diagnosing poor performance. What do others typically use? I have an Apache2 server passing wiki page requests to Tomcat7 via an ajp connector, and a PostgreSQL database. My guess is that Tomcat is doing most of the work here so that's probably what I need to monitor the most.
Hi there. I'm trying to create a specialized macro for my wiki that is
simply three divs, two of which have css background images that are
attached to the macroclass page.
I've tried rendering the URL into the css style attribute, and I've tried
attaching the image to the same.
I see it done with the the included macros, and I know that I can call
images from other pages, but is there a way to use an image in css?
I love xwiki, but information on this type of stuff is incredibly sparse on
the Internet. Maybe I'm the only person trying to do this stuff...
Thanks in advance! :)
--
Dale Davidson
Technical Writer / Production Diagnostics
www.RanchSystems.com
Thank you all for the quick answers :-)
Sadly none of the proposed syntax work on my Main.WebHome page, but they all work on any other page of the wiki. Is there an option that I might have changed to get this result?
Cheers
Adrien
Hello,
I just installed XWiki on my computer to make a small Wiki for myself and I was unable to display icons on the page Main.WebHome.... Icons work fine on the other pages, but when I write [image.icon.accept] in the editor, the text icon.accept appears on the page instead of the icon.... Is that normal?
Cheers
Adrien
Hello everyone,
If you’re wondering what kept the QA team busy during the last few days,
the answer is a lot of testing and a brainstorming effort in order to
devise a series of statistics for the product, which would be featured with
the product version 6.2.
We believe that the statistics ought to be implemented for the following
reasons:
a) They would allow for better communication between us and the community
b) Each version would be more easily evaluated this way
c) The product’s evolution would be more easily observable by tracking the
changes in these statistics from one version to another
d) A more complete overview on the long-term evolution of the product
would be possible, with an opportunity to analyze a series of items in
detail
We consider some of the above-mentioned items to be quite important. Here
is a list of the most important ones:
- No. of downloads
- No. of active installs
- No. of tests executed / added
- Jira issues fixed - by resolution, by priority, by type
- Jira issues opened - by priority, by type
- Closed vs open tickets
- Stats for important tags: e.g. ie10, mobile, flamingo
- Stats for major features: e.g. flamingo, extension manager, solr
- Top overall issues reporters
- Top non-XWiki SAS issues reporters
- Extensions quality: issues reported (top 10 extensions)
- Extensions quality: issues closed (top 10 extensions)
- l10n translations: existent, missing
- Performance stats
Therefore, your opinion on the following issues would be of great use to
us:
a) The list offered a number of items that we deem important for our
measurements and assessments. We would like to know whether you agree with
the list and we would like to have your opinion regarding other items that
we would consider inserting in the list?
b) Where would you like us to publish the statistics and the conclusions
that would result from their analysis? We were thinking about the following:
- On a ‘Project Health’ page
- On a page designated to each product version (each version would have
its own page with statistics)
- In the test.xwiki.org
- Within a blogpost
- A mix of the above
We await your reply and feedback regarding the viability and usefulness of
our proposal.
Thank you for your time
--
Andreea Zenovia Popescu
QA Engineer @XWiki SAS
Vincent wrote:
> BTW if you have setup some tools and have had successes
> with them to monitor xwiki instances, it would be great if
> you could add some doc about them at
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Monitoring
>
Thanks for the pointers. These sound like useful tools, although I think to cover the situation I encountered (web services looked up) I probably need to get more familiar with the logs, make sure they collect the right stuff, and have a command-line tool to filter it. But yes, I shall certainly contribute any experience I glean back into the wiki.
Dear community,
I tried to migrate a test xwiki instance to 6.x on my red-hat linux server,
and encountered a (fatal) issue: as it requires java 7, in turn, it
requires RHEL >= 5.5 (and I'm on an old RHEL 4.6) due to glibc (thank you,
java...).
Upgrading red-hat on this server is not an option for now, even if it's way
too old I agree, so I hope I'll be able to do this upgrade one day ... :/
But my point is, do you think interesting to add this information in
installation guide somewhere ? [1]
Maybe there's a better place, or maybe it's not needed at all I don't
know... There's already info about java 7 obviously, I'm talking about
specific impact for red-hat.
WDYT ?
Best regards,
Jeremie
[1] - http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation
Hello,
On my Tomcat server / Xwiki 6.2.2, I have this log (catalina.log) when I start my Tomcat
2014-10-29 10:14:51,213 [XWiki Solr index job thread] INFO o.x.s.s.i.j.IndexerJob - Finished job of type [solr.indexer] with identifier [[solr, indexer]]
oct. 29, 2014 10:14:55 AM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: "Servlet.service()" pour la servlet action a lancé une exception
java.lang.NullPointerException
oct. 29, 2014 10:14:55 AM org.apache.catalina.core.StandardHostValve custom
SEVERE: Exception Processing ErrorPage[errorCode=404, location=/bin/view/Main/DocumentDoesNotExist]
java.lang.NullPointerException
I checked on my Xwiki and effectively Main.DocumentDoesNotExist ... does not exist. :-)
Do you think this log is normal? Do you have the same? I must create a custom Main.DocumentDoesNotExis?
Thxs for any help.
Pascal BASTIEN
Hello All:
I am running into issues with setting up xwiki enterprise platform on my
network. Basically it starts and loads to 100% and not much else I am
thinking it's a configuration issue with something I have left out.
Here is what I am using for xwiki.
Win2012R2
SQL2012
Tomcat/JDBC/JTDS
Is their a definitive install guide for using windows/sql server? The stuff
I have come across isn't as specific as I would like to see.
Any thoughts would be much appreciated and would be happy to post java
output from tomcat.
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWIKI-Enterprise-Installation-Issues-tp75…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is proud to announce the availability of XWiki
6.3 Milestone 2.
This milestone brings a couple of improvements to Extension Manager, Panels
Application and the Space Deletion UI, together with a couple of developer
oriented features such as a JSON service for Solr and a better and cleaner
(HTML5-friendly) way of storing and obtaining in JavaScript information
about the current document.
Also, 31 bugs were fixed in this release, so this makes it yet another
reason to upgrade and try it out.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki63M2
Thanks
-The XWiki dev team
Hi,
Thanks for clarification.
Our site used multiple color themes, basically because we are a federation
of organizations.
We changed colorThemeInit.vm to do this.
basicly it works, but when in a stylesheetextension:
#template('colorThemeInit.vm') #disclaimer h3 {background-color:
$theme.menuBackgroundColor;}
We always get the color of the default site color theme and not the color
theme that is loaded on the page?
Any solution?
Yes the LESS compiler is running on the server, except for the preview box
of the Flamingo Theme Application.
You should be able to put any valid LESS code in the "advanced" section of
that application.
For example, if you want to set a bootstrap variable that the application
does not handle, you could add:
@modal-content-bg: red;
But you can also add new CSS classes, like:
.myClass{
background-color: red;
}
and this class can use LESS functions and bootstrap mixins:
.myClass{
background-color: darken(red, 10%); // LESS function
.make-xs-column(12); // Bootstrap mixin
}
And the class will be added to the default style.css. I am updating
http://extensions.xwiki.org/xwiki/bin/view/Extension/Flamingo+Theme+Applica…
I hope this helps,
2014-10-27 16:01 GMT+01:00 Gerritjan Koekkoek <gerritjankoekkoek(a)gmail.com>:
> Does the Less to CSS preprocessor in the Flamingo themes app run on the
> server?
> What documentation is available (or examples of what kind of Less code can
> be entered in the Advanced Less box?
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Guillaume Delhumeau (gdelhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
I am testing XWiki 5.0.2 (standalone ZIP version) to take a look at some
extensions which don't work with our current XWiki 4.0.
One of these extensions is the Diagram Appication
<http://extensions.xwiki.org/xwiki/bin/view/Extension/Diagram+Application>
I have a couple of questions:
1) In the Diagram Applications, there are nice graphs (computers, network,
etc). I can see those graphics when I am in the edit mode, but as soon as I
"Save & View", those graphics are not displayed anymore! How can I get these
graphics to show?
2) I would like to include a diagram in another page, but if I use the
"Include" macro, I only get the "XML-text" (and not the actual diagram). How
can I "include" a diagram into a page?
Thanks in advance!
--
View this message in context: http://xwiki.475771.n2.nabble.com/Diagram-Application-tp7585510.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Je serai absent(e) à partir du 28/10/2014 de retour le 04/11/2014.
je suis en congés.
Je répondrai à vos messages dès mon retour.
En cas de problème technique, veuillez contacter SYNOX au 05 67 34 66 56.
Merci
Does the Less to CSS preprocessor in the Flamingo themes app run on the
server?
What documentation is available (or examples of what kind of Less code can
be entered in the Advanced Less box?
Hoi,
in Mediawiki it's possible to insert one's name and the current
date quite easily with four tilde characters: ~~~~.
Is it possible to do this in a convenient way in Xwiki, as well?
And if so, how?
I think it should be possible by creating a macro. However, I
would appreciate if inserting the signature would be a simpler
tag than: {{sign/}}.
meillo
I am running XWiki version 6.2.2 (the latest available Ubuntu package). As you will have gathered from my other posts I am still new to XWiki.
One of the packages included by default is the Blog application. I have no need for this in our organisation and I would prefer to exclude packages that I do not wish to support. But when I try to remove the package I find that I must also remove "XWiki Enterprise - UI - Main wiki<https://alertnessdb.net/xwiki/bin/admin/XWiki/XWikiPreferences?extensionId=…>" which sounds pretty important. As a side point I'd like to suggest that this dependency be removed, since I don't see why a wiki must contain a blog application.
My main question is how do I remove this application from sight? In particular it appears in the applications panel, so is there a way to deactivate this simply?
I've got absolutely nowhere on this, Jamal. I had hoped to reach out to the development team and/or a consultant on Google apps api, but I've been tied up with some other things recently. I will happily share info with you once I move forward on this!
Paul Pinkerton
KnowledgeNow Project Lead
pinkerp(a)lao.on.ca<mailto:pinkerp@lao.on.ca>
Association of Community Legal Clinics of Ontario
416-847-1418 or 1-866-965-1416x 5177
www.aclco.org<http://www.aclco.org>
From: Jamal [via XWiki] [mailto:ml-node+s475771n7592834h33@n2.nabble.com]
Sent: October-23-14 5:30 PM
To: Paul Pinkerton (ACLCO)
Subject: RE: Google Apps Extension - Help?
I have the same question.
I'm setting up the Google apps extension for the first time first time and I'm not clear how to set it up to work with oauth 2.0, or whether that's even possible.
Any help would be much appreciated.
J
________________________________
If you reply to this email, your message will be added to the discussion below:
http://xwiki.475771.n2.nabble.com/Google-Apps-Extension-Help-tp7591939p7592…
To unsubscribe from Google Apps Extension - Help?, click here<http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscrib…>.
NAML<http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=macro_view…>
--
View this message in context: http://xwiki.475771.n2.nabble.com/Google-Apps-Extension-Help-tp7591939p7592…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi All,
I am new to XWiki and I was wondering if some users use XWiki as a
documentation engine for software projects in general. The case I have
in mind is that we want to provide our software documentation to our
customers as XWiki pages. I'm quite fond of Sphinx
(http://sphinx-doc.org/) and I very much like the idea of being able to
set up a bunch of files (in the case os Sphinx reStructuredText text
files) and have them versioned in the revision control system we use for
our code. I thought I could set up a similar file structure with XWiki
2.1 text files and have them versioned as a function of language and
(our) software version.
So the question : does anyone know of a Git plugin akin to the existing
SVN Application
(http://extensions.xwiki.org/xwiki/bin/view/Extension/SVN+Application)
? I tried setting up the SVN plugin yesterday by testing on a local SVN
and I didn't succeed. I figured the reason is that we have Enterprise
XWiki 5.2 and the plugin mentions it's been tested with version 6.0.1
but before I try harder I'd prefer if there would be a Git plugin since
we're transitioning over to Git.
Also, I know the idea of keeping versions separate from XWiki's own
versioning story seems odd, but I still find a justification for a
revision control system level versioning. The rationale behind the
development of the SVN Application rings a bell to me : "Allows
concurrent development on multiple servers and simplifies publishing
XWiki applications".
TIA,
Yves Moisan
P.S. I scanned the mailing list archives up to Dec 2012 and din't find
anything.
When I need to search for a wiki page I usually have to choose between:
(1) Database search using the Query Manager. There are plenty of examples
here http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module
(2) Full text search using Solr
http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Query+API
Hope this helps,
Marius
On Oct 17, 2014 1:41 AM, "Jason Clemons" <jason.clemons(a)live.com> wrote:
>
> Hello all,
>
> I have some "brute force" velocity code that basically iterates all my
spaces looking for a page, then checks if the page is "new" or not. if the
page is "new" I know that the page doesn't exist in that space and so I go
to the next space and repeat until I find a page that is NOT new. Once I
have the page I then do some stuff with it. This works ok in my small
environment, but makes me cringe when I think about scalability.
>
> Does anyone know a way in Velocity to return a URL from a search of all
pages in all spaces in my wiki quickly? I'd sure like to be able to say
$search.pages(page-to-search) or something like that..
>
> Thanks in advance..
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
The XWiki development team is proud to announce the availability of
XWiki 6.3 Milestone 1.
This milestone is mostly about improvements but it also introduce new
Velocity tools and macros and also add support for catching and
display nicely exceptions in Velocity.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki63M1
Thanks
-The XWiki dev team
Hello XWiki Community,
If I edit a page I get mail notifications for the pages I changed myself. I propose to change the API in the way that only changes done by others are sent.
Best regards,
Peter
Hello,
i want to easily push a button and deploy an own extension from eclipse to a
jetty-based xwiki. Do you know an example? I not found something on the web.
At the moment i create the jar with maven from eclipse, copy the jar
manually and start the xwiki-server with the start script.
Is there a way to do it all at once?
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Eclipse-Jetty-Maven-tp7592763.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello all,
I have some "brute force" velocity code that basically iterates all my spaces looking for a page, then checks if the page is "new" or not. if the page is "new" I know that the page doesn't exist in that space and so I go to the next space and repeat until I find a page that is NOT new. Once I have the page I then do some stuff with it. This works ok in my small environment, but makes me cringe when I think about scalability.
Does anyone know a way in Velocity to return a URL from a search of all pages in all spaces in my wiki quickly? I'd sure like to be able to say $search.pages(page-to-search) or something like that..
Thanks in advance..
> Hey All,
>
> I’m hoping someone can help me out.. My wiki installation has stopped working. I’m running it in Tomcat 8 from the ROOT folder “C:\Program Files (x86)\Tomcat\webapps\ROOT” (the only app running on the server), nothing has changed other than content in the wiki itself, but all of a sudden my users can’t login and the URL has become really long.
>
> If I navigate to localhost:8080/bin/Main I get the following response:
>
> localhost:8080/bin/Main/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/XWikiLogin?srid=YGlMoFBd&xredirect=%2Fbin%2FMain%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2FXWikiLogin%3Fsrid%3DYGlMoFBd%26xredirect%3D%252Fbin%252FMain%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252FXWikiLogin%253Fsrid%253DYGlMoFBd%2526xredirect%253D%25252Fbin%25252FMain%25252Fbin%25252Flogin%25252FXWiki%25252Fbin%25252Flogin%25252FXWiki
>
> except the URL actually goes on for much longer… I used to get this every now and again, but always restarting Tomcat would fix it, but now it doesn’t and none of my users can login. I found an article here http://jira.xwiki.org/browse/XE-1401 which seems to point to a similar issue, but the fix illustrated does not fix my issue.
>
> Any help is greatly appreciated
Hi
After I migrated from xwiki 1.7.2 to 5.4.5, some of the documents are not
rendered properly.
I am assuming the issue might be happening because there is a dot in the
space.
The same documents with dot in the space were rendered before migration. But
after migration the documents are not rendered and are shown with a question
mark. All the static data was rendered properly, but the dynamic data where
the classes having methods, superclass and subclass are not rendered.
Please find the attached screenshots of the old and new pages after
migration.
<http://xwiki.475771.n2.nabble.com/file/n7592753/ComponentClass.png>
<http://xwiki.475771.n2.nabble.com/file/n7592753/DocumentClass1.png>
The rest of the migration went fine except few pages. Can you respond with
the possible solution and help in resolving this issue. Please feel free to
ask any questions or clarifications if required.
Thanks,
Pankaj
--
View this message in context: http://xwiki.475771.n2.nabble.com/Migration-Issue-tp7592753.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Greetings,
During the last few days we have conducted smoke testing on Chrome 38 and a
full test on Firefox 32.
This link offers an overview of the issues and improvements reported by the
team on the 6.2.1 version:
http://jira.xwiki.org/issues/?jql=affectedVersion%20in%20%28%226.2.1%22%29
We shall continue testing for other issues and improvements.
Have a good day!
--
Andreea Zenovia Popescu
QA Engineer @XWiki SAS
Hello everybody!
I did the xwiki installation from the debian pack and I've having
problems to realize the uptade of it.
I tried using the command apt-get upgrade and I tried what is saying
in the link http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade
The installation via package installs the xwiki in some point and
creates links to others, how can I realize the update of it?
Thanks for the attention
Regards
--
Saulo S. Bravim
Email/MSN: saulosb(a)gmail.com
Skype:saulosb
Celular:(48) 9647-2116
Hi,
On Xwiki 6.2.1, I use xwiki.authentication.ldap.fields_mapping parameter in xwiki.cfg.
Are there a way to concatenate two ldap fields?
By example, I have two LDAP field for adress (street and town) and I want concatenate them in the xwiki address field from XWiki User Class.
Thanks
Pascal B
Hello all together,
I am a bit confused looking at upgrading section, because I have never
upgraded XWIKI before, and I just have experience with the regular ".exe"
installation process. Can you explain in a bit more detail to me how to
upgrade XWIKI with a WAR file? Where can I replace the old WAR file on my
server with the newer one?
Thank you very much in advance.
Maik
Replying to send the response to the list.
Thanks
-Vincent
On 6 Oct 2014 at 14:48:07, Gerritjan Koekkoek (gerritjankoekkoek(a)gmail.com) wrote:
Hi Vincent,
Op 3 okt. 2014, om 09:55 heeft vincent(a)massol.net het volgende geschreven:
On 3 Oct 2014 at 08:59:22, vincent(a)massol.net (vincent@massol.net(mailto:vincent@massol.net)) wrote:
> Hi Gerritjan,
>
> On 3 Oct 2014 at 08:44:23, Gerritjan Koekkoek (gerritjankoekkoek@gmail.com(mailto:gerritjankoekkoek@gmail.com)) wrote:
>
> > Hi,
> > We would like to create a Menu or Button within our skin that allows people
> > to simply with between 'simple' and 'advanced'.
> > Now our users have to navigate to profile-preferences, click on Edit and
> > choose the drop down with two options.
> >
> > What would be the best way to do this?
>
> I completely agree with the need, I’d love this too.
>
> What I had imagine was 2 things:
> - A menu entry in the user profile menu at the top right to switch without moving page
Yes, and the link behind this menu-entry could be called by any button created on a page...
> - A key shortcut to perform the switch without moving page too
>
> I’ll create a jira issue (once jira.xwiki.org(http://jira.xwiki.org) is back, it’s down at the moment).
Done: http://jira.xwiki.org/browse/XWIKI-11162
Thank you,
What is the workaround if I can not wait; a little velocity script to be called from a button?
Thanks
-Vincent
>
> Any other idea?
Yes, the reason for above is to make the user-experience better for ’simple’ users…
We would like to apply the principle ’Less is More’ by leaving out ’UI elements" that are not used by majority of users.
So I would love a pane where I could select the UI elements to be accessible by ’Simple’, ’Advanced’ and a special list for ’Admin’
Like:
the Attachment area at bottom of Page
Last modified by…
Export menu
but also simplifying:
More actions -> Print preview (So instead of a drop-down “More Actions” only the option without drop down triangle: “Print Preview"
>
> Thanks
> -Vincent
>
> > Gerritjan
>
Is there any way to discover who (which wiki users) is watching a
page/space?
--
|| | | |||| || || | |||| ||| | |||
Patrick Masson
General Manager, Director & Secretary to the Board
Open Source Initiative
855 El Camino Real, Ste 13A, #270
Palo Alto, CA 94301
United States
OSI Phone: (415) 857-5398
Direct Phone: (970) 4MASSON
Skype: massonpj
Em: masson(a)opensource.org <mailto:masson@opensource.org>
Ws: www.opensource.org <http://www.opensource.org>
Hello,
Do you know if this limitation is still there?
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationPostgreSQL#…
"Multi Wiki not working in database mode"
If I use a postgresql database and I want another subwiki, are there a doc to create manualy another associated database?
Thanks you.
Pascal B
Hi,
I have a fresh install of xwiki 6.2.1 (Centos 7, tomcat7). I have installed
and setup Libreoffice 4.3 for document conversion. Everything is working
fine and xwiki starts libreoffice correctly.
However, I'm unable to convert any document using the office importer. I
tried doc, ppt, etc.. with no luck. In catalina.out I get the following
error:
*Caused by: org.xwiki.officeimporter.converter.OfficeConverterException:
Error while performing conversion. at
org.xwiki.officeimporter.internal.converter.DefaultOfficeConverter.convert(DefaultOfficeConverter.java:116)
~[xwiki-platform-legacy-office-importer-6.2.1.jar:na] at
org.xwiki.officeimporter.internal.builder.DefaultXHTMLOfficeDocumentBuilder.build(DefaultXHTMLOfficeDocumentBuilder.java:94)
~[xwiki-platform-legacy-office-importer-6.2.1.jar:na] ... 62 common
frames omittedCaused by:
org.artofsolving.jodconverter.office.OfficeException: could not load
document: test.doc at
org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(AbstractConversionTask.java:99)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na] at
org.artofsolving.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:59)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na] at
org.artofsolving.jodconverter.office.PooledOfficeManager$2.run(PooledOfficeManager.java:80)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na] at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
~[na:1.7.0_67] at
java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_67]
... 3 common frames omitted*
Related to this issue, if I upload a document to a page, the "view" option
is enable but when I click I get this message and a blank page:
*$services.officeviewer.view($attachmentReference) *
Following is the xwiki.properties options enabled:
*openoffice.serverType=0openoffice.serverPort=8100openoffice.autoStart=trueopenoffice.homePath=/opt/libreoffice4.3/*
And the soffice process:
*tomcat 11935 11889 0 14:27 ? 00:00:00
/opt/libreoffice4.3/program/soffice.bin
-accept=socket,host=127.0.0.1,port=8100;urp;
-env:UserInstallation=file:///var/cache/tomcat/temp/.jodconverter_socket_host-127.0.0.1_port-8100
-headless -nocrashreport -nodefault -nofirststartwizard -nolockcheck
-nologo -norestore*
I have done this kind of configuration for xwiki 5 and 6.1 using
Libreoffice 4.0 with no problems. Is there anything I'm missing here? It's
a problem related to this version?
Kind regards
Hello all,
I'm not sure if I'm doing something wrong or not, but I have an issue with my static lists. I set the "value" as follows:
1-choice 1|2-choice 2|3-choice 3
when I view my form I see the choices as follows:
choice 1
choice 2
choice 3
which is what I expect, however...if I change the value before the dash or remove the
selection all together from the class all items which have that selection get the "hidden" value.
For instance, if a page was created using "choice 1", and the selection of "choice 1" exists in the class, then viewing the page will indeed show "choice 1". However, if I remove "choice 1" or change it to "selection 1" for instance, then all instances previously using that selection will then display "1".
is there any way to prevent previously created pages from changes when the class changes?
Hello,
On Xwiki 6.2.1, I'm fighting with $stringtool.contains
http://commons.apache.org/proper/commons-lang/javadocs/api-3.1/org/apache/c…
In my velocity code, I have
#set($MyContent=$escapetool.xml($recentDoc.content))
$MyContent return
{{box cssClass="floatinginfobox" title="**Sommaire**"}} {{toc numbered="true" depth="3"/}} {{/box}} {{numberedheadings/}} Bla bla
I want to check if $MyContent contain this litteral string:
{{box cssClass="floatinginfobox" title="**Sommaire**"}}
I noticed than I can't escaping some characters ({ and ") with $stringtool.contains
By example $stringtool.contains($MyContent,'box cssClass') working well but not $stringtool.contains($MyContent,'{box cssClass')
I tried to escape characters with \ and/or ~ without success :-(
Have you got an idea?
thanks
Pascal B
Please forgive my ignorance, but is it possible to use DBList with queries to other databases? I'd very much like to use this element populated with the results from a query to another database running on the same server as XWiki, but the only documentation I can find describes queries of the XWiki database.
Hello,
On my space Webhome I have 2 lists with the same sort (modification date):
{{spaceindex space="$doc.space" sort="modificationDate"/}}
and
{{activity spaces="$!aSpace" rss=true /}}
I edited one doc with minorEdit and I obtain 3 differents sort.
I can understand why spaceindex sort is different than "activity spaces" but why "activity spaces" sort is different than Main.WebRss?)
Here some screenshots:
http://snag.gy/l6iQt.jpghttp://snag.gy/JwMVu.jpg
NB: I modified BlocCode to display 5 first lines of content blog post on Blog.WebHome if the blog post have an empty summary, do you interested?
Thxs
Pascal B
hi all,
After the activation of LDAP, all users and guests see the quick Links
"My Recent Modification" LDAPProfileClass, Created by Unknown User.
Normal ?
thank for any help
Stefan
Hello,
I was going through the upgrade for http://scservicesub.myxwiki.org/ and midway through I lost admin privileges for the Admin account probably because it looks like all those pages were overwritten? Now i cant access any admin functions. Can you please fix this?
Thanks,Regan
From: "users-request(a)xwiki.org" <users-request(a)xwiki.org>
To: users(a)xwiki.org
Sent: Saturday, October 4, 2014 3:00 PM
Subject: users Digest, Vol 87, Issue 8
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: Xwiki could not load jquery (Pascal BASTIEN)
2. Re: Xwiki could not load jquery (Thomas Mortagne)
3. AUTO: Claude Ledermann is out of the office - in der Ferien
6.10 - 17.10 (returning 20.10.2014) (Claude Ledermann)
----------------------------------------------------------------------
Message: 1
Date: Fri, 3 Oct 2014 13:17:02 +0100
From: Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
To: Thomas Mortagne <thomas.mortagne(a)xwiki.com>, XWiki Users
<users(a)xwiki.org>
Subject: Re: [xwiki-users] Xwiki could not load jquery
Message-ID:
<1412338622.16631.YahooMailNeo(a)web28701.mail.ir2.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1
Ok Thanks for your help, it was my server side fault (and FF upgrade need to be restarted in 32.0.3 :-/ )
BTW when I'm looking for error source, I notice than jquery.js is not in static fileanymore in xwiki 6.2.1 (jquery is only in jquery-1.11.1.jar and not in /resources/js/amd/jquery.js)...
What is the goal? a security hole?
________________________________
De : Thomas Mortagne <thomas.mortagne(a)xwiki.com>
? : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>; XWiki Users <users(a)xwiki.org>
Envoy? le : Vendredi 3 octobre 2014 11h58
Objet : Re: [xwiki-users] Xwiki could not load jquery
Maybe it's related to http://jira.xwiki.org/browse/XWIKI-11056
On Fri, Oct 3, 2014 at 11:48 AM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> wrote:
> Hello,
> With xwiki 6.2.1 on Tomcat server 7 in httpS, xwiki could not load jquery.js on Windows 7 and FF 32.0.3
>
> By example, On my Debian and Iceweasel (FF like) 31.1.10, I can load this page:
>
> https://xxxxxx/bin/webjars/resources/path?value=jquery/1.11.1/jquery.min.js
>
> but FF 32.0.3 could not load it :-/
>
> Do you encountered this problem?
>
> (I already had refreshed my cache)
>
>
> Thxs
>
> Pascal B
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
------------------------------
Message: 2
Date: Fri, 3 Oct 2014 14:25:06 +0200
From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
To: Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
Cc: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] Xwiki could not load jquery
Message-ID:
<CAPnKnLGsmhwzMrfzfOHeufQfVRdUhjWT+CREZOj5ieph1m=REA(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Mostly easier packaging. All we have to do is declare jquery as a
dependency and it end up in the WAR.
We used to copy/paste jquery source in our own github repository which
is pretty bad (and other libraries are still there that we need to
move the same way). We could unzip the jar at build time but from the
tests there does not seems to be much performance penalty.
On Fri, Oct 3, 2014 at 2:17 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> wrote:
> Ok Thanks for your help, it was my server side fault (and FF upgrade need to
> be restarted in 32.0.3 :-/ )
>
> BTW when I'm looking for error source, I notice than jquery.js is not in
> static fileanymore in xwiki 6.2.1 (jquery is only in jquery-1.11.1.jar and
> not in /resources/js/amd/jquery.js)...
> What is the goal? a security hole?
>
>
>
>
> ________________________________
> De : Thomas Mortagne <thomas.mortagne(a)xwiki.com>
> ? : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>; XWiki Users <users(a)xwiki.org>
> Envoy? le : Vendredi 3 octobre 2014 11h58
> Objet : Re: [xwiki-users] Xwiki could not load jquery
>
> Maybe it's related to http://jira.xwiki.org/browse/XWIKI-11056
>
> On Fri, Oct 3, 2014 at 11:48 AM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
> wrote:
>> Hello,
>> With xwiki 6.2.1 on Tomcat server 7 in httpS, xwiki could not load
>> jquery.js on Windows 7 and FF 32.0.3
>>
>> By example, On my Debian and Iceweasel (FF like) 31.1.10, I can load this
>> page:
>>
>>
>> https://xxxxxx/bin/webjars/resources/path?value=jquery/1.11.1/jquery.min.js
>>
>> but FF 32.0.3 could not load it :-/
>>
>> Do you encountered this problem?
>>
>> (I already had refreshed my cache)
>>
>>
>> Thxs
>>
>> Pascal B
>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
>
>
>
--
Thomas Mortagne
------------------------------
Message: 3
Date: Fri, 3 Oct 2014 18:46:18 +0200
From: Claude Ledermann <c.ledermann(a)interact-consulting.com>
To: users(a)xwiki.org
Subject: [xwiki-users] AUTO: Claude Ledermann is out of the office -
in der Ferien 6.10 - 17.10 (returning 20.10.2014)
Message-ID:
<OF117834D1.0BFF4E5C-ONC1257D66.005C2137-C1257D66.005C2137(a)interact-consulting.com>
Content-Type: text/plain; charset=US-ASCII
I am out of the office until 20.10.2014.
Note: This is an automated response to your message "users Digest, Vol 87,
Issue 7" sent on 03.10.2014 14:00:02.
This is the only notification you will receive while this person is away.
------------------------------
Subject: Digest Footer
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
------------------------------
End of users Digest, Vol 87, Issue 8
************************************
I am out of the office until 20.10.2014.
Note: This is an automated response to your message "users Digest, Vol 87,
Issue 7" sent on 03.10.2014 14:00:02.
This is the only notification you will receive while this person is away.
Hello,
With xwiki 6.2.1 on Tomcat server 7 in httpS, xwiki could not load jquery.js on Windows 7 and FF 32.0.3
By example, On my Debian and Iceweasel (FF like) 31.1.10, I can load this page:
https://xxxxxx/bin/webjars/resources/path?value=jquery/1.11.1/jquery.min.js
but FF 32.0.3 could not load it :-/
Do you encountered this problem?
(I already had refreshed my cache)
Thxs
Pascal B
Je serai absent(e) à partir du 03/10/2014 de retour le 06/10/2014.
je suis en congés.
Je répondrai à vos messages dès mon retour.
En cas de problème technique, veuillez contacter SYNOX au 05 67 34 66 56.
Merci
Hi,
We would like to create a Menu or Button within our skin that allows people
to simply with between 'simple' and 'advanced'.
Now our users have to navigate to profile-preferences, click on Edit and
choose the drop down with two options.
What would be the best way to do this?
Gerritjan
Thanks to all XWiki'ers for Flamingo skin!
You can look at it in action at http://ante.lv/
and it is much more mobile-friendly.
I used {{container}} macro for 1/2 column layout for home page.
I still had to do some adjustments in XWiki.StyleSheetExtension object
to hide some unnecessary items on screen for anonymous users:
#if(!$xcontext.userReference)
.xwikipanelcontents, #rightPanels {
display:none;
}
#end
And had some weird issues with language selector
http://jira.xwiki.org/browse/XE-1427
Valdis
Hello,
I want to do a bulk import of some 80 wiki pages (i.e. files) in xwiki 2.1
syntax to an xwiki instance.
However, in the input there is some xml within {{code}}...{{/code}} sections
which creates trouble.
The following xml markup:
{{code}}
<property as="xs:anyURI" name="oxf.fr.detail.send.success.uri.*.*"
value="http://localhost:8080/site/mycases/form/confirmdispatcher"/>
{{/code}}
causes the parser to derail. To prevent this from happening, I must
substitute the '<' and '>' with
< and > respectively.
However, when pasting exactly the same code directly into the xwiki-editor
in source mode the content is
parsed correctly.
Is there any better way to solve this problem than to pre-process all
xwiki-2.1 files and perform the necessary substitutions
within code sections such as above?
BTW I used a scriptified version of the following command for the operation:
curl -u Admin:admin -X PUT --data-binary "@input.xml" -H "Content-type:
application/xml" -H "Accept: application/xml"
http://wiki.motrice.org/xwiki/rest/wikis/xwiki/spaces/Motrice/pages/NewPage
Best regards,
Roland
--
View this message in context: http://xwiki.475771.n2.nabble.com/Rest-API-XML-and-Xwiki-syntax-interferenc…
Sent from the XWiki- Users mailing list archive at Nabble.com.
On 1 Oct 2014 at 12:20:27, Bryn Jeffries (bryn.jeffries@sydney.edu.au(mailto:bryn.jeffries@sydney.edu.au)) wrote:
>
> Thanks for the prompt response. Your guess seems correct. Looking through the logs in catalina.out I found this line in the stack trace:
>
>
>
>
>
> Caused by: org.postgresql.util.PSQLException: ERROR: permission denied for database xwiki
>
>
> …
>
>
> at com.xpn.xwiki.store.XWikiHibernateStore.createWiki(XWikiHibernateStore.java:325) ~[xwiki-platform-legacy-oldcore-6.1.jar:na]
>
>
>
>
>
> Also, experimenting in psql:
>
>
> postgres=# \connect xwiki
>
>
> You are now connected to database "xwiki" as user "postgres".
>
>
> xwiki=# SET SESSION AUTHORIZATION xwiki;
>
>
> xwiki=> CREATE SCHEMA foo;
>
>
> ERROR: permission denied for database xwiki
>
>
>
>
>
> So does the xwiki user need to be able to create a new schema and tables therein?
Yes, the SQL that’s executed is “CREATE SCHEMA <wikiname>”. That’s why the doc says: "GRANT ALL ON SCHEMA public TO xwiki;”. Now I’m not an expert in postgresql so if there’s a way with less privileges please let us know or update the wiki page yourself directly.
> That’s quite an escalation of privileges – maybe it would be better to implement it in a SECURITY DEFINER stored procedure if that’s possible in postrgesql.
>
>
>
>
>
> If this is a permissions error I should add that I’m using the xwiki-enterprise-tomcat7-pgsql package for Ubuntu/Debian from http://maven.xwiki.org/stable/xwiki-stable.list so I guess this is a bug in the package.
Indeed, you should report a jira issue on http://jira.xwiki.org about this IMO.
Thanks
-Vincent
> Thanks
>
>
>
>
>
> From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf Of vincent(a)massol.net
> Sent: Wednesday, 1 October 2014 7:24 PM
> To: XWiki Users
> Cc: Bryn Jeffries
> Subject: Re: [xwiki-users] Problems creating new wikis - PostgreSQL?
>
>
>
>
>
>
>
> Hi Bryn,
>
>
>
>
> On 30 Sep 2014 at 23:57:47, Bryn Jeffries wrote:
>
> > I've tried creating a new wiki "Other Wiki" under my XWiki 6.1 system, using the "Add Wiki" feature. Once I'd entered the details of the wiki and the users I clicked "Create Wiki" and got the following error:
> >
> > Wiki "otherwiki" creation failed: org.xwiki.wiki.manager.WikiManagerException: Failed to create database for wiki "otherwiki”.
>
>
>
>
>
>
> The most likely reason is that you’ve not given the xwiki user the permissions to create new schemas/databases in your postgresql instance.
>
>
>
> See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationPostgreSQL
>
>
>
>
>
>
>
> Could you check your XWiki logs and find the detailed error there?
>
>
>
>
>
>
>
> Thanks
>
>
>
> -Vincent
>
>
>
>
> > FWIW I'm running XWiki on a PostgreSQL database. Could this be part of the problem?
>
>
>
>
>
I've tried creating a new wiki "Other Wiki" under my XWiki 6.1 system, using the "Add Wiki" feature. Once I'd entered the details of the wiki and the users I clicked "Create Wiki" and got the following error:
Wiki "otherwiki" creation failed: org.xwiki.wiki.manager.WikiManagerException: Failed to create database for wiki "otherwiki".
FWIW I'm running XWiki on a PostgreSQL database. Could this be part of the problem?
Greetings,
During the last few days we have conducted smoke testing on: Chrome 37 and
Internet Explorer 11. Also, I would like to mention that I have conducted a
full test on this version, on Firefox 32.
For this version we reported 77 issues. This link offers an overview of the
issues and improvements reported by the team on the 6.2 version:
http://jira.xwiki.org/issues/?jql=affectedVersion%20in%20%28%226.2%22%29
Have a good day!
---
Andreea Zenovia Popescu
QA Engineer @XWiki
Hi guys,
There are a couple of places in XWiki where we use trees to display
structured / hierarchical data. Are trees a good solution for data
visualization in those cases? Can those trees be improved? Are there
other places in XWiki where you would like to see a tree?
Let me review some of the trees we currently have:
1. Document Index Tree
wiki > space > page > [attachments | page]
This tree is also used in the WYSIWYG editor when you create a link to
a wiki page or to an attachment. It shows the spaces on the first
level and then under each space the parent-child hierarchy of
documents from that space. If a document has attachments then a
special child node is added. The tree can also display wikis on the
first level and then spaces on the second.
So it mixes two hierarchies: wiki > space > page > attachment and
parent > child. This can be confusing. For instance Blog.WebHome has
Main.WebHome as parent, but you don't see Blog.WebHome under the
Main.WebHome node in the tree because it is in a different space.
2. XAR Import
space > page
This is a very simple tree with only two levels. I don't have any
problem with it. Would be cool if it would show more information, like
attachments or objects, but it's a bit more complex to get this kind
of data from the XAR without reading the documents first.
3. Dynamic Hierarchy Macro (
http://extensions.xwiki.org/xwiki/bin/view/Extension/Dynamic+Hierarchy+Macro
)
parent page > child page
Unlike the Document Index Tree, this tree uses only the parent-child
hierarchy. You don't see the spaces but at least you get the full
parent-child hierarchy. This time Blog.WebHome is a child of the
Main.WebHome node.
I'm not sure it's better than the Document Index Tree, at least not on
the default XWiki documents, maybe because the document titles and the
way we set the parent in the default distribution is not very
consistent.
----------
WDYT about these trees?
As a developer, I would love to see a full XWiki Entity Tree:
wiki > space > page > [translations | attachments | objects |
classProperties] > object > objectProperties
As in http://imgur.com/q0br8xT .
As a user, I don't know. You tell me :)
Thanks,
Marius
Hello ,
I've a strange bug since Friday. I've installed a fresh xwiki 6.1 on tomcat/oracle 2 weeks ago and imported exported data from a old xwiki 2.3 (but data have been migrated to xwiki 6.1 before export).
Everything was ok until Friday. Now every users have admin rights but they are not in the admin group. They have access to all spaces,/docs.
If anyone have an idea. I've check rights, and nothing change between pre production server and problematic prod :/
PAtrick
Hello,
In a fresh installation of xwiki 6.2, I create a space X
and then a document Y in that space. However, I cannot
see the document, although when clicking the
'Information'-button for the space X, I find the document
Y in a subspace 'preview'. I find no way to promote the
document so that it becomes directly available in X.
Regards,
Roland
Hi.
I do not understand why it has to be a non-breaking space.
It will sound like something obvious, but, have you tried to insert just a
space " " before "?" ?
e.g.
"${doc.title} ?" instead of "${doc.title}?" in FAQCode.FAQSheet title.
Regards.
Leonardo.
2014-09-26 12:57 GMT-03:00 Leonardo Kodato <leonardokodato(a)gmail.com>:
> Hi.
> I do not understand why it has to be a non-breaking space.
>
> It will sound like something obvious, but, have you tried to insert just a
> space " " before "?" ?
> e.g.
> "${doc.title} ?" instead of "${doc.title}?" in FAQCode.FAQSheet title.
>
> Regards.
> Leonardo.
>
> 2014-09-26 11:30 GMT-03:00 Jeremie BOUSQUET <jeremie.bousquet(a)gmail.com>:
>
> Hi,
>>
>> I didn't find how to put a non-breaking space (by the way why not
>> " " ?) in the title, at least I know how to insert a (breaking) space
>> before the '?' :
>>
>> ${doc.title.replaceAll("(.*[^ ])[?]$", "$1 ?")}
>>
>>
>>
>> BR,
>> Jeremie
>>
>> 2014-09-26 16:08 GMT+02:00 Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>:
>>
>>> Yes it doesn't work because my html code is not intepreted.
>>> JS seem too heavy for a tiny space. (but big boss) :-)
>>>
>>>
>>> Thank you.
>>>
>>>
>>>
>>> ________________________________
>>> De : Leonardo Kodato <leonardokodato(a)gmail.com>
>>> À : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>; XWiki Users <
>>> users(a)xwiki.org>
>>> Envoyé le : Vendredi 26 septembre 2014 16h03
>>> Objet : Re: [xwiki-users] About question mark and FAQ
>>>
>>>
>>>
>>> Hi Pascal.
>>>
>>> Have you tried to edit the FAQCode.FAQSheet title and insert a
>>> non-breaking space right before "?"?
>>>
>>>
>>> I don't think it would be possible using CSS, but maybe using
>>> Javascript(I'm not a javascript expert).
>>>
>>>
>>> Regards,
>>>
>>> Leonardo.
>>>
>>>
>>>
>>> 2014-09-26 9:11 GMT-03:00 Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>:
>>>
>>>
>>>
>>> Hello,
>>> >
>>> >(My french boss) noticed than a space character missing between
>>> question mark and text in FAQ application...
>>> >
>>> >Rather to modify the code, do you think there is a way to fix it with
>>> CSS?
>>> >
>>> >Note: I wanted fix it on Xwiki then I looking for typographical rules
>>> about that but I didn't found an authoritative source... :-/
>>> >
>>> >
>>> http://english.stackexchange.com/questions/14003/any-authoritative-source-o…
>>> >
>>> >
>>> http://www.sdbcompany.com/index.php?option=com_content&view=article&id=59&I…
>>> => "Question mark (?): General rule: non-breaking space before the question
>>> mark and space after."
>>> >
>>> >http://en.wikipedia.org/wiki/Question_mark#Stylistic_variants =>
>>> "French usage must include a non-breaking space before the question mark
>>> (for example, "Que voulez-vous boire ?"), whereas in the English language
>>> orthography no space is allowed in front of the question mark (e.g. "What
>>> do you drink?")"
>>> >
>>> >
>>> >Pascal B.
>>> >_______________________________________________
>>> >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
>>>
>>
>>
>
Hello XWiki-users,
has anyone gone somewhat far with the free-tier of some cloud provider?
I know there is the myxwiki.org farm, but I wanted to know of alternatives.
For example, two years ago, the GSoC student Savitha managed to run for a while on EC2, but at the end she reached, I think, a limit in the amount of DB requests. It would be interesting to know if others have gone somewhat far.
I would prefer a somewhat automated way to do that, using a potentially paid long-life, so that it can open the door to a first development followed by a promotion to a real project.
thanks in advance.
Paul
I'm running a 6.2 wiki that is closed to unregistered users. As a result, people are directed to XWiki.XWikiLogin when they first access the site. On this page I have missing characters (at least when I use Firefox) for they glyph icons (glyphicon-folder-open, glyphicon-home, glyphicon-file, glyphicon-user, glyphicon-lock). These omissions seem to stem from problems with style.css, (although there are quite a few others in the CSS error log), notably:
style.css:
downloadable font: download failed (font-family: "Glyphicons Halflings" style:normal weight:normal stretch:normal src index:1): status=2147746065
source: https://mysite.net/xwiki/bin/webjars/resources/path?value=bootstrap/3.2.0/f…
style.css:
downloadable font: download failed (font-family: "Glyphicons Halflings" style:normal weight:normal stretch:normal src index:2): status=2147746065
source: https://mysite.net/xwiki/bin/webjars/resources/path?value=bootstrap/3.2.0/f…
I don't have this problem for pages elsewhere in the wiki (default skins everywhere so far). In the main wiki dashboard the glyphs appear fine, and come from the location same URL as before:
https://mysite.net/xwiki/bin/webjars/resources/path?value=bootstrap/3.2.0/f…
Any idea what the problem is, and how to fix it?
Having played around with XWiki I'd like to deploy it within my organization, but I'm still a bit confused about what's possible at the different levels of granularity (wikis, spaces, pages) with respect to ACL, so I'd appreciate any advice anyone has to offer. I'd also unsure of global vs local users in the context of multiple wikis.
I am in an organization that has multiple project teams. So consider this scenario for one team, called Team A:
Some "Top Secret" areas should only be visible to members of Team A
Some "Internal Secret" areas can be made available to members of other teams (Team B, say)
Some "Shared Secret" areas can be shared with specific members
Some "Public Info" areas can be made visible to all registered members
What granularity can I provide the above levels. Would I need a separate wiki per team, with different spaces for each of the above areas, or could I have a single wiki with a space per team and different visibility per page? And does this visibility also apply to files attached to these pages?
Hi everyone,
myxwiki.org has been upgraded to XE 6.2. If you own a wiki hosted
there you should have a look at the release notes for this version at:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/
You should automatically get an upgrade wizard for your wiki when you
login as admin.
For more details see the upgrade guide available at :
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HUpgradingwikid…
To be notified of the myxwiki.org server upgrade you can follow
myxwiki on twitter:
http://twitter.com/myxwiki
Note that we still have too many issues with Solr based search module
on myxwiki.org to enable it. You can use the Lucene based search
module instead (select it in the Search section in the administration
of your wiki).
Thanks,
-XWiki Community
Hi,
I'm trying, see my previous mails and sorry for these newbie questions ;-( ,
to make my Wiki runs after an update (my wiki is hosted on *.myxwiki.org).
When I perform a search there is no results and an error is returned :
"Lucene is not installed see wiki.cfg".
I have checked documentation and my xwikipreferences document :
- Lucene seems to be activated by default on XWiki
- in preferences: addon Lucene is installed and configured has default
search Engine. But I have also noticed that Lucene status returns code
instead of values ($lucene.luceneDocCount and $lucene.queueSize).
How can I enable a search Engine (Lucene or Solr)?
Thanks for your help,
Best regards,
Nam
PS : some of my post are attached to wrong discussion is Nabble does it
mind?
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-activate-Search-on-myxwiki-org-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I hope that I don't have overseen a simple switch in the Administration
interface - I want to format the number field for German users. Since we use
a comma to separate the places after the decimal point, I would like to know
if that is somehow possible to achieve for a float/double datatype field?
(e.g. 1200,99 instead of 1200.99)
Thanks a lot.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Number-field-separate-decimal-places-with…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
(My french boss) noticed than a space character missing between question mark and text in FAQ application...
Rather to modify the code, do you think there is a way to fix it with CSS?
Note: I wanted fix it on Xwiki then I looking for typographical rules about that but I didn't found an authoritative source... :-/
http://english.stackexchange.com/questions/14003/any-authoritative-source-o…http://www.sdbcompany.com/index.php?option=com_content&view=article&id=59&I… => "Question mark (?): General rule: non-breaking space before the question mark and space after."
http://en.wikipedia.org/wiki/Question_mark#Stylistic_variants => "French usage must include a non-breaking space before the question mark (for example, "Que voulez-vous boire ?"), whereas in the English language orthography no space is allowed in front of the question mark (e.g. "What do you drink?")"
Pascal B.
Hello,
I'd like to connect xwiki with our AD. But I don't get it right.
I used these guide:
https://network.xwiki.com/xwiki/bin/view/DocXE34En/LDAPAuthentication#HMicro
softActiveDirectory
In xwiki.cfg made following changes: (Domain: Test.local)
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthSer
viceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=192.168.100.41
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.bind_DN=test{0}
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.base_DN=dc=test,dc=local
xwiki.authentication.ldap.UID_attr=sAMAccountName
xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,fi
rst_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
Then I restarted xwiki. But my user could not logging on.
In the guide they say that it is also possible to configure LDAP over UI.
But I can't find it. How do I come in Object Mode in Preferences and where
can I find the Logs?
Thank you for your help.
Best Regards,
Alexander Steinberg
Hello Community,
our company is looking for an alternative for our confluence wiki. It seems
to me xwiki could be the right wiki for us.
Now my question: Is there a way to migrate confluence with all insert files,
sites and blogposts to xwiki?
Thank you for your help.
Best Regards,
Alexander Steinberg
We've received a few questions from new users trying to register for the
wiki.
The registration form does not require an email to be entered in the
email field. If it is not supplied, and the form submitted, the newly
registered user cannot log in as they need a validation key that was
emailed to them (but remember, no email entered).
Here is a demo: http://youtu.be/xk0t7Hf3rQY
Is this a local issue that I can fix in the admin panels (we do want to
confirm users email), or is this an issue with the registration form itself?
Thanks,
Patrick
--
|| | | |||| || || | |||| ||| | |||
Patrick Masson
General Manager, Director & Secretary to the Board
Open Source Initiative
855 El Camino Real, Ste 13A, #270
Palo Alto, CA 94301
United States
OSI Phone: (415) 857-5398
Direct Phone: (970) 4MASSON
Skype: massonpj
Em: masson(a)opensource.org <mailto:masson@opensource.org>
Ws: www.opensource.org <http://www.opensource.org>
Hello,
I want send mail from xwiki to inform XWikiAllGroup of my xwiki upgrade
I tested with Invitation application and share by email without success. Both want email or xwiki username.
Is it possible?
Thxs.
Pascal BASTIEN
Hello all,
During the last few days we have conducted smoke testing on: Firefox 32,
Chrome 37, IE8, IE9, IE10 and IE11. Also, I would like to mention that I
have conducted no full test so far on this version. The next full text will
most likely take place after version 6.2 is launched. If you wish for us to
conduct a full test on a certain browser, we will gladly honour your
request.
This link offers an overview of the issues and improvements reported by the
team on the 6.2-rc-1 version:
http://jira.xwiki.org/issues/?jql=affectedVersion%20in%20%28%226.2-rc-1%22%…
We shall continue testing for other issues and improvements.
Have a good day!
--
Andreea Zenovia Popescu
QA Engineer @XWiki
I have installed xwiki 6.1 and any object (page or space) created or edited
is sent to "preview" space.
How can i turn off this behavior to any publication can be displayed to all
users?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Doubt-Preview-Space-tp7592234.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have installed xwiki 6.1 and any object (page or space) created or edited
is sent to "preview" space.
How can i turn off this behavior to any publication can be displayed to all
users?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Doubt-Preview-Space-tp7592232.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi everyone,
I need to create a livetable for documents having a specific parent and
tag. For example:
Document A -> Has a parent document called "procedure" and "Server01" tag
Document B -> Has a parent document called "procedure" and "Server02" tag
Document "Server01" -> Should show a livetable with a filter for
"Parent=procedure and tag=Server01 (same as Doc.name)
Document "Server02" -> Should show a livetable with a filter for
"Parent=procedure and tag=Server02 (same as Doc.name)
I know I can create a new Document macro and filter by "Parent" and
"Space", but I also need to filter by tag. XWQL may help but I need to show
result as a link to the document.
Any guess or example to follow? Any advice will be appreciated!
Thanks!
The XWiki development team is proud to announce the availability of XWiki
6.2.
This release is mainly focused on the Flamingo skin and it being now used
by default, but also features improvements for applications such as AWM and
Blog and various performance improvements.
Developers can benefit from new APIs such as the new Mail Sender API and
the new Blame API but also from improved APIs such as the wiki module API
and JS widgets.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki62
Thanks
-The XWiki dev team
*push*
---------- Forwarded message ----------
From: Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
Date: 2014-09-18 10:17 GMT+02:00
Subject: Re: [xwiki-users] need advice about an extension developpment
To: Michael Bußler <michael.bussler(a)googlemail.com>
heu it's my fault I didn't precised xwiki version (6.1) and skin
(flamingo)I used. :-/
------------------------------
*De :* Michael Bußler <michael.bussler(a)googlemail.com>
*À :* Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
*Envoyé le :* Jeudi 18 septembre 2014 10h08
*Objet :* Re: [xwiki-users] need advice about an extension developpment
Yes you're right, it wasn't clear to me which version of XWiki you are
using.
I'm using the latest stable, consider it working in there. ;)
Best, Michael
2014-09-18 10:02 GMT+02:00 Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>:
Thanks you but this code doesn't work with flamingo skin because this issue:
http://jira.xwiki.org/browse/XWIKI-10498
class collapsed have no effetc with flamingo (tested with firebug)
------------------------------
*De :* Michael Bußler <michael.bussler(a)googlemail.com>
*À :* Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>; XWiki Users <users(a)xwiki.org>
*Envoyé le :* Mercredi 17 septembre 2014 22h54
*Objet :* Re: [xwiki-users] need advice about an extension developpment
Hi Pascal,
I've had the same issue. Here is how I solved it with JS:
<code>
function collapse( panel ){
panel.addClassName('collapsed').removeClassName('expanded');
}
function collapsePanels() {
$$('.PanelIndex').each( collapse );
$$('.PanelAbkuerzungenLink').each( collapse );
$$('.PanelDifferentialDiagnosen').each( collapse );
$$('.PanelEintraege').each( collapse );
};
</code>
Just insert the ids of the panels you wank to be collapsed during page
loading.
You would need to add this to a page as XWiki.JavaScriptExtension object,
and make sure it is loaded for instance in the sheet.
BTW, I would really like to see a version of this using a session cookie. :)
Best regards,
Michael
(XWiki && XWiki.domIsLoaded && collapsePanels()) ||
document.observe("xwiki:dom:loaded", collapsePanels);
2014-09-17 21:40 GMT+02:00 Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>:
Thxs you (again :-) )
You have just confirmed what I was afraid of, I mean js + cookie.
I will probably look into this collapsed menu , this week. but, I am not
sure if this replies to your issue...
If you like, I will show you the result... if I manage :-/
________________________________
De : Ecaterina Moraru (Valica) <valicac(a)gmail.com>
À : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>; XWiki Users <users(a)xwiki.org>
Envoyé le : Mercredi 17 septembre 2014 19h01
Objet : Re: [xwiki-users] need advice about an extension developpment
Hi Pascal,
If you look at
http://www.cssportal.com/css3-preview/showing-and-hiding-content-with-pure-…
the CSS code for making this work is using the :focus pseudo-class, which
is triggered when the link is selected using the mouse pointer or keyboard.
It's normal that if you navigate the focus of that element to be lost.
If you want something persistent you must implement it with JS and cookies.
CSS is not the tool to achieve these things.
On this topic there is also this issue
http://jira.xwiki.org/browse/XWIKI-10498 but this is not a priority and not
sure when/who will try to fix it (maybe even you :) )
Thanks,
Caty
On Wed, Sep 17, 2014 at 4:48 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
wrote:
Hello,
>
>I try to writing an extension to add the right panel collapsible (with CSS
only). Something like this:
>http://www.cssportal.com/css3-preview/demo/css-menu-ex4.html (hide and
seek panel)
>explained here
http://www.cssportal.com/css3-preview/showing-and-hiding-content-with-pure-…
>I inserted code in rightpanels.vm and CSS but the limitation is when I
navigate on another xwiki page/space the right panel is reset. My right
panel is not persistent.
>Do you have an advice to make my right panel persistent:
>- if user show panel and change current page, right panel must be still
open
>- if user hide panel and change current page right panel must be still
hide
>
>javascript (and cookie) are mandatory in my case?
>Do you have an elegant tip: an secret xwiki API ?
>
>Thxs
>
>Pascal B
>_______________________________________________
>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 All,
I'm trying to set up xWiki to run as a service via the Tomcat method.
I have installed Tomcat 8.0.12, Java 7 update 67 and extracted xwiki-enterprise-web-6.1.war into the webapps folder under Tomcat. I am running on Windows Server 2012 R2.
Tomcat recognizes it but when I go to http://localhost:8080/xwiki it initializes and then appears to hang at 100%.
I can't help thinking I've missed a step. I've re-read the instruction page and have tried adding:
-XX:MaxPermSize=256m
-Xmx800m
As a troubleshooting step but no luck.
In the tomcat stderr log file I have this:
16-Sep-2014 15:58:54.012 INFO [localhost-startStop-3] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.0\webapps\xwiki
16-Sep-2014 15:58:54.184 SEVERE [localhost-startStop-3] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/xwiki]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1071)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1722)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@4ba620]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4854)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4983)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 10 more
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@1ce3a26]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:684)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 13 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: zip file is empty
at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:94)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
... 16 more
Caused by: java.util.zip.ZipException: zip file is empty
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:86)
... 17 more
What have I missed?
Thanks.
Hello.
We're using the most recent version of xWiki (6.1) with the most recent FAQ Application (6.1) installed.
When I go to create/contribute FAQ items they do NOT appear listed under the FAQ.WebHome space. FAQ items when edited directly DO appear to have the FAQ attribute set for source Space. They also DO have FAQ.WebHome set as the parent.
When I go to manually search for said items from the FAQ.WebHome widget they also do NOT appear under a FAQ search results.
We are using the Solr search engine with XWQL and no custom queries defined.
We were using Lucene and when we searched for said items from the FAQ.WebHome widget they would appear as a result of a FAQ search, but still were NOT listed under the FAQ.WebHome space.
What are we missing?
Any insight would be appreciated.
~Patrick
Hi Xwiki Users.
I have a simple question about user rights. Here's a simple example of what
I'm trying to do:
User_X has a problem with the printer.
1 - He creates an issue in "Requests" space (created via App Within
Minutes).
2 - The IT departament checks it and solves the problem.
3 - The user marks it as closed.
What I'm asking is:
Can user_X be able to read only his own question and not user_Y's question?
I mean, I know that I can change a single page permission, but I got to do
it manually. Is it possible to make the item readable only by its autor and
by a certain group(in this case, the IT departament) when creating an
article?
Thank you very much.
Hello,
I received the error: "LDAP service is not available. Please verify your
installation"
I check the config files, and everything seems setup correctly. I am
running a Windows 2012R2. Any suggestions?
Thanks,
Ian
--
View this message in context: http://xwiki.475771.n2.nabble.com/LDAP-service-is-not-available-Please-veri…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi XWiki users,
I’m wondering if we’d be enough to start organizing an XWiki users/dev meetup in France.
Could you let me know in reply if you’d be interested in joining if I was to organize such a meetup?
If we’re enough we could imagine organizing it in September or October for example. XWiki SAS has an office located in Paris (http://www.xwiki.com/lang/en/Company/Contact) and they could host us.
Note for those who’d be coming from afar, I’m sure that it would be possible to have you sleep at some XWiki SAS employee’s place in Paris or even in the office (there’s a shower and kitchen).
Interesting or not?
If you’re interested what would you be interested in doing/seeing during this time? We could imagine a 3-4 hours meetup or even a 1 day meetup. We could also imagine having a hackathon during the time, in this case probably 2 days would be nicer.
WDYT?
Thanks
-Vincent
Hello ,
I've a small problem with a fresh install of xwiki 6.1 on solaris (tomcat, oracle).
When I try to see the deleted attachments from the 'xwiki list of documents ', I got this error (see bellow).
There is just 2 deleted doc in the table;
I tried to save the page with admin account (who has programming rights), still the same.
Any idea?
BR
Patrick
Failed to execute the [velocity] macro
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#if(!$xwiki.hasProgrammingRights())
{{warning}}This document requires programming rights and needs to be saved by an administrator of this Wiki{{/warning}}
#else
#set($dateFormat = 'yyyy MMMM d, HH:mm')
#if(!$request.list)
$xwiki.ssx.use('XWiki.DeletedAttachments')##
$xwiki.jsx.use('XWiki.DeletedAttachments', {'minify' : 'false'})##
##
#set($columns = ['datt.filename', 'datt.docName', 'datt.date', 'datt.deleter', 'actions'])
#set($columnProperties = {
'datt.filename' : { 'type' : 'text', 'size' : 10 },
'datt.docName' : { 'type' : 'text', 'size' : 10 },
'datt.date' : { 'type' : 'date', 'filterable' : false },
'datt.deleter' : { 'type' : 'text', 'size' : 10 },
'actions' : { 'type' : 'text', 'filterable' : false, 'sortable' : false }
})##
#set($options = {
'url' : "$xwiki.getURL('XWiki.DeletedAttachments', 'view', 'list=1&xpage=plain&outputSyntax=plain')",
'callback' : 'XWiki.index.trash.attachments.displayEntry',
'translationPrefix' : 'platform.index.trashAttachments.'
})##
##
##
##
{{html wiki="true" clean="false"}}
<div class="hidden">
#livetable('attachmentTrash' $columns $columnProperties $options)
</div>
{{/html}}
{{html wiki="true" clean="false"}}
<noscript>
#set($deletedAttachments = $services.query.hql('select count(datt.id) from DeletedAttachment as datt').execute().get(0))
#if($deletedAttachments == 0)
{{info}}$services.localization.render('platform.index.trashAttachmentsEmpty'){{/info}}
#else
#macro(displayDeletedAttachment $id)
#set($datt = $xwiki.getDeletedAttachment("$id"))
#set($originalAttachment = $datt.getAttachment())
#set($originalDocument = $xwiki.getDocument($datt.docName))
<tr>
<td><a href="$originalDocument.getAttachmentRevisionURL($originalAttachment.filename, $originalAttachment.version, "rid=${datt.id}").replaceAll('&', '&')">$escapetool.xml($datt.filename)</a></td>
<td><a href="$originalDocument.getURL()">$escapetool.xml($originalDocument.plainTitle) ($escapetool.xml(${originalDocument.fullName}))</a></td>
<td>$xwiki.formatDate($datt.getDate(), $dateFormat)</td>
<td>$xwiki.getUserName($datt.getDeleter())</td>
<td class="itemActions">
#if($datt.canDelete())
<a href="${originalDocument.getAttachmentURL($datt.filename, 'delattachment', "trashId=${datt.id}&xredirect=$escapetool.url($!request.getRequestURI())?$escapetool.url($!request.getQueryString())")}" class="tool delete" title="$services.localization.render('platform.index.trashAttachmentsActionsDeleteTooltip')">$services.localization.render('platform.index.trashAttachmentsDeleteText')</a>
#end
</td>
</tr>
#end
##
#if("$!{request.view}" == '')
#set($queryParams = '')
#else
#set($queryParams = "view=$!{escapetool.url($request.view)}")
#end
#set($paginationParameters = {
'totalItems' : $services.query.hql('select count(datt.id) from DeletedAttachment as datt').execute().get(0),
'defaultItemsPerPage' : 15,
'url' : $doc.getURL('view', $queryParams)
})
#pagination($paginationParameters)
<table id="searchResults" class="xwiki-livetable xwiki-livetable-display">
<thead class="xwiki-livetable-display-header"><tr>
<th scope="col" class="xwiki-livetable-display-header-text selected asc">$services.localization.render('platform.index.trashAttachments.datt.filename')</th>
<th scope="col" class="xwiki-livetable-display-header-text">$services.localization.render('platform.index.trashAttachments.datt.docName')</th>
<th scope="col" class="xwiki-livetable-display-header-text">$services.localization.render('platform.index.trashAttachments.datt.date')</th>
<th scope="col" class="xwiki-livetable-display-header-text">$services.localization.render('platform.index.trashAttachments.datt.deleter')</th>
<th scope="col" class="xwiki-livetable-display-header-text">$services.localization.render('platform.index.trashAttachments.actions')</th>
</tr></thead>
<tbody class="xwiki-livetable-display-body">
#set ($query = $services.query.hql('select datt.id from DeletedAttachment as datt order by datt.filename asc'))
#foreach($item in $query.setLimit($paginationParameters.itemsPerPage).setOffset($paginationParameters.firstItem).execute())
#displayDeletedAttachment($item)
#end
</tbody>
</table>
#set($discard = $paginationParameters.put('position', 'bottom'))
#pagination($paginationParameters)
#end ## deletedAttachments != 0
</noscript>
{{/html}}##
#else ## request.list
## ============================================================================================
## This page is called from live table via Ajax with the argument xpage=plain. It returns a
## set of results serialized in JSON.
## @programming This service page needs to be saved by a user with the programming access level
## to work as expected
## ============================================================================================
#if("$!{request.get('xpage')}" == 'plain')
$response.setContentType('application/json')
#set($offset = $mathtool.toInteger($request.get('offset')))
## offset starts from 0 in velocity and 1 in javascript
#set($offset = $offset - 1)
#if (!$offset || $offset < 0)
#set ($offset = 0)
#end
#set($limit = $mathtool.toInteger($request.get('limit')))
#if (!$limit)
#set ($limit = 15)
#end
#set($filenameFilter = $request.get('datt.filename'))
#set($docNameFilter = $request.get('datt.docName'))
#set($deleterFilter = $request.get('datt.deleter'))
#set($sql = '')
#if("$!{filenameFilter}" != '')
#set($sql = "and lower(datt.filename) like '%${filenameFilter.trim().toLowerCase()}%' ")
#end
#if("$!{docNameFilter}" != '')
#set($sql = "and lower(datt.docName) like '%${docNameFilter.trim().toLowerCase()}%' ")
#end
#if("$!{deleterFilter}" != '')
#set($sql = $sql + "and lower(datt.deleter) like '%${deleterFilter.trim().toLowerCase()}%' ")
#end
#if("$!{request.sort}" != '')
#set($order = $request.sort)
#else
#set($order = 'datt.id')
#end
#if("$!{request.dir}" != '')
#set($dir = $request.dir)
#else
#set($dir = 'asc')
#end
#set($selectSql = "select datt.id, $order from DeletedAttachment as datt where 1=1 " + $sql + " order by $order $dir")
#set($countSql = "select count(*) from DeletedAttachment as datt where 1=1 " + $sql)
#set($items = $services.query.hql($selectSql).setLimit($limit).setOffset($offset).execute())
#set($totalItems = $services.query.hql($countSql).execute().get(0))
#set($returnedItems = $items.size())
## ==============================================
## json starts
## ==============================================
{
"totalrows": $totalItems,
"returnedrows": $returnedItems,
"offset": ${mathtool.add($offset, 1)},
"reqNo": ${request.reqNo},
"query" : "$selectSql",
"rows": [
#foreach($item in $items)
#set($datt = $xwiki.getDeletedAttachment("$item.get(0)"))
#if($velocityCount > 1) , #end
{
#set($originalAttachment = $datt.getAttachment())
#set($originalDocument = $xwiki.getDocument($datt.docName))
"filename" : "$escapetool.javascript($datt.filename)",
"docName" : "$escapetool.javascript($datt.docName)",
"title" : "$escapetool.javascript($originalDocument.plainTitle)",
"url" : "$originalDocument.getAttachmentRevisionURL($originalAttachment.filename, $originalAttachment.version, "rid=${datt.id}")",
"documentUrl" : "$originalDocument.getURL()",
"canDelete" : $datt.canDelete(),
"deleteUrl" : "$originalDocument.getAttachmentURL($datt.filename, 'delattachment', "trashId=${datt.id}&form_token=$!{services.csrf.getToken()}")",
"canRestore" : $datt.canRestore(),
"alreadyExists" : #if($originalDocument.getAttachment($datt.filename)) true #else false #end,
"restoreUrl" : "$originalDocument.getAttachmentURL($datt.filename)",
"date" : "$xwiki.formatDate($datt.date, $dateFormat)",
"deleter" : "$escapetool.javascript($datt.deleter)",
"deletername" : "$escapetool.javascript($xwiki.getUserName($datt.deleter, false))",
"deleterurl" : "$xwiki.getURL($datt.deleter, 'view')"
}
#end
]}
## ==============================================
## json ended
## ==============================================
#end## xpage=plain
#end## request.list
#end## hasProgramR]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:200)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:140)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:175)
at org.xwiki.rendering.internal.macro.html.HTMLMacro.renderWikiSyntax(HTMLMacro.java:271)
at org.xwiki.rendering.internal.macro.html.HTMLMacro.execute(HTMLMacro.java:154)
at org.xwiki.rendering.internal.macro.html.HTMLMacro.execute(HTMLMacro.java:73)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:200)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:140)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:175)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:981)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:960)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:991)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:606)
at sun.reflect.GeneratedMethodAccessor195.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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)
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.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:131)
at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluate(DefaultPrivilegedTemplateRenderer.java:147)
at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluateTemplate(DefaultPrivilegedTemplateRenderer.java:84)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1622)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1562)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:801)
at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
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.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:131)
at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluate(DefaultPrivilegedTemplateRenderer.java:147)
at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluateTemplate(DefaultPrivilegedTemplateRenderer.java:84)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1622)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:179)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:357)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:126)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:Main.AllDocs]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:247)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
... 116 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getAttachment' in class com.xpn.xwiki.api.DeletedAttachment threw exception java.lang.OutOfMemoryError: Java heap space at xwiki:Main.AllDocs[line 42, column 34]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:261)
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.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
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.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
... 118 more
Caused by: java.lang.OutOfMemoryError: Java heap space
Hello, now I have this scenario: I’d like to use a page(which includes some velocity macros) in another new page, I use the snippet below in my new page:
{{velocity}}
#set($reference = $services.model.createDocumentReference('', 'API', 'InterfaceDocTemplate'))
#set($document = $xwiki.getDocument($reference))
$xwiki.getDocument($document).getContent()
{{/velocity}}
but it turns out that the velocity macros cannot be executed, and the alert is “Failed to execute the [velocity] macro”.
I would greatly appreciate if someone could give me a solution.
Excuse my poor English please, thank you very much!
Hi,
I'm experiencing frequent crashes that I think are related to Solr, and I'd
appreciate any advice on how to fix them.
I have a fairly large wiki (with several thousand attachments) running
5.4.3 on tomcat7, and it goes down multiple times a day. Sometimes it will
remain unresponsive for a few minutes then come back on its own, other
times it stays down until I restart tomcat. Usage runs anywhere from a few
active users to several thousand, depending on time of day. Crashes happen
even when the number of users is low.
Checking catalina.out and the localhost_access logs, there almost always
appears to be requests related to solr around the time it goes down.
Sometimes catalina.out shows a java heap out of memory error, but other
times there are no errors in the logs at all, the site is just unresponsive.
I can usually reproduce the issue by running several searches back to back,
while browsing pages in another tab. While the searches are in progress,
the responsiveness of browsing pages steadily drops until it times out. It
usually only takes 5 or 10 searches before this happens.
The other thing that makes me suspect Solr is that even when the site
doesn't crash, while running a search in one tab, requests in the other tab
don't finish until the search is complete - it (subjectively, I know) feels
like other requests are suspended while Solr is thinking.
Potentially related is that I occasionally also see JDBC connection pool
related errors in the logs when it goes down - I have tried tweaking my
connection pool size settings, to no avail.
My current java memory settings are:
JAVA_OPTS="-Djava.awt.headless=true -Xms2500m -Xmx2500m -XX:PermSize=64m
-XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC"
I've used everything from the 800m xwiki.org settings to 3GB+, and it
doesn't seem to make a difference.
I have also reduced the cache settings from 3000 back to 100 in
xwiki.properties, which hasn't helped.
My hibernate settings are:
connection.pool.size = 100
statement_cache.size = 50
dbcp.maxActive = 100
dbcp.maxIdle = 10
dbcp.maxWait = 300000
Mysql max_connections is set to 290
I have changed nearly all of those numbers at some point, but nothing seems
to help.
Any assistance is greatly appreciated - even just tips on how to
troubleshoot what's actually taking the site down, since the logs aren't
always useful.
thanks,
aaron
---------- Forwarded message ----------
From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
Date: Mon, Sep 15, 2014 at 4:52 PM
Subject: Re: [xwiki-users] About IE9 bug
To: Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
In this case please mention on
http://jira.xwiki.org/browse/XWIKI-10664 that you are still
reproducing the issue. We may need to reopen it.
Thanks,
Marius
On Mon, Sep 15, 2014 at 3:46 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> wrote:
> Yes I refresh IE with Ctrl+F5 on this page
> http://localhost:8080/xwiki/bin/edit/Sandbox/WebHome (with Xwiki 6.2RC1) and
> I obtain unfortunaly this bug: XWIKI-10664.
>
>
> ________________________________
> De : Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
> À : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>; XWiki Users <users(a)xwiki.org>
> Envoyé le : Lundi 15 septembre 2014 14h12
> Objet : Re: [xwiki-users] About IE9 bug
>
> Yes, http://jira.xwiki.org/browse/XWIKI-10664 , but it is marked as
> fixed in 6.2RC1 which you already have (right?). Can you clear your
> browser's cache and try again?
>
> Thanks,
> Marius
>
> On Thu, Sep 11, 2014 at 4:03 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
> wrote:
>> Hello,
>>
>> With 6.2 RC1, could you open Sandbox page with WYSIWYG under IE9?
>> When you move you cursor on the page, DIVS blinking or more precisely
>> right "Information doc" box jump at the bottom of the page...
>> It's annoying because Sandbox is a little bit the showcase of Xwiki.
>> Didn't you manage to reproduce this bug?
>>
>> Pascal BASTIEN
>
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
---------- Forwarded message ----------
From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
Date: Mon, Sep 15, 2014 at 4:35 PM
Subject: Re: [xwiki-users] Solr and blank characters
To: Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
On Mon, Sep 15, 2014 at 4:22 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> wrote:
> Thxs a lot for this detailled explaination and these links: it helps my tiny
> xwiki knowledge. :-)
>
> If I want looking for a string in all my fields on my EAClass, I must add
> all my fields in
> set ($solrConfig = {
> 'queryFields': 'title^3
> property.Formulaires$20SMQ.EAClass.A_ExpertsAutre
> property.Formulaires$20SMQ.EAClass.MyField
> property.Formulaires$20SMQ.EAClass.AnotherField
> property.Formulaires$20SMQ.EAClass.AnotherOne',
> or I can use something like this ?
> 'queryFields': 'title^3 property.Formulaires$20SMQ.EAClass.*
No, like this:
'queryFields': 'title^3 object.Formulaires$20SMQ.EAClass'
See http://design.xwiki.org/xwiki/bin/view/Design/SolrSchema#HDocumentFields
. The downside is that the name of the property whose value is matched
won't be displayed in the search results (you match the entire object
not just a particular property).
Hope this helps,
Marius
>
> ________________________________
> De : Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
> À : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>; XWiki Users <users(a)xwiki.org>
> Envoyé le : Lundi 15 septembre 2014 14h59
>
> Objet : Re: [xwiki-users] Solr and blank characters
>
> Sorry for the late reply.
>
> On Fri, Sep 5, 2014 at 6:18 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
> wrote:
>> Hello,
>> I try to writing a search page in my application, but unfortunaly I used
>> bank characters in my spave name :-(
>> I try to applie this method:
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Applicatio…
>> without succes.
>
>> I tried to replace blank with + character and/or add " character or '
>
> No. It doesn't work like this. See
> http://design.xwiki.org/xwiki/bin/view/Design/SolrSchema#HEncodingDynamicFi…
> and
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki53RC1#HSe…
> :
>
> "We're using an encoding scheme similar to the URL-encoding to support
> special characters in the Solr index field names"
>
>>
>> The result is an error or no search result...
>>
>> Have you got a tip to escape blank character in my code?
>>
>> {{include reference="XWiki.SearchCode"/}}
>>
>> {{velocity output="false"}}
>> #if ($searchEngine == 'solr')
>> ## Customize the Solr Search UI for the application.
>> #set ($solrConfig = {
>
>> 'queryFields': 'title^3
>> property.Formulaires+SMQ.EAClass.A_ExpertsAutre',
>
> 'queryFields': 'title^3 property.Formulaires$20SMQ.EAClass.A_ExpertsAutre',
>
>> 'facetFields': ['creator', 'creationdate', 'author', 'date',
>> 'mimetype', 'attauthor', 'attdate', 'attsize'],
>> 'filterQuery': [
>> 'type:DOCUMENT',
>> "wiki:$xcontext.database",
>
>> "space_exact:Formulaires+SMQ",
>> 'class:Formulaires+SMQ.EAClass'
>
> These are different. See
> https://wiki.apache.org/solr/SolrQuerySyntax#Default_QParserPlugin:_LuceneQ…
>
> "Certain characters are special and those characters need to be
> escaped using quotes or a backslash if you want them to be treated as
> literals."
>
> This works for me:
>
> 'space_exact:"Formulaires SMQ"',
> 'class:"Formulaires SMQ.EAClass"'
>
> Hope this helps (next time :) ),
> Marius
>
>
>> ]
>> })
>> #end
>> {{/velocity}}
>>
>> {{velocity}}
>> {{include reference="$searchPage"/}}
>> {{/velocity}}
>>
>>
>>
>>
>> Thxs
>>
>> Pascal B
>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
I will digest all of that and apply it.
Yyumi! :-)
________________________________
De : Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
À : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
Envoyé le : Lundi 15 septembre 2014 15h35
Objet : Re: [xwiki-users] Solr and blank characters
On Mon, Sep 15, 2014 at 4:22 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> wrote:
> Thxs a lot for this detailled explaination and these links: it helps my tiny
> xwiki knowledge. :-)
>
> If I want looking for a string in all my fields on my EAClass, I must add
> all my fields in
> set ($solrConfig = {
> 'queryFields': 'title^3
> property.Formulaires$20SMQ.EAClass.A_ExpertsAutre
> property.Formulaires$20SMQ.EAClass.MyField
> property.Formulaires$20SMQ.EAClass.AnotherField
> property.Formulaires$20SMQ.EAClass.AnotherOne',
> or I can use something like this ?
> 'queryFields': 'title^3 property.Formulaires$20SMQ.EAClass.*
No, like this:
'queryFields': 'title^3 object.Formulaires$20SMQ.EAClass'
See http://design.xwiki.org/xwiki/bin/view/Design/SolrSchema#HDocumentFields
. The downside is that the name of the property whose value is matched
won't be displayed in the search results (you match the entire object
not just a particular property).
Hope this helps,
Marius
>
> ________________________________
> De : Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
> À : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>; XWiki Users <users(a)xwiki.org>
> Envoyé le : Lundi 15 septembre 2014 14h59
>
> Objet : Re: [xwiki-users] Solr and blank characters
>
> Sorry for the late reply.
>
> On Fri, Sep 5, 2014 at 6:18 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
> wrote:
>> Hello,
>> I try to writing a search page in my application, but unfortunaly I used
>> bank characters in my spave name :-(
>> I try to applie this method:
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Applicatio…
>> without succes.
>
>> I tried to replace blank with + character and/or add " character or '
>
> No. It doesn't work like this. See
> http://design.xwiki.org/xwiki/bin/view/Design/SolrSchema#HEncodingDynamicFi…
> and
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki53RC1#HSe…
> :
>
> "We're using an encoding scheme similar to the URL-encoding to support
> special characters in the Solr index field names"
>
>>
>> The result is an error or no search result...
>>
>> Have you got a tip to escape blank character in my code?
>>
>> {{include reference="XWiki.SearchCode"/}}
>>
>> {{velocity output="false"}}
>> #if ($searchEngine == 'solr')
>> ## Customize the Solr Search UI for the application.
>> #set ($solrConfig = {
>
>> 'queryFields': 'title^3
>> property.Formulaires+SMQ.EAClass.A_ExpertsAutre',
>
> 'queryFields': 'title^3 property.Formulaires$20SMQ.EAClass.A_ExpertsAutre',
>
>> 'facetFields': ['creator', 'creationdate', 'author', 'date',
>> 'mimetype', 'attauthor', 'attdate', 'attsize'],
>> 'filterQuery': [
>> 'type:DOCUMENT',
>> "wiki:$xcontext.database",
>
>> "space_exact:Formulaires+SMQ",
>> 'class:Formulaires+SMQ.EAClass'
>
> These are different. See
> https://wiki.apache.org/solr/SolrQuerySyntax#Default_QParserPlugin:_LuceneQ…
>
> "Certain characters are special and those characters need to be
> escaped using quotes or a backslash if you want them to be treated as
> literals."
>
> This works for me:
>
> 'space_exact:"Formulaires SMQ"',
> 'class:"Formulaires SMQ.EAClass"'
>
> Hope this helps (next time :) ),
> Marius
>
>
>> ]
>> })
>> #end
>> {{/velocity}}
>>
>> {{velocity}}
>> {{include reference="$searchPage"/}}
>> {{/velocity}}
>>
>>
>>
>>
>> Thxs
>>
>> Pascal B
>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
Hello,
I try to writing a search page in my application, but unfortunaly I used bank characters in my spave name :-(
I try to applie this method: http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Applicatio… without succes.
I tried to replace blank with + character and/or add " character or '
The result is an error or no search result...
Have you got a tip to escape blank character in my code?
{{include reference="XWiki.SearchCode"/}}
{{velocity output="false"}}
#if ($searchEngine == 'solr')
## Customize the Solr Search UI for the application.
#set ($solrConfig = {
'queryFields': 'title^3 property.Formulaires+SMQ.EAClass.A_ExpertsAutre',
'facetFields': ['creator', 'creationdate', 'author', 'date', 'mimetype', 'attauthor', 'attdate', 'attsize'],
'filterQuery': [
'type:DOCUMENT',
"wiki:$xcontext.database",
"space_exact:Formulaires+SMQ",
'class:Formulaires+SMQ.EAClass'
]
})
#end
{{/velocity}}
{{velocity}}
{{include reference="$searchPage"/}}
{{/velocity}}
Thxs
Pascal B
Hello,
With 6.2 RC1, could you open Sandbox page with WYSIWYG under IE9?
When you move you cursor on the page, DIVS blinking or more precisely right "Information doc" box jump at the bottom of the page...
It's annoying because Sandbox is a little bit the showcase of Xwiki.
Didn't you manage to reproduce this bug?
Pascal BASTIEN
Hello.
We're using the most recent version of xWiki (6.1) with the most recent FAQ Application (6.1) installed.
When I go to create/contribute FAQ items they do NOT appear listed under the FAQ.WebHome space. FAQ items when edited directly DO appear to have the FAQ attribute set for source Space. They also DO have FAQ.WebHome set as the parent.
When I go to manually search for said items from the FAQ.WebHome widget they also do NOT appear under a FAQ search results.
We are using the Solr search engine with XWQL and no custom queries defined.
We were using Lucene and when we searched for said items from the FAQ.WebHome widget they would appear as a result of a FAQ search, but still were NOT listed under the FAQ.WebHome space.
What are we missing?
Much thanks in advance.
~P