[xwiki-users] Admin rights after migration

2014-09-29 Thread Moens Patrick
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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Admin rights after migration

2014-09-29 Thread Moens Patrick
Hi Vincent,

I found the bug, or don't understand rights in new version of xwiki:)

If I give the programing rights to XWikiAllGroup even if I block Adminstration 
rights to the group, all users have admin rights.

I've uncheck programming rights and everything is ok, exept that users don't 
have results of scripts on pages.

Patrick
 

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of vinc...@massol.net
Sent: Monday, September 29, 2014 4:15 PM
To: XWiki Users
Subject: Re: [xwiki-users] Admin rights after migration

Hi Patrick,

I don’t know about your problem (no bug has been reported on this so it’s 
probably some rights configuration issue) but I would really advise to install 
XWiki 6.2 (or wait for 6.2.1 which should be out this week, possibly tomorrow).

Thanks
-Vincent

On 29 Sep 2014 at 15:52:38, Moens Patrick 
(patrick.mo...@curia.europa.eu(mailto:patrick.mo...@curia.europa.eu)) wrote:

 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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [XWIKI 6.1] error for deleted attachments

2014-09-16 Thread Moens Patrick
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 = '  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=1xpage=plainoutputSyntax=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
  tda 
href=$originalDocument.getAttachmentRevisionURL($originalAttachment.filename, 
$originalAttachment.version, rid=${datt.id}).replaceAll('', 
'amp;')$escapetool.xml($datt.filename)/a/td
  tda 
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}amp;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-headertr
  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
## 

Re: [xwiki-users] [XWIKI 6.1] error for deleted attachments

2014-09-16 Thread Moens Patrick
Thanks Thomas,

I'll look that because we have made some test with those JAVAOPTS parameters 
for massive import :

-Xms3072m
-Xmx3072m
-XX:MaxPermSize=256M

Seems not good :)


I'll try with those one  :




-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne
Sent: mardi 16 septembre 2014 9:43
To: XWiki Users
Subject: Re: [xwiki-users] [XWIKI 6.1] error for deleted attachments

The issue is  java.lang.OutOfMemoryError: Java heap space. Hard to say what 
exactly is the cause, you might want to look at 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HMemory.

On Tue, Sep 16, 2014 at 9:39 AM, Moens Patrick patrick.mo...@curia.europa.eu 
wrote:
 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 = '  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=1xpage=plainoutputSyntax=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.trashAttachments
 Empty'){{/info}}

   #else
   #macro(displayDeletedAttachment $id)
 #set($datt = $xwiki.getDeletedAttachment($id))
 #set($originalAttachment = $datt.getAttachment())
 #set($originalDocument = $xwiki.getDocument($datt.docName))
 tr
   tda 
 href=$originalDocument.getAttachmentRevisionURL($originalAttachment.filename,
  $originalAttachment.version, rid=${datt.id}).replaceAll('', 
 'amp;')$escapetool.xml($datt.filename)/a/td
   tda 
 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}amp;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-headertr
   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

Re: [xwiki-users] [XWIKI 6.1] error for deleted attachments

2014-09-16 Thread Moens Patrick
Thanks Thomas,

I'll look that because we have made some test with those JAVAOPTS parameters 
for massive import :


-Xms3072m
-Xmx3072m
-XX:MaxPermSize=256M

Seems not good , I f you have any idea to optimize memory  tuning for Xwiki 6.1 
on solaris (tomcat oracle) with around 100-150 concurent users


I'll try with those one  :
-d64
-Xms1536m
-Xmx1536m
-XX:MaxPermSize=200M
-XX:+UseConcMarkSweepGC
-Dfile.encoding=utf-8
-Dxwiki.data.dir=/opt/curia/wikidgt/data/
-Doracle.net.tns_admin=${TNS_ADMIN}



-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne
Sent: mardi 16 septembre 2014 9:43
To: XWiki Users
Subject: Re: [xwiki-users] [XWIKI 6.1] error for deleted attachments

The issue is  java.lang.OutOfMemoryError: Java heap space. Hard to say what 
exactly is the cause, you might want to look at 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HMemory.

On Tue, Sep 16, 2014 at 9:39 AM, Moens Patrick patrick.mo...@curia.europa.eu 
wrote:
 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 = '  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=1xpage=plainoutputSyntax=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.trashAttachments
 Empty'){{/info}}

   #else
   #macro(displayDeletedAttachment $id)
 #set($datt = $xwiki.getDeletedAttachment($id))
 #set($originalAttachment = $datt.getAttachment())
 #set($originalDocument = $xwiki.getDocument($datt.docName))
 tr
   tda 
 href=$originalDocument.getAttachmentRevisionURL($originalAttachment.filename,
  $originalAttachment.version, rid=${datt.id}).replaceAll('', 
 'amp;')$escapetool.xml($datt.filename)/a/td
   tda 
 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}amp;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-headertr
   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

Re: [xwiki-users] [XWIKI 6.1] error for deleted attachments

2014-09-16 Thread Moens Patrick
Between 50-70 mo

But its before trying to deleted them. It's when I open the deleted attachments 
page.

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne
Sent: mardi 16 septembre 2014 10:11
To: XWiki Users
Subject: Re: [xwiki-users] [XWIKI 6.1] error for deleted attachments

Well the one you tries should me enough for most use case.

How big is the attachment you are trying to delete ? Your issue might be 
related to http://jira.xwiki.org/browse/XWIKI-8910.

On Tue, Sep 16, 2014 at 9:59 AM, Moens Patrick patrick.mo...@curia.europa.eu 
wrote:
 Thanks Thomas,

 I'll look that because we have made some test with those JAVAOPTS parameters 
 for massive import :


 -Xms3072m
 -Xmx3072m
 -XX:MaxPermSize=256M

 Seems not good , I f you have any idea to optimize memory  tuning for 
 Xwiki 6.1 on solaris (tomcat oracle) with around 100-150 concurent 
 users


 I'll try with those one  :
 -d64
 -Xms1536m
 -Xmx1536m
 -XX:MaxPermSize=200M
 -XX:+UseConcMarkSweepGC
 -Dfile.encoding=utf-8
 -Dxwiki.data.dir=/opt/curia/wikidgt/data/
 -Doracle.net.tns_admin=${TNS_ADMIN}



 -Original Message-
 From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas 
 Mortagne
 Sent: mardi 16 septembre 2014 9:43
 To: XWiki Users
 Subject: Re: [xwiki-users] [XWIKI 6.1] error for deleted attachments

 The issue is  java.lang.OutOfMemoryError: Java heap space. Hard to say what 
 exactly is the cause, you might want to look at 
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HMemory.

 On Tue, Sep 16, 2014 at 9:39 AM, Moens Patrick 
 patrick.mo...@curia.europa.eu wrote:
 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 = '  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=1xpage=plainoutputSyntax=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.trashAttachment
 s
 Empty'){{/info}}

   #else
   #macro(displayDeletedAttachment $id)
 #set($datt = $xwiki.getDeletedAttachment($id))
 #set($originalAttachment = $datt.getAttachment())
 #set($originalDocument = $xwiki.getDocument($datt.docName))
 tr
   tda 
 href=$originalDocument.getAttachmentRevisionURL($originalAttachment.filename,
  $originalAttachment.version, rid=${datt.id}).replaceAll('', 
 'amp;')$escapetool.xml($datt.filename)/a/td
   tda 
 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}amp;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

[xwiki-users] How to delete imported xar

2014-08-13 Thread Moens Patrick
Hello,

I've imported some xar with data (each +- 60mo), but sometimes I got a error 
during import (error in my xar or xar too huge ). When I tried to delete this 
xar, it's seems working but when I refresh go back to the Administration/Import 
page, the file come back in the list. I tried 2 times again and still the same.

It's a fresh install of  Xwiki 6.1 on Tomcat and Oracle db.


Thanks for help

Patrick

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to delete imported xar

2014-08-13 Thread Moens Patrick
I tried with this : 

http://intranet/xwiki/bin/delattachment/XWiki/XWikiPreferences/file1.xar

but I got a java exception, out of memory , except for small files.

Someone knows how to script it ?

Thanks

Patrick

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Moens Patrick
Sent: mercredi 13 août 2014 6:34
To: XWiki Users
Subject: [xwiki-users] How to delete imported xar

Hello,

I've imported some xar with data (each +- 60mo), but sometimes I got a error 
during import (error in my xar or xar too huge ). When I tried to delete this 
xar, it's seems working but when I refresh go back to the Administration/Import 
page, the file come back in the list. I tried 2 times again and still the same.

It's a fresh install of  Xwiki 6.1 on Tomcat and Oracle db.


Thanks for help

Patrick

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki User/Dev meet up in France? Paris?

2014-07-21 Thread Moens Patrick
Hi Vincent, 

I'm interested (as Xwiki user/admin). Keep me in touch if it's organized. 

Patrick 


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of vinc...@massol.net
Sent: vendredi 18 juillet 2014 9:38
To: XWiki Users
Subject: [xwiki-users] XWiki User/Dev meet up in France? Paris?

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


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] small bug after migration from xwiki 3.4

2014-07-17 Thread Moens Patrick
Hello all,



After migration 3.4  6.1, i got just a small bug, in the menu Home , the  
wiki index  label doesn't appear but I got platform.wiki.menu.wikiindex

In the wiki index module, same, all label are plateform.wiki.browse, 
plateform.wiki.browse.wikiprettyname,  plateform.wiki.browse.decription,



Do you know how I can correct this?





BR



Patrick


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] help to migrate from xwiki 2.3

2014-07-17 Thread Moens Patrick
Hello all,

I finally got new environment to migrate our 'old'  Xwiki 2.3 to 6.1 (oracle 
11, tomcat 7,...).

Fresh install is good

When I migrate the db from 2.3 to 6.1, everything seems ok but not when I 
import the default xar 6.1. After import, every users have rights to see admin 
menu (in home)  and have access :/
(users don't have admin rights of course)

Any idea how I can fix this?

Do I have to migrate to intermediate version before the 6.1?


Patrick



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] openoffice configuration

2014-06-10 Thread Moens Patrick
Any ideas?

Nobody have 2 xwiki on the same tomcat and using openoffice converters?

BR

Patrick


From: Moens Patrick
Sent: jeudi 5 juin 2014 9:50
To: users@xwiki.org
Subject: openoffice configuration


Hello,



I'm preparing a migration of 3 xwiki, actually installed on 2 servers. ( xwiki 
version 2.4, 5.4  3.4)



The new environment is a server with 3 tomcat 7 and 3 Oracle DBs.



The question is , do I need to install 3 OpenOffice on the server ?, because 
when I tried to deploy the second war (1st installation is ok) , I got a 
permgen space exception. Openoffce is configured on the same port (default 
8100) on both installation.



BR



Patrick
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] openoffice configuration

2014-06-10 Thread Moens Patrick
Hello Guillaume,

Thanks for reply.

The strategic choice was to have 1 Tomcat by Xwiki, so I can't join them now. I 
have to install 1 xwiki by tomcat. 
Here is my JVM options :

-d64
-Xms1536m
-Xmx1536m
-XX:MaxPermSize=1024M
-XX:+UseConcMarkSweepGC
-Dfile.encoding=utf-8
-Dxwiki.data.dir=/opt/c/xwiki1/data/


We're on Solaris, and the office is Staroffice8

So  , we have to install last version of OpenOffice, but as I have to keep the 
3 Tomcat, do I need to install 3 Openoffice?

Patrick



-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Guillaume Fenollar
Sent: mardi 10 juin 2014 2:39
To: XWiki Users
Subject: Re: [xwiki-users] openoffice configuration

Hello,

It would be a very good idea to join all of them in a single Tomcat/XWiki 
instance. I guess upgrading them first to the same version and join them right 
after should work nicely.

About OpenOffice, you maybe will have a problem of versions, doing that, 
because old versions (3.x are not compatible with LibreOffice, I think recent 
version work well only with OpenOffice.) You may try to install an OpenOffice 
3.6 on the new env (the version which is most likely to work with old XWikis) 
and have the same configuration everywhere. You'll need to use a servertype=1 
and start openoffice with a command line (the same you can see with ps command) 
by yourself.

I don't think PermGen is related to all of that. Check your JVM options.
-XX:MaxPermSize has to be set to at least 192M, for every tomcat instance.

You're on Linux, right?

Guillaume


2014-06-10 12:00 GMT+02:00 Moens Patrick patrick.mo...@curia.europa.eu:

 Any ideas?

 Nobody have 2 xwiki on the same tomcat and using openoffice converters?

 BR

 Patrick


 From: Moens Patrick
 Sent: jeudi 5 juin 2014 9:50
 To: users@xwiki.org
 Subject: openoffice configuration


 Hello,



 I'm preparing a migration of 3 xwiki, actually installed on 2 servers. 
 ( xwiki version 2.4, 5.4  3.4)



 The new environment is a server with 3 tomcat 7 and 3 Oracle DBs.



 The question is , do I need to install 3 OpenOffice on the server ?, 
 because when I tried to deploy the second war (1st installation is ok) 
 , I got a permgen space exception. Openoffce is configured on the same 
 port (default 8100) on both installation.



 BR



 Patrick
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] openoffice configuration

2014-06-05 Thread Moens Patrick
Hello,



I'm preparing a migration of 3 xwiki, actually installed on 2 servers. ( xwiki 
version 2.4, 5.4  3.4)



The new environment is a server with 3 tomcat 7 and 3 Oracle DBs.



The question is , do I need to install 3 OpenOffice on the server ?, because 
when I tried to deploy the second war (1st installation is ok) , I got a 
permgen space exception. Openoffce is configured on the same port (default 
8100) on both installation.



BR



Patrick
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users