The XWiki development team is proud to announce the availability of XWiki 9.1.
This version contains mainly CKEditor integration, HTML export and Job REST API improvements. In addition the Page deletion UI has been made safer to prevent accidental deletion of extension pages.
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/Data/XWiki/9.1
Thanks for your support
-The XWiki dev team
Hi! After many years surviving with Velocity scripts, it is time to enjoy
Groovy's magic! :-)
Both XWiki sites and the web, in general, are crowded with sites/pages with
plenty of Groovy tutorials and manuals, but it would be great to have some
simple examples to helping understand the similarities and differences
between Velocity and Groovy.
Please, is there any XWiki resource explaining, for instance, how to
achieve the same results shown in these sections by using Groovy?
http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsin…http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsfr…
Thanks for your help!
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
Hello,
--- En date de : Ven 24.2.17, Timo Dachs-Wegmann <t.wegmann(a)procitec.de> a écrit :
> De: Timo Dachs-Wegmann <t.wegmann(a)procitec.de>
> Objet: [xwiki-users] Upgrading xwiki
> À: "users(a)xwiki.org" <users(a)xwiki.org>
> Date: Vendredi 24 février 2017, 11h25
> Hello,
>
> I'm trying to upgrade our xwiki from 7.1.2 to 9.0.
> I figured out how to do it with copying the xwiki.cfg,
> xwiki.properties and hibernate.cfg.xml but I can't use the
> new .jars in the WEB-INF/lib directory.
> If I import the 9.0.jars tomcat7 can't find the xwiki Main
> page.
>
> I tried to configure it in hibernate.cfg.xml but it looks
> okay to me.
>
> On the Upgrading Page http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade
> Tom Neumann said, that you have to copy the MySQL
> Connector file from the old xwiki installation.
It seem that you use a mysql database to store your xwiki pages, then you must copy (or download) your MySQL JDBC Driver JAR like indicate here:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL#HInst…
<<You need to have the MySQL JDBC Driver JAR (named mysql-connector-java*.jar) installed in XWiki's WAR file. If this file isn't present in XWiki's WEB-INF/lib directory you'll need to download it and copy it there. You can download it from the MySQL Connector/J Driver page or directly from the Maven Central Repository.>>
and restart Tomcat (you need to add only one jar file)
And don't forget to check:
xwiki.store.migration=1
in /WEB-INF/xwiki.cfg
Pascal B
Hello,
I want to draw a UML Diagram with the XWiki Plugin "PlantUML". As I tested it, I found a problem with the feature of including links in the diagram.
I can't connect an URL to an object, because XWiki seems to import the Macro as a picture (something like jpeg or gif).
There is a good Manual on how to insert links on the HowTo Page of PlantUML.com ( http://plantuml.com/incubation ). The one I tried was a very basic test:
@startuml
Bob -> Alice : ok
url of Bob is [[http://www.google.com]]
@enduml
The problem with this is, that you can't click on "Bob" as a link because the link is not passed through to the XWiki page.
Maybe you have an idea how to solve it or could tell me if there is a way to work around this.
Thank you in advance
Kind regards,
Timo Dachs-Wegmann
-IT-
Hello,
I'm trying to upgrade our xwiki from 7.1.2 to 9.0.
I figured out how to do it with copying the xwiki.cfg, xwiki.properties and hibernate.cfg.xml but I can't use the new .jars in the WEB-INF/lib directory.
If I import the 9.0.jars tomcat7 can't find the xwiki Main page.
I tried to configure it in hibernate.cfg.xml but it looks okay to me.
On the Upgrading Page http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade Tom Neumann said, that you have to copy the MySQL Connector file from the old xwiki installation.
At first I couldn't find it so I replaced the whole WEB-INF/lib directory with the old one. That is working but now I have all the old .jars from 7.1.2...
So I decided to replace them with the new ones but that doesn't work because as I said above Tomcat won't find the pages.
I tried to copy only one at a time to figure out which one needs to be configured or has to stay the same as in the old version but every .jar I copy gives me the same error...
Could you help me please? I have now a 9.0 Version running (as it says on the bottom of my page) but with all the 7.1.2 libs in the WEB-INF folder...
Thank you in advance.
Kind regards,
Timo Dachs-Wegmann
-IT-
Whenever I save a new class (app?) based wiki page (blog, FAQ or custom app) I get a red error at the bottom of the page that reads: "Failed to save the page. Reason: Server not responding" The strange thing is the page did save. Other than the error message nothing appears to be wrong.
Any thoughts on what could be causing this or where I should begin troubleshooting?
Regards,
Jesse
My xwiki is open for registering anyone, as it needs to be.
Lately I have been seeing non-genuine users attaching useless, even illegal
documents and images to their profile pages (some kind of drug trade racket
I suspect).
So, I want to:
1) restrict number of attachments to Profile page to only 1 or 2.
2) have separate inventory of images to be used in whole wiki (like
Wikipedia), thereby disallowing attachments to any other page
Help appreciated..
Hi everyone,
Just wanted to let you know that the XWiki docker image is now an official image on docker hub!
See https://hub.docker.com/r/library/xwiki/
Please try it out and let us know how it goes. That’s probably one of the simplest way to try XWiki now.
It comes configured with filesystem attachment by default and libreoffice configured too for office imports/exports/viewing office docs.
Thanks
-Vincent
Hello,
I'm trying to use the Multipage Export Application (http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+Export+Appli…). I've tried to install it as the readme.txt supposes but as on the webpage described its latest version is validated for xwiki 3.1 to 4.1.
I updated to 9.0 lately...
I guess that’s the problem?! But can you see a possibility to make it work under the new version?
Thank you in advance!
Kind regards,
Timo Dachs-Wegmann
-IT-
I am combining structured and unstructured data on a single edit sheet. The editing mode is accessed by the user from a standard LiveTable actions button. The unstructured data is the page content which is included in the edit sheet using:
{{html}}$xwiki.getTextArea($tdoc.content){{/html}}
Which I got from this post: http://xwiki.475771.n2.nabble.com/Default-editing-mode-for-page-with-object… <http://xwiki.475771.n2.nabble.com/Default-editing-mode-for-page-with-object…>
This all works well enough except that the class properties use CKEditor but the textarea uses the wiki editor. I want the users to enter the unstructured data using the familiar CKEditor interface and tools. How can I get both the unstructured and structured data to use the same editor?
Regards,
Jesse
Hi,
I do not know how it to properly called, but it is possible to use
pass-through authentication in xwiki with LDAP login ?
For example, I authorized in active directory when I login in my pc, but I
don't want enter login and password second time when I enter in xwiki.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Sign-in-xwiki-with-LDAP-login-without-ent…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Is it possible to store attachments below a certain size inside a
database, while storing bigger ones in files?
I assume when using HSQL database it is usually preferred to store
attachments in files?
Greetings, Lilianne
Dear Community,
where can I see some examples how a good dashboard should look like? What functions should a good dashboard have?
Thanx in advance.
Mit freundlichen Grüßen, best regards
Tobias Richter
Auszubildender Fachinformatiker
[BORSI GmbH & Co. KG / Am Ziegelplatz 11-13 / D-77746 Schutterwald]<http://www.borsi.de/>
richter(a)borsi.de<mailto:%3cstrong%3erichter@borsi.de%3c/strong%3e>
Tel: +49 781 500 216
Fax: +49 781 500-555
Amtsgericht Freiburg HRA 470724
Komplementärin: BORSI Verwaltungs GmbH (HRB 701359, AG Freiburg)
vertreten durch Peter G. Breer und Steffen Krimmer
Sitz der Gesellschaften: Am Ziegelplatz 11-13,D-77746 Schutterwald
[Don't print this e-mail unless it's necessary. Help BORSI-Group go green!]
- *description*: We would like to create a wiki for our Boy Scout Troop
1238 based in Fullerton, CA, USA.
- *owner name*: webmaster.troop1238(a)gmail.com / Erwin Masinsin / xwiki
username: troop1238
- *wiki name*: troop1238
Thank you for your consideration.
Yours in scouting,
Erwin Masinsin
Assistant Scoutmaster
Boy Scout Troop 1238
Fullerton, CA
Hello,
I am using (as stated) XWiki 8.4.3 on a CentOS7-VM running in a
docker-container.
I am using a gradle script to push markdown-files and images to the
wiki. The markdown is being wrapped in an xml envelope and pushed to
the REST-API, which works nicely. The envelope looks like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<page xmlns="http://www.xwiki.org">
<title>TITLE</title>
<syntax>markdown/1.2</syntax>
<content>CONTENT</content>
</page>
TITLE and CONTENT are being replaced with the corresponding items, which
are all escaped, so the problem is not with escaping.
We are keeping the files in a structure like the XWiki page-structure,
so we have a directory which contains the markdown and its images
(corresponding to page, WenHome and attachments) and this contains other
directories which in turn.. you get the idea. Basically, every directory
is a page, every markdown-file is a WebHome and every other file is
an attachment.
Right now I am doing two iterations, one fetches the markdown files and
the second fetches all other files.
I am pushing the markdown with XML Content type and the Attachments
with BINARY content-type (both from groovyx.net.http.ContentType.*).
Now my problem is that when I upload the attachments, every single
attachment adds a new version to the page history. I tried to mitigate
this by adding
<majorVersion>1</majorVersion>
and
<version>1.1</version>
to the envelope, but these seem to be unevaluated, as the major version
is still increased with every upload.
So my question is: is there a way to:
a) make sure the minor version is upgraded instead of the major version
when sending an attachment
b) replace the history of the page with a single major.minor-version
history (as is done when importing .xar-files)
c) upload the page with all its attachments at once, without having to
change it from markdown to XAR?
Hi,
I have a attached image on a page.
My aim is to use the image as a background image,
So the resulting HTML should be
<div style="background-image: url(http://i54.tinypic.com/4zuxif.jpg)"></div>
So in the HTML-macro I have a $doc.getAttachmentURL('xxx.png')
But executing it it looks like the wiki-engine is also transforming the "background-image:" as a wiki image, so I get resource not found errors?
Any suggestion how to wrap?
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
I have a couple of pages that are loading very slowly - like 15-20 second delay on loading. Other pages load just fine. I've always found the profile pages load slowly, but had a specific space start to do this recently. I tried disabling the TAG CLOUD panel that is on that page and page load time normalized.
Wondering if anyone else had found that tag cloud panel has an issue here? Is there a max number of entries after which it would start to degrade performance? Thoughts or insight appreciated.
Paul Pinkerton
KnowledgeNow Project Lead
pinkerp(a)lao.on.ca<mailto:pinkerp@lao.on.ca>
Skype: pinkerp.lao<skype:pinkerp.lao>
Association of Community Legal Clinics of Ontario
416-847-1418 or 1-866-965-1416x 5177
www.aclco.org<http://www.aclco.org/>
Hi.
We have upgraded xwiki enterprise from 8 to 9.0 versionb on
debian:
apt-get update && apt-get upgrade
# dpkg -l | grep xwiki
ii xwiki-enterprise-common 9.0+3
ii xwiki-enterprise-pgsql-common 9.0+3
ii xwiki-enterprise-tomcat8-common 9.0+3
ii xwiki-enterprise-tomcat8-pgsql 9.0+3
And now we can't get started xwiki. The following error is
received:
SEVERE: Exception sending context initialized event to listener instance
of class org.xwiki.container.servlet.XWikiServletContextListener
java.lang.NoClassDefFoundError: Failed to get fields for class
[org.xwiki.activeinstalls.internal.client.DefaultPingSender] because the
class [io/searchbox/Action] couldn't be found in the ClassLoader.
at
org.xwiki.component.util.ReflectionUtils.getAllFields(ReflectionUtils.java:72)
at
org.xwiki.component.annotation.ComponentDescriptorFactory.createComponentDescriptor(ComponentDescriptorFactory.java:132)
at
org.xwiki.component.annotation.ComponentDescriptorFactory.createComponentDescriptors(ComponentDescriptorFactory.java:105)
at
org.xwiki.component.annotation.ComponentAnnotationLoader.register(ComponentAnnotationLoader.java:168)
at
org.xwiki.component.annotation.ComponentAnnotationLoader.initialize(ComponentAnnotationLoader.java:136)
at
org.xwiki.component.annotation.ComponentAnnotationLoader.initialize(ComponentAnnotationLoader.java:118)
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:151)
at
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:61)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4832)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
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.deployDescriptor(HostConfig.java:581)
at
org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1685)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
фев 08, 2017 6:03:35 PM org.apache.catalina.core.StandardContext
startInternal
SEVERE: Error listenerStart
Can someone help ?
Hi,
We have an xwiki 6.1 installation and we can't figure out the « Share page by email » function.
It works very well for Admin users, but it doesn't work for regular users. We get an error message saying "Error: The message could not be sent to userX : email server error." (Or in French : Le message n'a pas pu être envoyé à UserX : Erreur du serveur email.)
It's the same error message seen for this problem (look at the error.png attachment) : http://jira.xwiki.org/browse/XE-1451
It looks like a permission problem, but I don't where to look. The stack trace on the other hand says that there is an illegal semicolon somewhere in the address field, which prevents the MailSenderPlugin from sending the email. Again, only for regular users, Admins are OK. I've intercepted the http requests with Fiddler, even look at the POST payload and I don't see any semicolon.
View the stack trace here: https://gist.github.com/anonymous/acafd8dfd501596ff94c2277982867d4
Can someone provide some insight?
Best regards,
Henri-Robert Sully
Hi everyone,
I’ve started a first version of a XWiki docker packaging at https://github.com/xwiki-contrib/docker-xwiki and I’ve created an automated build on DockerHub at https://hub.docker.com/u/xwiki/. The goal is to provide an official packaging done by the XWiki dev team.
Since I’m a recent user of Docker I’m sure I’ve made plenty of mistakes and not following some best practices, even though I’ve tried my best to do that ;)
So it would be great if:
* Some users could try it out and let me know how it works
* Users could tell me what they’d expect in term of setup from a docker distribution.
* Some Docker experts review my code and let me know what I should improve!
After I receive some confirmation that it works well-enough, my goal is to document it as an official way of installing xwiki on xwiki.org.
Feel free to create jiras for ideas and bugs at http://jira.xwiki.org/browse/XDOCKER.
Thanks a lot!
-Vincent
PS: Note that I’m sure some will want a different DB, such as postgreSQL for example. That should be easy to do. Pull request accepted! :)
I am attempting to follow the backup instructions but no matter what I do all connections to the database fail with the following error, or similar:
pg_dump: [archiver (db)] connection to database "xwiki" failed: FATAL: Peer authentication failed for user “xwiki"
I have double checked the username and password in provided in the hibernate.cfg.xml file. Is there a connection permission issue I am missing?
Reagards,
Jesse
My apologies if this request is redundant. I previously sent a request on
Jan 31st and unsure if the message was properly received.
description: We would like to create a wiki for our Boy Scout Troop 1238
based in Fullerton, CA, USA.
owner name: webmaster.troop1238(a)gmail.com / Erwin Masinsin
wiki name: troop1238
Thank you for your consideration.
Yours in scouting,
Erwin Masinsin
Assistant Scoutmaster
Boy Scout Troop 1238
Fullerton, CA
I have a clean .deb install but when I access xwiki for the first time the distribution wizard has no skin. The header velocity macro shows the raw velocity code instead. I can proceed but then this issue persists in the wiki created. Many features, especially on the admin screen are not accessible because all the macros indicate that they failed. Cause [Null]. Any thoughts on what would cause this on a blank install?
Regards,
Jesse
I use box macro to include the summary of page. But editing that summary
needs editing box macro Content.
In such editing we can't simply use the WYSIWYG. That means, I am forced to
write the content in wiki code, which I want to avoid.
It would be nice if I could edit text in box in WYSIWYG mode like a normal
text editing (like Word Processor).
Any help appreciated..
Hi,
http://l10n.xwiki.org seems to be very very slow: the home page is ok but I
can't use it (access to a language table for instance).
The last "translation activity" was on 2016/12/23 by myself ;-).
Thanks to have a look to it ;-),
Ok I think I had a too much aggressive custom logging system (a page frequently saved) and my xwiki encoutered this bug.
http://jira.xwiki.org/browse/XWIKI-13336?focusedCommentId=91972&page=com.at…
I think it is ok now (except I still wonder
<< I wonder, Is there a timeout associated to the script
that
runs and is there feedback in the event of an error
(or a
way to activate logs for job scheduled)?>>
Thxs
Pascal BASTIEN
I'd like to display a simple download button with a certain text, which downloads a file attached to this xwiki page when clicked. The link has to be relative to the current page (file is attached there).
I tried the following variations of the html macro with no success. Is it possible? Otherwise we will just create images for download buttons and links on them.
(xwiki 8.4.3)
{{html wiki="true"}}
<form action="">
<input type="submit" value="[[Download>>attach:SomeFile.png]]"/>
</form>
{{/html}}
{{html wiki="true"}}
<form action="[[Download>>attach:SomeFile.png]]">
<input type="submit" value="Download"/>
</form>
{{/html}}
{{html}}
<form action="WebHome/Trendset_Dialog.png">
<input type="submit" value="[[Download>>attach:SomeFile.png]]"/>
</form>
{{/html}}
{{html wiki="true"}}
<button type="button" onclick="[[attach:SomeFile.png]]">Download</button>
{{/html}}
{{html}}
<button type="button" onclick="WebHome/Trendset_Dialog.png">Download</button>
{{/html}}
Thanks.
- *description*: We would like to create a wiki for our Boy Scout Troop
1238 based in Fullerton, CA, USA.
- *owner name*: webmaster.troop1238(a)gmail.com / Erwin Masinsin
- *wiki name*: troop1238
Thank you for your consideration.
Yours in scouting,
Erwin Masinsin
Assistant Scoutmaster
Boy Scout Troop 1238
Fullerton, CA
I have this kinds of errors when I add members to a groups in a loop and save my page after my loop (with xwiki 8.4 / tomcat /postgresql)
2017-02-02 11:03:57,129 [https://xxxxxxxxxxx/bin/view/BacASable/UpdateGroup] ERROR o.h.u.JDBCExceptionReporter - L'élément du batch 0 insert into xwikircs (XWR_DATE, XWR_COMMENT, XWR_AUTHOR, XWR_DOCID, XWR_VERSION1, XWR_VERSION2) values ('2017-02-02 11:03:53.000000 +01:00:00', '', 'XWiki.Admin', -8926142983782395498, 6175, 1) a été annulé. Appeler getNextException pour en connaître la cause.
2017-02-02 11:03:57,129 [https://xxxxxxxxxxx/bin/view/BacASable/UpdateGroup] WARN o.h.u.JDBCExceptionReporter - SQL Error: 0, SQLState: 23505
2017-02-02 11:03:57,129 [https://xxxxxxxxxxx/bin/view/BacASable/UpdateGroup] ERROR o.h.u.JDBCExceptionReporter - ERREUR: la valeur d'une clé dupliquée rompt la contrainte unique « xwikircs_pkey »
Détail : La clé « (xwr_docid, xwr_version1, xwr_version2)=(-8926142983782395498, 6175, 1) » existe déjà.
2017-02-02 11:04:16,431 [https://xxxxxxxxxxx/bin/view/BacASable/UpdateGroup] WARN o.h.u.JDBCExceptionReporter - SQL Error: 0, SQLState: 23505
2017-02-02 11:04:16,431 [https://xxxxxxxxxxx/bin/view/BacASable/UpdateGroup] ERROR o.h.u.JDBCExceptionReporter - L'élément du batch 0 insert into xwikircs (XWR_DATE, XWR_COMMENT, XWR_AUTHOR, XWR_DOCID, XWR_VERSION1, XWR_VERSION2) values ('2017-02-02 11:04:12.000000 +01:00:00', '', 'XWiki.Admin', -8926142983782395498, 6178, 1) a été annulé. Appeler getNextException pour en connaître la cause.
2017-02-02 11:04:16,431 [https://xxxxxxxxxxx/bin/view/BacASable/UpdateGroup] WARN o.h.u.JDBCExceptionReporter - SQL Error: 0, SQLState: 23505
2017-02-02 11:04:16,432 [https://xxxxxxxxxxx/bin/view/BacASable/UpdateGroup] ERROR o.h.u.JDBCExceptionReporter - ERREUR: la valeur d'une clé dupliquée rompt la contrainte unique « xwikircs_pkey »
Détail : La clé « (xwr_docid, xwr_version1, xwr_version2)=(-8926142983782395498, 6178, 1) » existe déjà.
--------------------------------------------
En date de : Jeu 2.2.17, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> a écrit :
Objet: Re : timeout in job scheduler?
À: "XWiki Users" <users(a)xwiki.org>
Date: Jeudi 2 février 2017, 10h44
$xwiki API have an "sync" equivalent
command (with groovy)?
or "sleep"?
My scheduled job generate some crash of tomcat:
01-Feb-2017 23:16:40.771 SEVERE
[http-nio-8080-ClientPoller-0]
org.apache.tomcat.util.net.NioEndpoint$Poller.run
java.lang.OutOfMemoryError: Java heap space
Thxs.
--------------------------------------------
En date de : Mer 1.2.17, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
a écrit :
Objet: timeout in job scheduler?
À: "XWiki Users" <users(a)xwiki.org>
Date: Mercredi 1 février 2017, 16h17
Hello,
I created a job scheduled in scheduler, but sometime my
job
seem to be failed sometime.
In my groovy job I add some logging system: some text sent
to a xwiki page+save but didn't find interesting things.
Of course I have some loops (I things) in my script (to
list
groups member):
Members =
xwiki.rightsmanager.getAllMembersNamesForGroup("${GroupName}")
//extrait les users du groupe
Members.each {
MyMember =
xwiki.getDocument(it)
I wonder, Is there a timeout associated to the script that
runs and is there feedback in the event of an error (or a
way to activate logs for job scheduled)?
Thxs
Pascal BASTIEN
$xwiki API have an "sync" equivalent command (with groovy)?
or "sleep"?
My scheduled job generate some crash of tomcat:
01-Feb-2017 23:16:40.771 SEVERE [http-nio-8080-ClientPoller-0] org.apache.tomcat.util.net.NioEndpoint$Poller.run
java.lang.OutOfMemoryError: Java heap space
Thxs.
--------------------------------------------
En date de : Mer 1.2.17, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> a écrit :
Objet: timeout in job scheduler?
À: "XWiki Users" <users(a)xwiki.org>
Date: Mercredi 1 février 2017, 16h17
Hello,
I created a job scheduled in scheduler, but sometime my job
seem to be failed sometime.
In my groovy job I add some logging system: some text sent
to a xwiki page+save but didn't find interesting things.
Of course I have some loops (I things) in my script (to list
groups member):
Members =
xwiki.rightsmanager.getAllMembersNamesForGroup("${GroupName}")
//extrait les users du groupe
Members.each {
MyMember =
xwiki.getDocument(it)
I wonder, Is there a timeout associated to the script that
runs and is there feedback in the event of an error (or a
way to activate logs for job scheduled)?
Thxs
Pascal BASTIEN
Hello,
I created a job scheduled in scheduler, but sometime my job seem to be failed sometime.
In my groovy job I add some logging system: some text sent to a xwiki page+save but didn't find interesting things.
Of course I have some loops (I things) in my script (to list groups member):
Members = xwiki.rightsmanager.getAllMembersNamesForGroup("${GroupName}") //extrait les users du groupe
Members.each {
MyMember = xwiki.getDocument(it)
I wonder, Is there a timeout associated to the script that runs and is there feedback in the event of an error (or a way to activate logs for job scheduled)?
Thxs
Pascal BASTIEN
Noticed this in xwiki.cfg, diff between 8.4.4 and 9.0:
102c105
< # xwiki.store.migration.manager.hint=hibernate
---
> # xwiki.store.migration.manager.hint=hibernatehibernate
I am going to assume hibertnatehibernate is not the correct value there. :)
Let me know if you want a bug filed.
Thanks,
Craig
Hello,
We must change our server to use xwiki. Do you have simple recommandations about requirement ( CPU, specialy RAM because server provided is a VM, ...) to have for a fast xwiki?
On this server I will install:
- debian stable Jessie
- Tomcat 8.5.5 version probably
- postgreSQL server
- xwiki attachment stored in the filesystem
- solr server embedded probably
Thxs.
Of course I will recheck
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat
and http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances
Thxs.
Pascal B
The XWiki development team is proud to announce the availability of XWiki
9.0.
This release marks the start of the 9.x cycle and features mostly developer
and admin feature improvements. The most notable ones are the improved
handling of big attachments, filesystem Recycle Bin and CK Editor
improvements.
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/Data/XWiki/9.0
Thanks for your support
-The XWiki dev team
HI, I want to use xwiki for client-server access.
The thing is when I install the xwiki in server, and try to access/open in
client(my laptop) it can't be open. Does it require me to install the java?
Before forgot, my server is using windows xp.
Somebody help
--
View this message in context: http://xwiki.475771.n2.nabble.com/Use-xwiki-for-local-server-tp7602606.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am trying to follow along while modifying the code to reflect my app location which is “Corrections.2016” and it all seems to work fine until I try to do the custom form creation, which when submitted takes me to an "about blank” page. Any thoughts on what I did wrong?
#if("$!targetDocName" != '' && $xwiki.exists($targetDocName))
{{warning}}The target document already exists. Please choose a different name, or [[view the existing document>>$targetDocName]]{{/warning}}
#elseif("$!targetDocName" != '')
{{warning}}You don't have permission to create that document{{/warning}}
#end
{{html}}
<form action="" id="newdoc" method="post">
<div>
<input type="hidden" name="parent" value="${doc.fullName}"/>
<input type="hidden" name="template" value="Corrections.2016.2016Template"/>
<input type="hidden" name="sheet" value="1"/>
<input type="hidden" name="spaceName" value="Corrections.2016"/>
Code Section: <input type="text" name="docName" value="Enter the code section here" class="withTip" size="50"/>
<span class="buttonwrapper"><input type="submit" value="Create this code section" class="button"/></span>
</div>
</form>
{{/html}}
Regards,
Jesse Bright
Hello,
If you are certain of an error in FAQ Tutorial, you can edit the page and fix it IMO.
Xwiki is ... a wiki.
Thxs.
Pascal B
--------------------------------------------
En date de : Lun 30.1.17, Jesse Bright <jesse(a)abrightfamily.com> a écrit :
Objet: Re: [xwiki-users] FAQ Tutorial - Custom Creation Form
À: "XWiki Users" <users(a)xwiki.org>
Date: Lundi 30 janvier 2017, 16h36
I figured this out while
fixing the live table. The tutorial code references the
class and template pages as "FAQ.FAQClass" and
"FAQ.FAQTemplate". However the pages actually
created from the Class Editor wizard have a space:
"FAQ.FAQ Class" and "FAQ.FAQ Template".
After adding the space everything is working as expected. I
may have made a mistake in following the tutorial but it
didn't feel like it. Perhaps the tutorial needs updated
to reflect changes in the Class Editor.
Regards,
Jesse
Bright
Regards,
Jesse
>
On Jan 30, 2017, at 6:00 AM, Jesse <jesse(a)abrightfamily.com>
wrote:
>
> I am
trying to follow along while modifying the code to reflect
my app location which is “Corrections.2016” and it all
seems to work fine until I try to do the custom form
creation, which when submitted takes me to an "about
blank” page. Any thoughts on what I did wrong?
>
>
#if("$!targetDocName" != '' &&
$xwiki.exists($targetDocName))
>
{{warning}}The target document already exists. Please choose
a different name, or [[view the existing
document>>$targetDocName]]{{/warning}}
> #elseif("$!targetDocName" !=
'')
> {{warning}}You don't
have permission to create that document{{/warning}}
> #end
>
> {{html}}
> <form
action="" id="newdoc"
method="post">
>
<div>
> <input
type="hidden" name="parent"
value="${doc.fullName}"/>
> <input type="hidden"
name="template"
value="Corrections.2016.2016Template"/>
> <input type="hidden"
name="sheet" value="1"/>
> <input type="hidden"
name="spaceName"
value="Corrections.2016"/>
> Code Section: <input
type="text" name="docName"
value="Enter the code section here"
class="withTip" size="50"/>
> <span
class="buttonwrapper"><input
type="submit" value="Create this code
section" class="button"/></span>
> </div>
>
</form>
> {{/html}}
>
> Regards,
>
> Jesse Bright
Howdy,
Is it possible to setup an XWiki such that:
- Users can register AND validate email.
- After registration, users who have not been “approved” can only see one page that says “Please wait for approval for access to this wiki."
- Approved users have normal access controls.
Right now I have removed all rights from the XWikiAllGroup and I manually move users into the XWikiRegisteredUsers group (maybe a bad name since all users are registered, it just means I approved them for access). The only problem with this setup is that new users cannot validate their email until I have added them to the XWikiRegisteredUsers group. I have not yet figured out how to control access to that special Email Authorization page.
Thanks for any info!
Craig
Hello,
If you want something very simple to create, you can also use a class/sheet/template to make your checkbox:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial/FAQTutorialMa…
or : http://www.theserverside.com/news/1363830/XWiki-A-Platform-for-Collaborativ… (Understanding Classes and Objects create a todo app)
If you don't want store checkbox data, users could use the template (or another page)
Pascal BASTIEN
--------------------------------------------
En date de : Jeu 26.1.17, Jesse Bright <jesse(a)abrightfamily.com> a écrit :
Objet: [xwiki-users] List with Checkboxes
À: users(a)xwiki.org
Date: Jeudi 26 janvier 2017, 5h51
I am making a several lists with
tasks and associated checkboxes. The checkbox data will not
be stored or used in any way. It's only purpose is as a
reminder of tasks which have been completed.
My best idea for achieving this is to write a wiki macro
using the HTML macro to insert a checkbox input. However
this means I have to develop list tabbing behavior and write
my macro reference repeatedly in each list space.
Does any one know of a better or easier way to create a
checkbox list?
Regards,
Jesse
Hello,
After having succesfully migrated from a 300 pages mediawiki to xwiki
(which worked like a charm with the FilterStream app), I need to find a way
to automate modifications to the migrated xwiki pages.
In mediawiki, I could create "highlighted boxes" in which I put code by
simply adding a space caracter as the very first caracter of each line.
FilterStream application converted this empty space to "}}}" and "{{{"
which is totally the right way to convert this from the MW syntax to XWiki
syntax, but doesn't fit my needs.
Ideally, I'd like to convert every "{{{" tags to "{{code}}" and every "}}}"
tags to "{{/code}}"
Do you have any idea how to achieve this ?
Regards
Denis GERMAIN
The XWiki development team is proud to announce the availability of XWiki
9.0 Release Candidate 1.
This version opens the new 9.x cycle. It contains all improvements
introduced in versions 8.4.1 to 8.4.4, and brings admin and developer
features mostly. Among other things, XWiki deals better with big
attachments now.
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/Data/XWiki/9.0RC1/
Thanks for your support
-The XWiki dev team
I am making a several lists with tasks and associated checkboxes. The checkbox data will not be stored or used in any way. It's only purpose is as a reminder of tasks which have been completed.
My best idea for achieving this is to write a wiki macro using the HTML macro to insert a checkbox input. However this means I have to develop list tabbing behavior and write my macro reference repeatedly in each list space.
Does any one know of a better or easier way to create a checkbox list?
Regards,
Jesse
Ho great I didn't see that! Thxs Thomas
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HSharevariableb…
--------------------------------------------
En date de : Mar 24.1.17, Thomas Mortagne <thomas.mortagne(a)xwiki.com> a écrit :
Objet: Re: [xwiki-users] How to sort hashmap with velocity?
À: "Pascal BASTIEN" <pbasnews-xwiki(a)yahoo.fr>, "XWiki Users" <users(a)xwiki.org>
Date: Mardi 24 janvier 2017, 18h28
Note that if you are
using XWiki 8.3+ you don't need to go trough
xcontext to pass data between velocity macro
and other script macros.
Velocity variables
ends up in Groovy (as global variables) and the
opposite.
Ok, then I inesert groovy code between 2 velocity bloc to sort my map:
...
#end ##Fin foreach
$xcontext.put("xSiglesArray", $SiglesArray)
#end ## fin temporaire pour insérer le code groovy
{{/velocity}}
{{groovy}}
if(xcontext.get("xSiglesArray")){
SiglesArrayGv = xcontext.get("xSiglesArray");
// Trie le tableau (insensitive case )
SiglesArrayGv=SiglesArrayGv.sort { it.key.toLowerCase() };
xcontext.put("xSiglesArray", SiglesArrayGv);
xcontext.put("DoRegen", true);
}
{{/groovy}}
{{velocity}}
##
##Regénére la page et trie les entrées (suite)
#if ( $xcontext.get("DoRegen")== 'true' && $xcontext.get("xSiglesArray") )
##
#set ($SiglesArray= $xcontext.get("xSiglesArray"))
#foreach($Anchor in $AnchorsArray)
##
Thxs
--------------------------------------------
En date de : Jeu 19.1.17, Thomas Mortagne <thomas.mortagne(a)xwiki.com> a écrit :
Objet: Re: [xwiki-users] How to sort hashmap with velocity?
À: "Pascal BASTIEN" <pbasnews-xwiki(a)yahoo.fr>, "XWiki Users" <users(a)xwiki.org>
Date: Jeudi 19 janvier 2017, 14h58
On Thu, Jan 19, 2017 at
11:25 AM, Pascal BASTIEN
<pbasnews-xwiki(a)yahoo.fr>
wrote:
> Hello,
>
> with velocity I have a hashmap: sort of
variable with (key:value) that I want to sort, then I
use:
> #set ($myHashMap =
$collectionstool.getSortedMap(String, String))
> $myHashMap.put('Mykey3','My
value 3')
> http://platform.xwiki.org/xwiki/bin/view/ScriptingDocumentation/?url=http:%…
>
> It's working well
... except with uppercase because I want a sort with
insensitive case.
>
>
I tried to decrypt Javadoc and I found I could use:
String.CASE_INSENSITIVE_ORDER
> #set
($myHashMap =
$collectionstool.getSortedMap(String.CASE_INSENSITIVE_ORDER,
String))
> #set ($myHashMap =
$collectionstool.getSortedMap(String::compareToIgnoreCase,
String)) with java8
> but unfortunaly it
doesn't work (I have xwiki error)
Velocity is very far from supporting Java
syntax. Plus here you seems
to be mixing
CollectionsTool and TreeMap javadoc. CollectionsTool
contains only one getSortedMap() method and it
has no parameter.
There
does not seems to be any way to get a TreeMap configured
with
String.CASE_INSENSITIVE comparator in
Velocity. The main issue is that
you
can't create an object or access a static variable in
Velocity so
no way to use a method that
takes a Comparator as parameter even if
there was one (which is not the case for
maps).
Right now the only
alternatives seems to be:
* use Groovy
* write a script service in Java that provide
the feature
* patch CollectionsTool to add a
way to pass a comparator to the various methods
>
> Any idea to sort my
hashmap with with insensitive case?
>
> (Unfortunaly the better way I found is an
ugly way: I mix velocity with a piece of groovy but I'm
not satisfied at all because I use velocity loop and other
if.)
>
> Thxs for any
help.
>
> Pascal
B
--
Thomas
Mortagne
Hi,
I’m trying to use the Searchjql function to read data from our Jira server via the scripting api.
The Jira api allows to read any existing field, but I don’t understand how this can be done via the scripting api.
The second question I have is how to make a Json file out the answer which can be fed into a livetable.
There is also one issue I have. We have set up access to our jira server by password protected accounts only. If you have a pssword which contains a “$“ the api fails.
Any help is welcome.
Thanks, Wolfgang
Hi Markdown lovers,
Just wanted to announce that I’ve completely written XWiki support for the Markdown syntax (using flexmark-java instead of pegdown). It’s available as the “markdown/1.2” syntax inside of XWiki.
See http://extensions.xwiki.org/xwiki/bin/view/Extension/Markdown+Syntax+1.2 for details.
Please try it out and let me know how it goes.
If you find bugs please report them at http://jira.xwiki.org/browse/MARKDOWN
Thanks
-Vincent
Hi, I’m using XWiki in Slovak language which uses accents, which consequently causes problems with urls. The urls becomes ugly containing encoded characters with accents. Does XWiki have integration point out of the box to replace the page name with custom one, with stripped accents from it?
Thank you
Mirec
I want to implement Carousel slider just as the one on
xwiki.org/xwiki/bin/view/Carousel/Slider
But I dont know how to do it.
I tried Totem extension. Its good but has 1 problem. In its Carousel
implementation, Totem uses only images attached and doesnt show the
description.
Is their any other way around? I want the slider exactly as on xwiki.org
Perhaps, it should be well documented as it is the most important component
for Home pages.
Thank you in advance
Hi,
I would like to calculate the age of a person in years
I have the date of birth stored in a XWiki class-object in a property of type Date/Time
The age should be calculated against NOW! (Sysdate in local-user time, although the rounding in years does not make this a very important requirement.
Also I would like to be able to calculate a duration by subtracting two dates stored in a
XWiki class-object in a property of type Date/Time
Please a velocity-based guidance how to do this? (JoDaTime based)
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
I am interested in creating an easy to navigate document library. I was thinking of using the File Manager Extension (as this is what it's built for) - but the documentation is light on some specifics.
-I am wondering if I can copy this to a new space (currently xwiki/bin/view/FileManager) and run multiple file libraries on the site, each with their own permissions (space based)? When I copy the FileManager space to a new space, I get the warning that I need to migrate to the new structure. Will this affect anything other than the specific space it is in?
-Also wondering if I can add a metadata field somehow? One of the things I liked about using a file library in SP is the ability to list additional fields (ie. notes about why the file is important, contents, etc...) in the grid. Is this easy to do?
Paul Pinkerton
ACLCO/ KnowledgeNow
Hi,
I want to embed a teasered version of the blog into a page on my XWiki as it
is done on
https://www.xwiki.org/xwiki/bin/view/Main/News
On my page a used the same include as on xwiki.org but the blog entries are
not displayed. Just get the "xe.blog.code.notblog" message. I used the
default blog application (nothing special). Is any special
handling/configuration required to get the teasered inline blog?
{{velocity}}
{{include document="Blog.BlogSheet"/}}
{{/velocity}}
Thanks for your help.
Canny
--
View this message in context: http://xwiki.475771.n2.nabble.com/Inline-blog-with-teaser-in-a-page-tp76024…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi list,
Vincent Massol has asked for code review after official docker image
annoncement and though I am no Docker expert, I have found a few leads to
reduce image size and might have some suggestions to improve it.
With 3 little changes I have gained about 500 MB, but I still have to make
sure everything still works.
- 200 of those MB where gained by a commonly used trick : adding
"--no-install-recommends" option to apt-get.
Some packages that are commonly installed with libreoffice might have been
skipped and I still have to determine if it's OK or not.
- The other 300 MB are safe. Most of it comes from "RUN chown -R
tomcat8:tomcat8 /var/lib/tomcat8" being moved inside the same layer as the
curl xwiki.war && unzip.
docker images
REPOSITORY TAG IMAGE
ID CREATED SIZE
xwiki-mysql-tomcat after
b05844c94dd0 7 seconds ago 1.157 GB
xwiki-mysql-tomcat before
174d549368d5 2 hours ago 1.689 GB
As soon as I have checked this works, I'll do a pull request.
In the meantime, code is online on
https://github.com/zwindler/docker-xwiki-1/tree/clear_apt
Regards
Denis GERMAIN
Hi All,
On an infrequently maintained xwiki instance (.deb on Ubuntu), which
was running 8.4.1, the default editor is WYSIWYG
In Administration | Edit Mode Settings | DEFAULT EDITOR, the dropdown
box contains Wysiwyg and Text, and does NOT contain CKEditor
If a page in the wiki is selected, the edit icon has the options in
the dropdown for WYSIWYG, CKEditor, Wiki & Inline form, then below it,
Objects and Class. If CKEditor is selected, the edit window is not
shown.
I tried an update to 8.4.4, and there is no change in Administration |
Edit Mode Settings | DEFAULT EDITOR, but when a page is edited, it now
shows in the place where I would expect to see the edit window the
below
Content
#ckeditor($parameters)
I'm lost as to where to look next, and would welcome some guidance.
Cheers
Arne
Hello,
with velocity I have a hashmap: sort of variable with (key:value) that I want to sort, then I use:
#set ($myHashMap = $collectionstool.getSortedMap(String, String))
$myHashMap.put('Mykey3','My value 3')
http://platform.xwiki.org/xwiki/bin/view/ScriptingDocumentation/?url=http:%…
It's working well ... except with uppercase because I want a sort with insensitive case.
I tried to decrypt Javadoc and I found I could use: String.CASE_INSENSITIVE_ORDER
#set ($myHashMap = $collectionstool.getSortedMap(String.CASE_INSENSITIVE_ORDER, String))
#set ($myHashMap = $collectionstool.getSortedMap(String::compareToIgnoreCase, String)) with java8
but unfortunaly it doesn't work (I have xwiki error)
Any idea to sort my hashmap with with insensitive case?
(Unfortunaly the better way I found is an ugly way: I mix velocity with a piece of groovy but I'm not satisfied at all because I use velocity loop and other if.)
Thxs for any help.
Pascal B
Hey,
thank you very much :) This helped a lot! Now the raw content is not shown.
Unfortunately I have another problem now: The text inside {{html}} tags (and so on) seems not to be indexed.
Best regards,
Patrick
Hello,
I have a problem with pdf export extensions. I want to export multiple sites in a defined space which is no problem at all.
But it starts getting serious when I want to include links.
The &includelinks=1 for example works fine but it only includes the direct links to the website.
I need a possibility to change the links to the website to pdf intern links.
Can you see a way how this could work?
That means that I want to export for example a front page with links to other pages and export them as well and have an internal link to the pages below the front page in the pdf file .
Thank you in advance.
Kind regards
Timo Dachs-Wegmann
-IT-
--------------------------------------
I am attempting to follow the guidance at
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorialManual
The idea of this page is to walk one through the creation of a new data
type. However the page is out of date. For example on the
xwiki/bin/view/XWiki/XWikiClasses page, things are not the same as the
tutorial image in the "Create a new data type" section. The tutorial says
one could fill out the space and class fields with "FAQ" but the 8.4.3 xwiki
does not offer a space field. The most recent comment made in Nov 2016
states
This example no longer works correctly in 8.4. However, it will if...
After you create the WebHome (FAQs) page.
Delete the FAQClass object from WebHome
For a new xwiki user this kind of stuff is confusing. I am hesitant to
proceed because I don't know what the missing "space" field implies and am
not sure if I'll get tripped up by the FAQClass issue. I already ran the
"Apps within Minutes" FAQ tutorial, so I'm concerned that I'll have a
namespace collision with this new FAQ application unless I know what the
space issue implies.
--
View this message in context: http://xwiki.475771.n2.nabble.com/The-FAQ-Tutorial-Manual-is-somewhat-out-o…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am looking to use xwiki as a communication tool for my volunteer leadership team for a campaign for the Leukemia and Lymphoma Society. I am the LLS Man and Woman of the Year Campaign Manager.
Owner name: Luis Gomez
Wiki name: mwoyorlando
Thank you,
Luis Gomez
Man & Woman of the Year Campaign Manager, Orlando
Leukemia and Lymphoma Society
407-965-6575
NOTICE: This message, including all attachments transmitted with it, is for the use of the addressee only. It may contain proprietary, confidential and/or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient, you must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message. If you believe you have received this message in error, please delete it and all copies of it from your system and notify the sender immediately by reply email. Thank you.
I'm not sure if this is the correct venue for reporting an issue with a
"recommended" extension? After installing Task Manager 2.4.1, when I visit
the Task Manager page it shows an empty task list. Fine, but there is also
an error reported.
Failed to execute the [velocity] macro. Cause: [The data types text and
nvarchar are incompatible in the equal to operator.].
The error message ends with these:
Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception
while hibernate execute
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1333)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1394)
at
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:165)
... 163 more
Caused by: org.hibernate.exception.SQLGrammarException: could not execute
query
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.loader.Loader.doList(Loader.java:2545)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
at org.hibernate.loader.Loader.list(Loader.java:2271)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:459)
at
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:365)
at
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1268)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
at
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor$1.doInHibernate(HqlQueryExecutor.java:174)
at
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor$1.doInHibernate(HqlQueryExecutor.java:166)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1327)
... 165 more
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The data types
text and nvarchar are incompatible in the equal to operator.
at
com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:217)
at
com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1655)
at
com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:440)
at
com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:385)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7505)
at
com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2444)
at
com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:191)
at
com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:166)
at
com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:297)
at
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
at
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
at
org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1953)
at org.hibernate.loader.Loader.doQuery(Loader.java:802)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
at org.hibernate.loader.Loader.doList(Loader.java:2542)
... 175 more
--
View this message in context: http://xwiki.475771.n2.nabble.com/Install-Task-Manager-Application-2-4-1-ve…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hey,
I have googled for quite some time but wasn't able to find an answer to my question.
Is it possible to exclude the "raw content" from the solr search? I don't want it to be indexed and I don't want it to be shown as result. At the moment every "{{html}}" (and so on) can be found via search.
I am using XWiki 7.1.1.
Best regards,
Patrick Enste
Hi,
Is it possible to have multiple xForms on one page when the objects to be edited are not on the same page.
We have a object of class "child" and a object of Class "parent"; each object is stored on it's own page.
But users would like to be able to modify the object of class "header" while they are editing the object of class
In my headerClass sheet I have...
{{velocity}}
## You can modify this page to customize the presentation of your object.
## At first you should keep the default presentation and just save the document.
#if(!$headerDoc)
#set($headerDoc = $xwiki.getDocument("Sandbox.testHeader"))
#end
#set($classHeader = $headerDoc.getObject('Sandbox.classHeader').xWikiClass)
#foreach($prop in $classHeader.properties)
; $prop.prettyName
: $headerDoc.display($prop.getName())
#end
{{/velocity}}
In my childClass sheet I have:
{{velocity}}
#set($headerDoc = $xwiki.getDocument("Sandbox.testHeader") )
{{display reference="$headerDoc"/}}
## You can modify this page to customize the presentation of your object.
## At first you should keep the default presentation and just save the document.
#set($class = $doc.getObject('Sandbox.classChild').xWikiClass)
#foreach($prop in $class.properties)
; $prop.prettyName
: $doc.display($prop.getName())
#end
{{/velocity}}
When I create or edit the page holding the childClass object I do get the impression I can Edit the header object, but when I save only the properties of the child object are saved?
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
I have the openoffice server configured to import from word docs and it does
quite well. However a direct copy/past from word still loses the images
while keeping much of the formatting. This is just how it is, correct? To
preserve Word formatting and embedded images, the import process must be
used? Or is there a workaround? It's not a show stopper just want to know if
I'm missing anything. Possibly a later version of Word would work better,
I've tried using 2003 and 2010.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Copy-Paste-from-Word-loses-images-tp76023…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Howdy again,
I just upgraded to 8.4.4 via the Ubuntu packages, and the Navigation Panel has no content whatsoever! It’s blank except for the title. Is there a quick or obvious fix for this?
Thanks,
Craig
Hi All,
I am exporting old xwiki workspace to new version 8.2.1 xwiki instance. While import I need to select form available pages in .XAR file. I went through the xwiki documents which says that we should only import the content written by user.
Can anyone help me to know the way I can differentiate the contents? If I import any content created by main xwiki instance then this information may override on newer version same content.
Thanks & Regards
Piyush
Hi All,
I exported older xwiki contents and imported them back into newer xwiki 8.2.1.
I can see that few pages are breaking asking below issue:
org.xwiki.rendering.macro.MacroExecutionException: The execution of the [velocity] script macro is not allowed. Check the rights of its last author or the parameters if it's rendered from another script.
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:178)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
Can anyone tell me that how to enable rights for macro?
Thanks & Regards,
Piyush
_____________________________________________
From: Kumar, Piyush
Sent: Friday, January 13, 2017 4:45 PM
To: 'users(a)xwiki.org'
Subject: Help needed to distinguish xwiki contents created by user
Hi All,
I am exporting old xwiki workspace to new version 8.2.1 xwiki instance. While import I need to select form available pages in .XAR file. I went through the xwiki documents which says that we should only import the content written by user.
Can anyone help me to know the way I can differentiate the contents? If I import any content created by main xwiki instance then this information may override on newer version same content.
Thanks & Regards
Piyush
Hi, I have changed the font using LESS-CODE. I want to know maybe this
LESS-Code is under renovation or what because, I have change the font (small
the font for heading 2), Under this preview, when i select the doc, the font
is changed. But in main xwiki, i mean main page. no changes for this font
for heading 2.
I have try and error so many times, cut and paste again the code but still
the same(the font is not changed). You can see the picture below:
<http://xwiki.475771.n2.nabble.com/file/n7602322/heading2.png> As you see
here, the font for heading 2 which is 1.1 System Developing is changed.
<http://xwiki.475771.n2.nabble.com/file/n7602322/mainPage-heading2_is_not_ch…>
(the font for heading 2 is not change)
--
View this message in context: http://xwiki.475771.n2.nabble.com/Editing-font-using-LESS-Code-tp7602322.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
In developing an in house app using XWiki I am having difficulty getting a page to display with more than one object.
Currently using XWiki Enterprise 7.4.4.
For testing purposes I have 2 classes: SetupHY32 and SetupUniqueValues.
I create a new page located in Sandbox called ObjGroupTest.
Selecting Object Editor I add the 2 classes and fill in data in each property for each class.
When I save and view, only the first object is displayed. When I go back to edit the objects, all the data is there.
The fully qualified name for each object is Sandbox.SetupHY32.Code.SetupHY32Class (1) and Sandbox.SetupUniqueValues.Code.SetupUniqueValuesClass (1).
According to XWiki data model page each page can have multiple objects.
So the ultimate question is, how can more than one object be displayed on a page?
Thanks,
Steve
Hi All,
In our existing Xwiki application for each Xwiki a workspace is getting created. WE are now migrating to the new version 8.2.1 and wanted to export whole workspace of a created xwiki and reimport it to newer version.
While import it displays below directories to select files to import:
AnnotationCode
AppWithinMinutes
Bolg
ColorThemes
Dashboard
Extensions
Faq
Invitation
Main
News
Panels
Sandbox
Scheduler
Stats
Xwiki
I am selecting all the directory and importing it but the pages are not coming proper.
Please suggest if in above directories I should unselect some of them which may override on the newer xwiki 8.2.1 instance.
Please suggest if some other reason could be the problem.
Thanks & Regards,
Piyush
Hello, fellow XWiki community members,
Since XWiki will be participating at this year's FOSDEM (www.fosdem.org)
open source meeting in Brussels and since we never did spend some time to
think about XWiki sticker that would help promote our community, we invite
everybody to chip in with *ideas on how XWiki stickers should look like*.
We would like to focus on *thumb-sized* (vertical/badge; horizontal with
text) stickers in a couple of formats:
1) X logo + "xwiki.org" under (standard XWiki sticker)
2) Horizontal message/quote + "xwiki.org" under it (get creative on the
messages)
3) FOSDEM or other open source event flavored sticker (we have one idea,
others are welcomed)
4) Anything text/graphic XWiki-related (or about open source, wikis, etc.),
within the size restrictions, for the more talented/creative ones out there
:)
Other inspiration and resources:
http://www.unixstickers.com/stickershttp://design.xwiki.org/xwiki/bin/view/Standards/ColorsLogohttps://www.xwiki.org/xwiki/bin/view/Main/Mediahttps://www.xwiki.org/xwiki/bin/view/Main/Logo
Please use this wiki page to share your ideas or designs (or even reply to
this mail, but the wiki page would be nicer :) ):
http://design.xwiki.org/xwiki/bin/view/Proposal/XWikiStickers
The deadline is *end of Wednesday, 11th January, 2016*. You can continue
contributing after this date as well, since ideas are always welcomed, but
they will probably be printed for future events.
It`s a short notice, but FOSDEM is close and we can do more brainstorming
rounds in the future as well.
XWiki SAS is going to handle the printing of the logos around the end of
this week or next week.
We will come back with the results and you can come to FOSDEM at XWiki's
booth to talk to us and grab some stickers to enjoy and share yourself ;)
The plan is to eventually create a stickers page on xwiki.org where
everybody can download and print XWiki stickers themselves. It should
include both generally approved XWiki stickers but also community made ones.
Looking forward to your ideas,
Thanks,
Eduard
Hi guys, I am so confused in this editing matters.
I am editing the font in LESS-Code, but when I save it is not appear in the
main xwiki page.
Some of user ask me to clear the cache browser and I had done it but when i
change /edit the code back, seems no changes and I had to clear the cache
again.
My question is, how many times I need to do so (oftenly clear the cache) and
run the xwiki.
Is there any solution for this? Please advise
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-with-editing-page-tp7602349.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I know xwiki can import various kinds of data one at a time per
http://platform.xwiki.org/xwiki/bin/view/Features/Imports. Here is my more
complex scenario.
We have been adding text files, or doc files, to a windows file system set
of folders. The normal pattern has been something like this:
*-dir root*
--*dir acronis backup*
---*dir 20150101 install on server01*
----text file somename.txt
---*dir 20150520 update to version x.x*
----text file re.txt
----image screenshot01.png
--*dir backblaze*
---*dir 20140105 install and configure*
----txt file re.txt
etc
So, there are topic areas at the highest level (acronis, backblaze) and
normally under them folders named for the date (20150101) with a title
(install on server01). Inside the folder is a mix of text files, word
documents, and images.
I would use the top level folder as a category or topic area inside xwiki.
I would use the date as a data point on the wiki entry, to make sure I can
sort by date of occurrance.
The text or word files are often named re.txt. Sometimes they have a more
distinctive name, but mostly the file name is not a viable name for a wiki
entry. The second part of the folder name would be better for that.
So, no one needs to parse all the details of our existing folder/file hive.
I realize there is no way that any wiki system can simply import and
translate that into something that would be presentable inside the wiki. I
expect to write some code (non-php, I'd probably use vb) that traverses the
hive that we have, and writes elements of what it finds into an xml file or
something else that can otherwise be pulled into xwiki. the text and doc
files would be converted into pages and the images...I'm not familiar enough
with xwiki to know if it'd be best to leave those files in place on the disk
and simply references them in the related wiki entry, or better to move them
into the wiki system somehow.
I could even write the wiki entries directly into the database. xwiki has an
api, possibly that would be useful for this purpose?
Probably an issue that has been encountered many times in the past. I'd
appreciate any tips and or pointers to articles about this.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Importing-a-file-system-based-set-of-fold…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi guys, I am facing a problem in xwiki editing font. I dont know why.
Once i change the font/color/link color in a theme. once preview it saved.
But when I open on main page, main title and want to view it again seems it
have a problem. All the changes i made in editing theme, success but when
viewed it again in main page, not success. It appear the old one not the
changes one.
Maybe problem with xwiki?? WHy this happen..please help me
--
View this message in context: http://xwiki.475771.n2.nabble.com/Anyone-face-the-same-problem-like-me-tp76…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I want to ask, i am importing a page using split document.
I want to know how to xexport it for overall page. i try to export but it
only download the certain page not the whole page/topic..
Can anyone advise how?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Export-page-in-split-document-tp7602244.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Greetings,
I am trying to install XWiki 8.4.3 in Tomcat 9.0.0.M15.
The instructions at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL say :
mysql -u root -e "grant all privileges on *.* to xwiki@localhost identified by 'xwiki'"
This was failing for me with a message about password complexity until I said, in mysql, "uninstall plugin validate_password;"
Apologies if this has already been raised here; I don't see a way to search the archives yet.
Thanks
Doug
The information contained in this transmission may contain West Marine proprietary, confidential and/or privileged
information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are
hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited.
If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original
message. To reply to our email administrator directly, please send an email to netadmin(a)westmarine.com.
Greetings,
Another one of these. A Java stacktrace looking very very much like the one reported Aug 10 2016 by Tom Neumann on the Forum, http://dev.xwiki.org/xwiki/bin/view/Community/Forum
However, his error was at line 233 of hibernate.cfg.xml, whereas mine is at line 244:
Caused by: org.xml.sax.SAXParseException; lineNumber: 244; columnNumber: 21; The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)".
The thing is, the file is only 245 lines long. I don't see the error. I have commented out the hsqldb section at line 90. I have uncommented the MySQL section by moving the closing comment from line 138 to line 124.
Can anyone see what I've done wrong? Many thanks-
#cat hibernate.cfg.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN"
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<!-- Please refer to the installation guide on
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for configuring your
database. You'll need to do 2 things:
1) Copy your database driver JAR in WEB-INF/lib or in some shared lib directory
2) Uncomment the properties below for your specific DB (and comment the default
database configuration if it doesn't match your DB)
-->
<!-- Generic parameters common to all Databases -->
<property name="show_sql">false</property>
<property name="use_outer_join">true</property>
<!-- Without it, some queries fail in MS SQL. XWiki doesn't need scrollable result sets, anyway. -->
<property name="jdbc.use_scrollable_resultset">false</property>
<!-- DBCP Connection Pooling configuration. Only some properties are shown. All available properties can be found
at http://commons.apache.org/proper/commons-dbcp/configuration.html
-->
<property name="dbcp.defaultAutoCommit">false</property>
<property name="dbcp.maxTotal">50</property>
<property name="dbcp.maxIdle">5</property>
<property name="dbcp.maxWaitMillis">30000</property>
<property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<!-- Setting "dbcp.poolPreparedStatements" to true and "dbcp.maxOpenPreparedStatements" will tell DBCP to cache
Prepared Statements (it's off by default). Note that for backward compatibility the "dbcp.ps.maxActive" is also
supported and when set it'll set "dbcp.poolPreparedStatements" to true and "dbcp.maxOpenPreparedStatements" to
value of "dbcp.ps.maxActive".
Note 1: When using HSQLDB for example, it's important to NOT cache prepared statements because HSQLDB
Prepared Statements (PS) contain the schema on which they were initially created and thus when switching
schema if the same PS is reused it'll execute on the wrong schema! Since HSQLDB does internally cache
prepared statement there's no performance loss by not caching Prepared Statements at the DBCP level.
See http://jira.xwiki.org/browse/XWIKI-1740.
Thus we recommend not turning on this configuration for HSQLDB unless you know what you're doing :)
Note 2: The same applies to PostGreSQL.
-->
<!-- BoneCP Connection Pooling configuration.
<property name="bonecp.idleMaxAgeInMinutes">240</property>
<property name="bonecp.idleConnectionTestPeriodInMinutes">60</property>
<property name="bonecp.partitionCount">3</property>
<property name="bonecp.acquireIncrement">10</property>
<property name="bonecp.maxConnectionsPerPartition">60</property>
<property name="bonecp.minConnectionsPerPartition">20</property>
<property name="bonecp.statementsCacheSize">50</property>
<property name="bonecp.releaseHelperThreads">3</property>
<property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
-->
<!-- Configuration for the default database.
Comment out this section and uncomment other sections below if you want to use another database.
Note that the database tables will be created automatically if they don't already exist.
If you want the main wiki database to be different than "xwiki" (or the default schema for schema based engines)
you will also have to set the property xwiki.db in xwiki.cfg file
-->
<!-- Commented out by DKL, 1/3/2017
<property name="connection.url">jdbc:hsqldb:file:${environment.permanentDirectory}/database/xwiki_db;shutdown=true</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="dialect">org.hibernate.dialect.HSQLDialect</property>
<property name="hibernate.connection.charSet">UTF-8</property>
<property name="hibernate.connection.useUnicode">true</property>
<property name="hibernate.connection.characterEncoding">utf8</property>
<property name="connection.url">jdbc:mysql://localhost/xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
<property name="hibernate.connection.charSet">UTF-8</property>
<property name="hibernate.connection.useUnicode">true</property>
<property name="hibernate.connection.characterEncoding">utf8</property>
-->
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
<mapping resource="instance.hbm.xml"/>
<mapping resource="mailsender.hbm.xml"/>
<!-- MySQL configuration.
Uncomment if you want to use MySQL and comment out other database configurations.
Notes:
- if you want the main wiki database to be different than "xwiki"
you will also have to set the property xwiki.db in xwiki.cfg file
-->
<property name="connection.url">jdbc:mysql://localhost/xwiki?useSSL=false</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
<property name="dbcp.poolPreparedStatements">true</property>
<property name="dbcp.maxOpenPreparedStatements">20</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
<mapping resource="instance.hbm.xml"/>
<mapping resource="mailsender.hbm.xml"/>
<!-- HSQLDB configuration.
Uncomment if you want to use HSQLDB and comment out other database configurations.
Notes:
- if you want the main wiki schema to be different than "PUBLIC" (the default HSQLDB schema)
you will also have to set the property xwiki.db in xwiki.cfg file
<property name="connection.url">jdbc:hsqldb:file:${environment.permanentDirectory}/database/xwiki_db;shutdown=true</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="dialect">org.hibernate.dialect.HSQLDialect</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
<mapping resource="instance.hbm.xml"/>
<mapping resource="mailsender.hbm.xml"/>
-->
<!-- PostgreSQL configuration.
Uncomment if you want to use PostgreSQL and comment out other database configurations.
Notes:
- "jdbc.use_streams_for_binary" needs to be set to "false",
see https://community.jboss.org/wiki/HibernateCoreMigrationGuide36
- "xwiki.virtual_mode" can be set to either "schema" or "database". Note that currently the database mode
doesn't support database creation (see http://jira.xwiki.org/browse/XWIKI-8753)
- if you want the main wiki database to be different than "xwiki" (or "public" in schema mode)
you will also have to set the property xwiki.db in xwiki.cfg file
<property name="connection.url">jdbc:postgresql:xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property name="connection.driver_class">org.postgresql.Driver</property>
<property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property name="jdbc.use_streams_for_binary">false</property>
<property name="xwiki.virtual_mode">schema</property>
<mapping resource="xwiki.postgresql.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
<mapping resource="instance.hbm.xml"/>
<mapping resource="mailsender.hbm.xml"/>
-->
<!-- Oracle configuration.
Uncomment if you want to use Oracle and comment out other database configurations.
Notes:
- the 2 properties named "connection.SetBigStringTryClob" and
"jdbc.batch_size" are required to tell Oracle to allow CLOBs larger than 32K.
- "jdbc.use_streams_for_binary" needs to be set to "false",
see https://community.jboss.org/wiki/HibernateCoreMigrationGuide36
- if you want the main wiki schema to be different than "xwiki"
you will also have to set the property xwiki.db in xwiki.cfg file
<property name="connection.url">jdbc:oracle:thin:@localhost:1521:XE</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
<property name="connection.SetBigStringTryClob">true</property>
<property name="jdbc.batch_size">0</property>
<property name="jdbc.use_streams_for_binary">false</property>
<property name="dbcp.poolPreparedStatements">true</property>
<property name="dbcp.maxOpenPreparedStatements">20</property>
<mapping resource="xwiki.oracle.hbm.xml"/>
<mapping resource="feeds.oracle.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
<mapping resource="instance.hbm.xml"/>
<mapping resource="mailsender.oracle.hbm.xml"/>
-->
<!-- Derby configuration.
Uncomment if you want to use Derby and comment out other database configurations.
Notes:
- if you want the main wiki schema to be different than "APP" (the default Derby schema)
you will also have to set the property xwiki.db in xwiki.cfg file
<property name="connection.url">jdbc:derby:/some/path/xwikidb;create=true</property>
<property name="connection.driver_class">org.apache.derby.jdbc.EmbeddedDriver</property>
<property name="dialect">org.hibernate.dialect.DerbyDialect</property>
<property name="dbcp.poolPreparedStatements">true</property>
<property name="dbcp.maxOpenPreparedStatements">20</property>
<mapping resource="xwiki.derby.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
<mapping resource="instance.hbm.xml"/>
<mapping resource="mailsender.hbm.xml"/>
-->
<!-- H2 configuration.
Uncomment if you want to use H2 and comment out other database configurations.
Notes:
- if you want the main wiki schema to be different than "PUBLIC" (the default H2 schema)
you will also have to set the property xwiki.db in xwiki.cfg file
<property name="connection.url">jdbc:h2:${environment.permanentDirectory}/database/xwiki</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property name="connection.driver_class">org.h2.Driver</property>
<property name="dialect">org.hibernate.dialect.H2Dialect</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
<mapping resource="instance.hbm.xml"/>
<mapping resource="mailsender.hbm.xml"/>
-->
</session-factory>
</hibernate-configuration>
The information contained in this transmission may contain West Marine proprietary, confidential and/or privileged
information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are
hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited.
If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original
message. To reply to our email administrator directly, please send an email to netadmin(a)westmarine.com.
Hi All,
I am importing .XAR file which has exported from my older xwiki version. I am importing it to Xwiki 8.2.1 and it is breaking for >XAR size more than specified limit.
Please help.
Thanks & Regards,
Piyush
Dear devs,
over the past few months we have moved over to using xwiki as a replacement for your old sharepoint and mediawiki servers. Meanwhile we have accumulated a list of problems and questions we are unable to solve. Some of which open JIRA bugs might already exist.
In my opinion this mailinglist is not suitable for this many questions (needs attachments, screenshots). How may we proceed? Should we create a jira entry for every issue?
An extract of some problems (now running 8.4.3):
- PDF Export: The pdf misses some elements of the page, for example display of info/warn/error marcros (see your sandbox page info and warning macro examples) and other stuff. Layout has big issues (images cut off, Tables cut off)
- Multipage PDF Export: Pdf export collection extension is broken, MultipagePdfExport Space Export extension too.
- No image lightbox by default, unclear how to implement it in the wysiwyg editor
- Document tree is really cumbersome for normal users (we use currently use some velocity to show children), new children macro insufficient (shows translations and attachment)
- DocumentTree Macro "finder" does not work correctly (finds only some pages?)
As for just "questions", should be ask each one of them in an separate mail here on the list?
Thank you very much,
Mario