Re: [xwiki-users] a detail after upgrading to 7.0.1

2015-05-07 Thread Marius Dumitru Florea
On Wed, May 6, 2015 at 1:28 PM, [IDIS Technical Secretariat] Ricardo
Rodríguez ricardo.rodrig...@idisantiago.es wrote:
 Hi!


 I'm really enjoying the new upgrade wizard. It allows to me to concentrate
 in details that never catch my attention before :-)

I'm glad you like it.


 A minor detail that I would like to clarify. 7.0.1 XWiki Enterprise release
 notes reads Note that you should add xwiki.store.migration=1 so that XWiki
 will attempt to automatically migrate But this parameter and value
 (set to 1) are included in xwiki.cfg by default.

Yes, but if you read the comment before this configuration parameter
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-tools/xwiki-platform-tool-configuration-resources/src/main/resources/xwiki.cfg.vm#L159
you'll see:

Should be enabled when upgrading, but for a better startup time it is
better to disable them in production.



 Please, why don't remove this comment from the release notes?

Because there is a high chance that this parameter is set to 0 by
administrators that want to improve the statup time (e.g. when XWiki
restarts). The note from the release notes is a reminder that this
parameter should be set to 1 during the upgrade.

Thanks,
Marius


 Thanks!

 --
 Ricardo Rodríguez
 Research Management and Promotion Technician
 Technical Secretariat
 Health Research Institute of Santiago de Compostela (IDIS)
 http://www.idisantiago.es
 ___
 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] Fwd: null pointer exception in JspWikiImporter

2015-05-07 Thread Khjintcorp


Sent from my iPhone


 Hi Vincent
  
 I am trying to convert JSPwiki pages to Xwiki pages.For that I used the code 
 which is in the link
 http://extensions.xwiki.org/xwiki/bin/view/Extension/JSPWiki+To+XWiki+Conversion
  
 After I fixed all jar issues in classpath then  I ran the program, 
 JspWikiImporter  I got the null pointer exception.
  
 I saw  people posted the same messages in this group. I don’t see the answers 
 for this matter.  Do you have any update for  the issue?  
  
  
 java.lang.NullPointerException
at com.xpn.xwiki.web.Utils.getContextComponentManager(Utils.java:695)
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:752)
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:781)
at 
 com.xpn.xwiki.XWikiCompatibilityAspect.ajc$interFieldInit$com_xpn_xwiki_XWikiCompatibilityAspect$com_xpn_xwiki_XWiki$defaultReferenceEntityReferenceResolver(XWikiCompatibilityAspect.aj:87)
at com.xpn.xwiki.XWiki.init(XWiki.java:6450)
at com.xpn.xwiki.XWiki.init(XWiki.java:6441)
at JspWikiImporter.export(JspWikiImporter.java:72)
at JspWikiImporter.main(JspWikiImporter.java:62)
 Exception in thread main java.lang.RuntimeException: Export failed
at JspWikiImporter.export(JspWikiImporter.java:99)
at JspWikiImporter.main(JspWikiImporter.java:62)
 Caused by: java.lang.NullPointerException
at com.xpn.xwiki.web.Utils.getContextComponentManager(Utils.java:695)
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:752)
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:781)
at 
 com.xpn.xwiki.XWikiCompatibilityAspect.ajc$interFieldInit$com_xpn_xwiki_XWikiCompatibilityAspect$com_xpn_xwiki_XWiki$defaultReferenceEntityReferenceResolver(XWikiCompatibilityAspect.aj:87)
at com.xpn.xwiki.XWiki.init(XWiki.java:6450)
at com.xpn.xwiki.XWiki.init(XWiki.java:6441)
at JspWikiImporter.export(JspWikiImporter.java:72)
... 1 more
  
 Thanks
  
  
 Ken Liang
 Contractor
 Unisys
 Office: 571-468-2782
  
  
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Printing pages as displayed

2015-05-07 Thread Ecaterina Moraru (Valica)
On Thu, May 7, 2015 at 1:46 PM, Mahomed Hussein maho...@custodiandc.com
wrote:

 Hi

 Can anyone help please with some information on how to modify/control the
 print layout please? Thanks.


Each skin has a print.css




 Kind regards,

 Mahomed




 -Original Message-
 From: users [mailto:users-boun...@xwiki.org] On Behalf Of Mahomed Hussein
 Sent: 05 May 2015 17:59
 To: XWiki Users
 Subject: Re: [xwiki-users] Printing pages as displayed

 Oh! I forgot to mention we are running 7.0.1 and a custom skin/theme based
 on the flamingo skin.


 Kind regards,

 Mahomed




 -Original Message-
 From: users [mailto:users-boun...@xwiki.org] On Behalf Of Mahomed Hussein
 Sent: 05 May 2015 17:53
 To: XWiki Users
 Subject: [xwiki-users] Printing pages as displayed

 Hi

 Is there a way of printing the pages as they are displayed? Ideally
 printing without the side panel, but with all the different
 colours/formatting as it appears on the screen would be ideal. At the
 moment all colours and formatting is stripped if you try to print directly
 from the page, using the print preview option or by exporting to PDF.

 I have tried an export to HTML and then using the local html file to see
 if that works but it seems that whatever script/css is forcing the print
 formatting still takes effect on the exported html. I have tried saving the
 page only directly but it still does the same thing. I have tried Chrome.
 Firefox and IE.

 I have also tried a google search and I have searched for print and
 printing on the FAQ but there are so many results it may take a few hours
 to go through them all. I suspect there’s a CSS file I need to modify
 somewhere (possibly print.css?) that will format the export with the header
 colours etc. If so, please could someone kindly point me at the correct
 documentation or provide any tips/hints?

 Thanks in advance.


 Kind regards,

 Mahomed






 ___
 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

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


Re: [xwiki-users] Printing pages as displayed

2015-05-07 Thread Mahomed Hussein
Great! Thanks. Good to know I was on the right path :)


Kind regards,

Mahomed




-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Ecaterina Moraru 
(Valica)
Sent: 07 May 2015 12:25
To: XWiki Users
Subject: Re: [xwiki-users] Printing pages as displayed

On Thu, May 7, 2015 at 1:46 PM, Mahomed Hussein maho...@custodiandc.com
wrote:

 Hi

 Can anyone help please with some information on how to modify/control the
 print layout please? Thanks.


Each skin has a print.css




 Kind regards,

 Mahomed




 -Original Message-
 From: users [mailto:users-boun...@xwiki.org] On Behalf Of Mahomed Hussein
 Sent: 05 May 2015 17:59
 To: XWiki Users
 Subject: Re: [xwiki-users] Printing pages as displayed

 Oh! I forgot to mention we are running 7.0.1 and a custom skin/theme based
 on the flamingo skin.


 Kind regards,

 Mahomed




 -Original Message-
 From: users [mailto:users-boun...@xwiki.org] On Behalf Of Mahomed Hussein
 Sent: 05 May 2015 17:53
 To: XWiki Users
 Subject: [xwiki-users] Printing pages as displayed

 Hi

 Is there a way of printing the pages as they are displayed? Ideally
 printing without the side panel, but with all the different
 colours/formatting as it appears on the screen would be ideal. At the
 moment all colours and formatting is stripped if you try to print directly
 from the page, using the print preview option or by exporting to PDF.

 I have tried an export to HTML and then using the local html file to see
 if that works but it seems that whatever script/css is forcing the print
 formatting still takes effect on the exported html. I have tried saving the
 page only directly but it still does the same thing. I have tried Chrome.
 Firefox and IE.

 I have also tried a google search and I have searched for print and
 printing on the FAQ but there are so many results it may take a few hours
 to go through them all. I suspect there’s a CSS file I need to modify
 somewhere (possibly print.css?) that will format the export with the header
 colours etc. If so, please could someone kindly point me at the correct
 documentation or provide any tips/hints?

 Thanks in advance.


 Kind regards,

 Mahomed






 ___
 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

___
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] Slow cache sync with JGroups / S3 in an EC2 cluster

2015-05-07 Thread Debajit Adhikary
We have deployed XWiki over a two-node EC2 cluster. We are using JGroups over 
S3 for cluster messaging as multicast does not work in EC2. 
I have noticed that if I edit a page on host A, and then refresh the same page 
from host B, it shows stale content — it takes up to a minute for the caches to 
sync.
Is this something others have observed when running XWiki over multiple hosts? 
(I'm wondering if this is a JGroups/S3 issue)For people who are running XWiki 
in a cluster, how long does it typically take for changes made from one machine 
to show up in another?Are there any recommendations on how to speed up 
cache-sync time between XWiki hosts on a cluster?
Also, in a cluster, is the default XWiki cache a distributed cache? Or is the 
same cache content replicated across all nodes in a cluster?

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


Re: [xwiki-users] Printing pages as displayed

2015-05-07 Thread Mahomed Hussein
Hi

Can anyone help please with some information on how to modify/control the print 
layout please? Thanks.


Kind regards,

Mahomed




-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 05 May 2015 17:59
To: XWiki Users
Subject: Re: [xwiki-users] Printing pages as displayed

Oh! I forgot to mention we are running 7.0.1 and a custom skin/theme based on 
the flamingo skin.


Kind regards,

Mahomed




-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 05 May 2015 17:53
To: XWiki Users
Subject: [xwiki-users] Printing pages as displayed

Hi

Is there a way of printing the pages as they are displayed? Ideally printing 
without the side panel, but with all the different colours/formatting as it 
appears on the screen would be ideal. At the moment all colours and formatting 
is stripped if you try to print directly from the page, using the print preview 
option or by exporting to PDF.

I have tried an export to HTML and then using the local html file to see if 
that works but it seems that whatever script/css is forcing the print 
formatting still takes effect on the exported html. I have tried saving the 
page only directly but it still does the same thing. I have tried Chrome. 
Firefox and IE.

I have also tried a google search and I have searched for print and printing on 
the FAQ but there are so many results it may take a few hours to go through 
them all. I suspect there’s a CSS file I need to modify somewhere (possibly 
print.css?) that will format the export with the header colours etc. If so, 
please could someone kindly point me at the correct documentation or provide 
any tips/hints?

Thanks in advance.


Kind regards,

Mahomed






___
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


Re: [xwiki-users] Printing pages as displayed

2015-05-07 Thread Ecaterina Moraru (Valica)
Except print.css another way of 'printing' XWiki pages would be to
customize the PDF export, but this step is more complicated (you need to do
modifications to pdf templates, XHTML2FO XSL and FOP XSL transformations,
etc.), see
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLook26Feel

Depends on what you need to do.
Have fun,
Caty

On Thu, May 7, 2015 at 2:57 PM, Mahomed Hussein maho...@custodiandc.com
wrote:

 Great! Thanks. Good to know I was on the right path :)


 Kind regards,

 Mahomed




 -Original Message-
 From: users [mailto:users-boun...@xwiki.org] On Behalf Of Ecaterina
 Moraru (Valica)
 Sent: 07 May 2015 12:25
 To: XWiki Users
 Subject: Re: [xwiki-users] Printing pages as displayed

 On Thu, May 7, 2015 at 1:46 PM, Mahomed Hussein maho...@custodiandc.com
 wrote:

  Hi
 
  Can anyone help please with some information on how to modify/control the
  print layout please? Thanks.
 

 Each skin has a print.css


 
 
  Kind regards,
 
  Mahomed
 
 
 
 
  -Original Message-
  From: users [mailto:users-boun...@xwiki.org] On Behalf Of Mahomed
 Hussein
  Sent: 05 May 2015 17:59
  To: XWiki Users
  Subject: Re: [xwiki-users] Printing pages as displayed
 
  Oh! I forgot to mention we are running 7.0.1 and a custom skin/theme
 based
  on the flamingo skin.
 
 
  Kind regards,
 
  Mahomed
 
 
 
 
  -Original Message-
  From: users [mailto:users-boun...@xwiki.org] On Behalf Of Mahomed
 Hussein
  Sent: 05 May 2015 17:53
  To: XWiki Users
  Subject: [xwiki-users] Printing pages as displayed
 
  Hi
 
  Is there a way of printing the pages as they are displayed? Ideally
  printing without the side panel, but with all the different
  colours/formatting as it appears on the screen would be ideal. At the
  moment all colours and formatting is stripped if you try to print
 directly
  from the page, using the print preview option or by exporting to PDF.
 
  I have tried an export to HTML and then using the local html file to see
  if that works but it seems that whatever script/css is forcing the print
  formatting still takes effect on the exported html. I have tried saving
 the
  page only directly but it still does the same thing. I have tried Chrome.
  Firefox and IE.
 
  I have also tried a google search and I have searched for print and
  printing on the FAQ but there are so many results it may take a few hours
  to go through them all. I suspect there’s a CSS file I need to modify
  somewhere (possibly print.css?) that will format the export with the
 header
  colours etc. If so, please could someone kindly point me at the correct
  documentation or provide any tips/hints?
 
  Thanks in advance.
 
 
  Kind regards,
 
  Mahomed
 
 
 
 
 
 
  ___
  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
 
 ___
 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