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