Re: [xwiki-users] Can the User, Developer and Administration guides be downloaded and installed on a local XWiki installation?

2013-03-20 Thread mrswadge
Thanks for the response, but this assumes that we always upgrade to the
latest version of XWiki. I am not planning on upgrading regularly, so I
don't want to see documentation advance ahead of my current installation
version of XWiki. I therefore am hoping to 'freeze' the documentation by
taking a copy of it in its current form locally. I hope this helps to
explain my reasoning.

Thanks,
Stuart



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Can-the-User-Developer-and-Administration-guides-be-downloaded-and-installed-on-a-local-XWiki-instal-tp7584369p7584383.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] GlassFish + MySQL + Xwiki

2013-03-20 Thread Hirji.patel
Hi,
** Not sure if i'm posting this in correct place, as this is my 1st post. **
I have installed GlassFish v 3.1.2.2 + MySQL 5.6 +
Xwiki-enterprise-web-5.0.war

Not sure if I’m using the correct Java container and DB...
I will be using Xwiki with large DB.

Have i choose the correct Container and DB? what do you recommend I should
use.
I don’t have any coding experience at all.

Many Thanks,
H




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/GlassFish-MySQL-Xwiki-tp7584387.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] GlassFish + MySQL + Xwiki

2013-03-20 Thread Eugen Colesnicov
Recommendations about DB  Container depend on Your scenario of XWiki using
... For example, if you will have many and large attachments - need to
switch XWiki to file-system attachments storage or to use another database
(not MySQL) - this is my opinion.

My experience with big attachments - from the begging I have Windows +
Glassfish + Oracle (attachments stored in DB), after I migrated for Linux +
MySQL + Tomcat, but with file-system attachments storage - and right now I
prefer this variant - more speed and lightness ...

But, in any case, Your selection is not bad variant for production using
(for example comparative to other java servlets). Also you should
understand, that XWiki - it is not a BIG-BIG system, for example, likes MS
SharePoint. Same results  more speed you can get with more simple hardware
 software...

--
Best regards
Eugen Colesnicov 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/GlassFish-MySQL-Xwiki-tp7584387p7584388.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can the User, Developer and Administration guides be downloaded and installed on a local XWiki installation?

2013-03-20 Thread mrswadge
Thanks for the reply Jeremie, but my question still stands. Regardless of
continuous improvements to documentation, it would be useful to have a
frozen in time version of the documentation to compliment my current
deployed version. I can then be confident that my documentation is correct
for my version of XWiki.

I'm sensing that this is not currently possible or is not going to be
supported. It's a shame as it is important to be able to see the relevant
documentation for the deployment that users are currently making use of
without needing to go to an external site. Besides, it is possible that
documentation with advances and changes could be confuse as they may contain
irrelevant information from newer XWiki versions that would need to be
sifted through in order to find the actual relevant piece of information.

I should imagine that this is easily possible through a XAR archive.
Couldn't this be an optional download from the XWiki site?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Can-the-User-Developer-and-Administration-guides-be-downloaded-and-installed-on-a-local-XWiki-instal-tp7584369p7584390.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] GlassFish + MySQL + Xwiki

2013-03-20 Thread Paul Libbrecht
Hirji,

Running MySQL is good enough I feel.
Using Jetty makes it very easy to start just xwiki because of the packaging.
Otherwise, using other servlet containers should work.
Many have been using tomcat.
We, at curriki, employ the Sun Java Application Server, which is a version 
earlier than Glassfish, and it is serving very well.
My experience was however that exploding the war is necessary in almost all 
cases (and Glassfish supports this) so as to configure things.

paul


On 20 mars 2013, at 14:12, Hirji.patel wrote:

 Hi,
 ** Not sure if i'm posting this in correct place, as this is my 1st post. **
 I have installed GlassFish v 3.1.2.2 + MySQL 5.6 +
 Xwiki-enterprise-web-5.0.war
 
 Not sure if I’m using the correct Java container and DB...
 I will be using Xwiki with large DB.
 
 Have i choose the correct Container and DB? what do you recommend I should
 use.
 I don’t have any coding experience at all.
 
 Many Thanks,
 H
 
 
 
 
 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/GlassFish-MySQL-Xwiki-tp7584387.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 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] GlassFish + MySQL + Xwiki

2013-03-20 Thread Hirji Patel
Thanks,

Which Servlet Container should I be using?

My DB will have large attachments and images.

Regards,
H

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
Of Eugen Colesnicov
Sent: 20 March 2013 13:46
To: users@xwiki.org
Subject: Re: [xwiki-users] GlassFish + MySQL + Xwiki

Recommendations about DB  Container depend on Your scenario of XWiki
using ... For example, if you will have many and large attachments -
need to switch XWiki to file-system attachments storage or to use
another database (not MySQL) - this is my opinion.

My experience with big attachments - from the begging I have Windows +
Glassfish + Oracle (attachments stored in DB), after I migrated for
Linux + MySQL + Tomcat, but with file-system attachments storage - and
right now I prefer this variant - more speed and lightness ...

But, in any case, Your selection is not bad variant for production using
(for example comparative to other java servlets). Also you should
understand, that XWiki - it is not a BIG-BIG system, for example, likes
MS SharePoint. Same results  more speed you can get with more simple
hardware  software...

--
Best regards
Eugen Colesnicov 



--
View this message in context:
http://xwiki.475771.n2.nabble.com/GlassFish-MySQL-Xwiki-tp7584387p758438
8.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. For more information on a proactive anti-virus
service working around the clock, around the globe, visit:
http://www.star.net.uk



This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

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


Re: [xwiki-users] GlassFish + MySQL + Xwiki

2013-03-20 Thread Jeremie BOUSQUET
You didn't tell us if this wiki will be in production (ie, available to
many users, requiring to be up most of the time, with proper backup of
data, etc...) or if it's only a test wiki for you, for example.
If it's only for tests, the standalone wiki with jetty + hsqldb is good
enough, for production jetty is not recommended by xwiki I believe.
I can only give you a personal feedback : I have a wiki (in production)
with Tomcat 6 + MySql 5.1, with db attachments. The wiki has around 15000
pages now, and 1,6Go of attachments content in db (including all versions
of course). I plan to move to filesystem attachments, because during the
course and upgrades (this wiki started several years ago with version 0.9),
some attachments got corrupted for any reason, and it might be easier to
avoid/detect/repair with filesystem based attachments than db.
Apart from that, it works pretty well.

I don't think servlet container will have a big impact on the way big
attachments are managed, apart from possible limitations specific to each
container if they exist. The link I provided gives you what is supported by
xwiki, and with what it has been tested, but we can't decide for you what
container or rdbms to choose in the end :-)

BR,
Jeremie


2013/3/20 Hirji Patel hirji.pa...@akt-uk.com

 Thanks,

 Which Servlet Container should I be using?

 My DB will have large attachments and images.

 Regards,
 H

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
 Of Eugen Colesnicov
 Sent: 20 March 2013 13:46
 To: users@xwiki.org
 Subject: Re: [xwiki-users] GlassFish + MySQL + Xwiki

 Recommendations about DB  Container depend on Your scenario of XWiki
 using ... For example, if you will have many and large attachments -
 need to switch XWiki to file-system attachments storage or to use
 another database (not MySQL) - this is my opinion.

 My experience with big attachments - from the begging I have Windows +
 Glassfish + Oracle (attachments stored in DB), after I migrated for
 Linux + MySQL + Tomcat, but with file-system attachments storage - and
 right now I prefer this variant - more speed and lightness ...

 But, in any case, Your selection is not bad variant for production using
 (for example comparative to other java servlets). Also you should
 understand, that XWiki - it is not a BIG-BIG system, for example, likes
 MS SharePoint. Same results  more speed you can get with more simple
 hardware  software...

 --
 Best regards
 Eugen Colesnicov



 --
 View this message in context:
 http://xwiki.475771.n2.nabble.com/GlassFish-MySQL-Xwiki-tp7584387p758438
 8.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 
 This e-mail has been scanned for all viruses by Star. The service is
 powered by MessageLabs. For more information on a proactive anti-virus
 service working around the clock, around the globe, visit:
 http://www.star.net.uk
 

 
 This e-mail has been scanned for all viruses by Star. The
 service is powered by MessageLabs. For more information on a proactive
 anti-virus service working around the clock, around the globe, visit:
 http://www.star.net.uk
 
 ___
 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] GlassFish + MySQL + Xwiki

2013-03-20 Thread Sorin Burjan
Hi,

At the moment the safest way to go is Tomcat + MySQL. If you go with
Tomcat, make sure you set it to use UTF8 encoding, since the default
configuration of Tomcat is not UTF8.
The  standalone jetty+hsqldb is not good in production/large wikis because
it uses an in memory hsqldb database, meaning that all your database is
loaded at startup into your RAM memory.

Regards,
Sorin B.


On Wed, Mar 20, 2013 at 6:17 PM, Jeremie BOUSQUET 
jeremie.bousq...@gmail.com wrote:

 You didn't tell us if this wiki will be in production (ie, available to
 many users, requiring to be up most of the time, with proper backup of
 data, etc...) or if it's only a test wiki for you, for example.
 If it's only for tests, the standalone wiki with jetty + hsqldb is good
 enough, for production jetty is not recommended by xwiki I believe.
 I can only give you a personal feedback : I have a wiki (in production)
 with Tomcat 6 + MySql 5.1, with db attachments. The wiki has around 15000
 pages now, and 1,6Go of attachments content in db (including all versions
 of course). I plan to move to filesystem attachments, because during the
 course and upgrades (this wiki started several years ago with version 0.9),
 some attachments got corrupted for any reason, and it might be easier to
 avoid/detect/repair with filesystem based attachments than db.
 Apart from that, it works pretty well.

 I don't think servlet container will have a big impact on the way big
 attachments are managed, apart from possible limitations specific to each
 container if they exist. The link I provided gives you what is supported by
 xwiki, and with what it has been tested, but we can't decide for you what
 container or rdbms to choose in the end :-)

 BR,
 Jeremie


 2013/3/20 Hirji Patel hirji.pa...@akt-uk.com

  Thanks,
 
  Which Servlet Container should I be using?
 
  My DB will have large attachments and images.
 
  Regards,
  H
 
  -Original Message-
  From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
  Of Eugen Colesnicov
  Sent: 20 March 2013 13:46
  To: users@xwiki.org
  Subject: Re: [xwiki-users] GlassFish + MySQL + Xwiki
 
  Recommendations about DB  Container depend on Your scenario of XWiki
  using ... For example, if you will have many and large attachments -
  need to switch XWiki to file-system attachments storage or to use
  another database (not MySQL) - this is my opinion.
 
  My experience with big attachments - from the begging I have Windows +
  Glassfish + Oracle (attachments stored in DB), after I migrated for
  Linux + MySQL + Tomcat, but with file-system attachments storage - and
  right now I prefer this variant - more speed and lightness ...
 
  But, in any case, Your selection is not bad variant for production using
  (for example comparative to other java servlets). Also you should
  understand, that XWiki - it is not a BIG-BIG system, for example, likes
  MS SharePoint. Same results  more speed you can get with more simple
  hardware  software...
 
  --
  Best regards
  Eugen Colesnicov
 
 
 
  --
  View this message in context:
  http://xwiki.475771.n2.nabble.com/GlassFish-MySQL-Xwiki-tp7584387p758438
  8.html
  Sent from the XWiki- Users mailing list archive at Nabble.com.
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
  
  This e-mail has been scanned for all viruses by Star. The service is
  powered by MessageLabs. For more information on a proactive anti-virus
  service working around the clock, around the globe, visit:
  http://www.star.net.uk
  
 
  
  This e-mail has been scanned for all viruses by Star. The
  service is powered by MessageLabs. For more information on a proactive
  anti-virus service working around the clock, around the globe, visit:
  http://www.star.net.uk
  
  ___
  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] GlassFish + MySQL + Xwiki

2013-03-20 Thread Hirji Patel
Thank you for helping me out here.

Xwiki will be in production with large files.

15000 Pages... that's a lot of pages... ours will be much less then
that.
So Tomcat sounds good, but dot sure what you mean by filesystem
attachments? How does that work or can that be done at later stage with
Tomcat + MySQL?

Regards,
Hirji


-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
Of Sorin Burjan
Sent: 20 March 2013 16:23
To: XWiki Users
Subject: Re: [xwiki-users] GlassFish + MySQL + Xwiki

Hi,

At the moment the safest way to go is Tomcat + MySQL. If you go with
Tomcat, make sure you set it to use UTF8 encoding, since the default
configuration of Tomcat is not UTF8.
The  standalone jetty+hsqldb is not good in production/large wikis
because it uses an in memory hsqldb database, meaning that all your
database is loaded at startup into your RAM memory.

Regards,
Sorin B.


On Wed, Mar 20, 2013 at 6:17 PM, Jeremie BOUSQUET 
jeremie.bousq...@gmail.com wrote:

 You didn't tell us if this wiki will be in production (ie, available 
 to many users, requiring to be up most of the time, with proper backup

 of data, etc...) or if it's only a test wiki for you, for example.
 If it's only for tests, the standalone wiki with jetty + hsqldb is 
 good enough, for production jetty is not recommended by xwiki I
believe.
 I can only give you a personal feedback : I have a wiki (in 
 production) with Tomcat 6 + MySql 5.1, with db attachments. The wiki 
 has around 15000 pages now, and 1,6Go of attachments content in db 
 (including all versions of course). I plan to move to filesystem 
 attachments, because during the course and upgrades (this wiki started

 several years ago with version 0.9), some attachments got corrupted 
 for any reason, and it might be easier to avoid/detect/repair with
filesystem based attachments than db.
 Apart from that, it works pretty well.

 I don't think servlet container will have a big impact on the way big 
 attachments are managed, apart from possible limitations specific to 
 each container if they exist. The link I provided gives you what is 
 supported by xwiki, and with what it has been tested, but we can't 
 decide for you what container or rdbms to choose in the end :-)

 BR,
 Jeremie


 2013/3/20 Hirji Patel hirji.pa...@akt-uk.com

  Thanks,
 
  Which Servlet Container should I be using?
 
  My DB will have large attachments and images.
 
  Regards,
  H
 
  -Original Message-
  From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
  Behalf Of Eugen Colesnicov
  Sent: 20 March 2013 13:46
  To: users@xwiki.org
  Subject: Re: [xwiki-users] GlassFish + MySQL + Xwiki
 
  Recommendations about DB  Container depend on Your scenario of 
  XWiki using ... For example, if you will have many and large 
  attachments - need to switch XWiki to file-system attachments 
  storage or to use another database (not MySQL) - this is my
opinion.
 
  My experience with big attachments - from the begging I have Windows

  + Glassfish + Oracle (attachments stored in DB), after I migrated 
  for Linux + MySQL + Tomcat, but with file-system attachments storage

  - and right now I prefer this variant - more speed and lightness
...
 
  But, in any case, Your selection is not bad variant for production 
  using (for example comparative to other java servlets). Also you 
  should understand, that XWiki - it is not a BIG-BIG system, for 
  example, likes MS SharePoint. Same results  more speed you can get 
  with more simple hardware  software...
 
  --
  Best regards
  Eugen Colesnicov
 
 
 
  --
  View this message in context:
  http://xwiki.475771.n2.nabble.com/GlassFish-MySQL-Xwiki-tp7584387p75
  8438
  8.html
  Sent from the XWiki- Users mailing list archive at Nabble.com.
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
  
   This e-mail has been scanned for all viruses by Star. The 
  service is powered by MessageLabs. For more information on a 
  proactive anti-virus service working around the clock, around the 
  globe, visit:
  http://www.star.net.uk
  
  
 
  
   This e-mail has been scanned for all viruses by Star. The 
  service is powered by MessageLabs. For more information on a 
  proactive anti-virus service working around the clock, around the
globe, visit:
  http://www.star.net.uk
  
   ___
  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] GlassFish + MySQL + Xwiki

2013-03-20 Thread Hirji Patel
Hi,

Just installed Tomcat + Xwiki using link below, but it does not tell me
to install MySQL? Its telling me to install Nginx, should I be doing
this?

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat#H
InstallationSteps

This is what I have done so far...

Windows 2008 server.
Created folder in c:\Tomcat_Home (copied files from Zip)
Created folder Xwiki C:\Tomcat_Home\webapps\xwiki (copied files from War
file)

What's Next.. to get my xwiki going?
Install Mysql?

Regards,
Hirji

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
Of Hirji Patel
Sent: 20 March 2013 16:39
To: XWiki Users
Subject: Re: [xwiki-users] GlassFish + MySQL + Xwiki

Thank you for helping me out here.

Xwiki will be in production with large files.

15000 Pages... that's a lot of pages... ours will be much less then
that.
So Tomcat sounds good, but dot sure what you mean by filesystem
attachments? How does that work or can that be done at later stage with
Tomcat + MySQL?

Regards,
Hirji


-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
Of Sorin Burjan
Sent: 20 March 2013 16:23
To: XWiki Users
Subject: Re: [xwiki-users] GlassFish + MySQL + Xwiki

Hi,

At the moment the safest way to go is Tomcat + MySQL. If you go with
Tomcat, make sure you set it to use UTF8 encoding, since the default
configuration of Tomcat is not UTF8.
The  standalone jetty+hsqldb is not good in production/large wikis
because it uses an in memory hsqldb database, meaning that all your
database is loaded at startup into your RAM memory.

Regards,
Sorin B.


On Wed, Mar 20, 2013 at 6:17 PM, Jeremie BOUSQUET 
jeremie.bousq...@gmail.com wrote:

 You didn't tell us if this wiki will be in production (ie, available 
 to many users, requiring to be up most of the time, with proper backup

 of data, etc...) or if it's only a test wiki for you, for example.
 If it's only for tests, the standalone wiki with jetty + hsqldb is 
 good enough, for production jetty is not recommended by xwiki I
believe.
 I can only give you a personal feedback : I have a wiki (in
 production) with Tomcat 6 + MySql 5.1, with db attachments. The wiki 
 has around 15000 pages now, and 1,6Go of attachments content in db 
 (including all versions of course). I plan to move to filesystem 
 attachments, because during the course and upgrades (this wiki started

 several years ago with version 0.9), some attachments got corrupted 
 for any reason, and it might be easier to avoid/detect/repair with
filesystem based attachments than db.
 Apart from that, it works pretty well.

 I don't think servlet container will have a big impact on the way big 
 attachments are managed, apart from possible limitations specific to 
 each container if they exist. The link I provided gives you what is 
 supported by xwiki, and with what it has been tested, but we can't 
 decide for you what container or rdbms to choose in the end :-)

 BR,
 Jeremie


 2013/3/20 Hirji Patel hirji.pa...@akt-uk.com

  Thanks,
 
  Which Servlet Container should I be using?
 
  My DB will have large attachments and images.
 
  Regards,
  H
 
  -Original Message-
  From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
  Behalf Of Eugen Colesnicov
  Sent: 20 March 2013 13:46
  To: users@xwiki.org
  Subject: Re: [xwiki-users] GlassFish + MySQL + Xwiki
 
  Recommendations about DB  Container depend on Your scenario of 
  XWiki using ... For example, if you will have many and large 
  attachments - need to switch XWiki to file-system attachments 
  storage or to use another database (not MySQL) - this is my
opinion.
 
  My experience with big attachments - from the begging I have Windows

  + Glassfish + Oracle (attachments stored in DB), after I migrated
  for Linux + MySQL + Tomcat, but with file-system attachments storage

  - and right now I prefer this variant - more speed and lightness
...
 
  But, in any case, Your selection is not bad variant for production 
  using (for example comparative to other java servlets). Also you 
  should understand, that XWiki - it is not a BIG-BIG system, for 
  example, likes MS SharePoint. Same results  more speed you can get 
  with more simple hardware  software...
 
  --
  Best regards
  Eugen Colesnicov
 
 
 
  --
  View this message in context:
  http://xwiki.475771.n2.nabble.com/GlassFish-MySQL-Xwiki-tp7584387p75
  8438
  8.html
  Sent from the XWiki- Users mailing list archive at Nabble.com.
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
  
   This e-mail has been scanned for all viruses by Star. The 
  service is powered by MessageLabs. For more information on a 
  proactive anti-virus service working around the clock, around the 
  globe, visit:
  http://www.star.net.uk
  

Re: [xwiki-users] GlassFish + MySQL + Xwiki

2013-03-20 Thread Thomas Mortagne
You should follow
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationWAR

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat
is just one step

On Wed, Mar 20, 2013 at 6:16 PM, Hirji Patel hirji.pa...@akt-uk.com wrote:
 Hi,

 Just installed Tomcat + Xwiki using link below, but it does not tell me
 to install MySQL? Its telling me to install Nginx, should I be doing
 this?

 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat#H
 InstallationSteps

 This is what I have done so far...

 Windows 2008 server.
 Created folder in c:\Tomcat_Home (copied files from Zip)
 Created folder Xwiki C:\Tomcat_Home\webapps\xwiki (copied files from War
 file)

 What's Next.. to get my xwiki going?
 Install Mysql?

 Regards,
 Hirji

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
 Of Hirji Patel
 Sent: 20 March 2013 16:39
 To: XWiki Users
 Subject: Re: [xwiki-users] GlassFish + MySQL + Xwiki

 Thank you for helping me out here.

 Xwiki will be in production with large files.

 15000 Pages... that's a lot of pages... ours will be much less then
 that.
 So Tomcat sounds good, but dot sure what you mean by filesystem
 attachments? How does that work or can that be done at later stage with
 Tomcat + MySQL?

 Regards,
 Hirji


 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
 Of Sorin Burjan
 Sent: 20 March 2013 16:23
 To: XWiki Users
 Subject: Re: [xwiki-users] GlassFish + MySQL + Xwiki

 Hi,

 At the moment the safest way to go is Tomcat + MySQL. If you go with
 Tomcat, make sure you set it to use UTF8 encoding, since the default
 configuration of Tomcat is not UTF8.
 The  standalone jetty+hsqldb is not good in production/large wikis
 because it uses an in memory hsqldb database, meaning that all your
 database is loaded at startup into your RAM memory.

 Regards,
 Sorin B.


 On Wed, Mar 20, 2013 at 6:17 PM, Jeremie BOUSQUET 
 jeremie.bousq...@gmail.com wrote:

 You didn't tell us if this wiki will be in production (ie, available
 to many users, requiring to be up most of the time, with proper backup

 of data, etc...) or if it's only a test wiki for you, for example.
 If it's only for tests, the standalone wiki with jetty + hsqldb is
 good enough, for production jetty is not recommended by xwiki I
 believe.
 I can only give you a personal feedback : I have a wiki (in
 production) with Tomcat 6 + MySql 5.1, with db attachments. The wiki
 has around 15000 pages now, and 1,6Go of attachments content in db
 (including all versions of course). I plan to move to filesystem
 attachments, because during the course and upgrades (this wiki started

 several years ago with version 0.9), some attachments got corrupted
 for any reason, and it might be easier to avoid/detect/repair with
 filesystem based attachments than db.
 Apart from that, it works pretty well.

 I don't think servlet container will have a big impact on the way big
 attachments are managed, apart from possible limitations specific to
 each container if they exist. The link I provided gives you what is
 supported by xwiki, and with what it has been tested, but we can't
 decide for you what container or rdbms to choose in the end :-)

 BR,
 Jeremie


 2013/3/20 Hirji Patel hirji.pa...@akt-uk.com

  Thanks,
 
  Which Servlet Container should I be using?
 
  My DB will have large attachments and images.
 
  Regards,
  H
 
  -Original Message-
  From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
  Behalf Of Eugen Colesnicov
  Sent: 20 March 2013 13:46
  To: users@xwiki.org
  Subject: Re: [xwiki-users] GlassFish + MySQL + Xwiki
 
  Recommendations about DB  Container depend on Your scenario of
  XWiki using ... For example, if you will have many and large
  attachments - need to switch XWiki to file-system attachments
  storage or to use another database (not MySQL) - this is my
 opinion.
 
  My experience with big attachments - from the begging I have Windows

  + Glassfish + Oracle (attachments stored in DB), after I migrated
  for Linux + MySQL + Tomcat, but with file-system attachments storage

  - and right now I prefer this variant - more speed and lightness
 ...
 
  But, in any case, Your selection is not bad variant for production
  using (for example comparative to other java servlets). Also you
  should understand, that XWiki - it is not a BIG-BIG system, for
  example, likes MS SharePoint. Same results  more speed you can get
  with more simple hardware  software...
 
  --
  Best regards
  Eugen Colesnicov
 
 
 
  --
  View this message in context:
  http://xwiki.475771.n2.nabble.com/GlassFish-MySQL-Xwiki-tp7584387p75
  8438
  8.html
  Sent from the XWiki- Users mailing list archive at Nabble.com.
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
  

Re: [xwiki-users] Recommendations on writing automated functional tests for xar extensions ?

2013-03-20 Thread Marius Dumitru Florea
Hi Jeremie,

We have started moving functional tests from xwiki-enterprise to
xwiki-platform so that they are grouped by functional domain. Thus
xwiki-enterprise-test-ui is not the best example. You should take a
look at the platform modules that have functional tests:

https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-administration
https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-faq
https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-index

to name a few. The packager maven plugin is taking care of importing
(installing) your XAR and (I believe) adding the required jar
dependencies to the WAR. You should follow this practice.

Hope this helps,
Marius

On Wed, Mar 20, 2013 at 1:07 PM, Jeremie BOUSQUET
jeremie.bousq...@gmail.com wrote:
 Hello,

 I would like to discuss a little on writing of Selenium2 tests, as
 described in test strategy [1], ie use Selenium 2 and apply Page Objects
 pattern.

 My particular use-case is that I'm on a mission : write some functional
 tests for my mail archive application.
 I also think these would be the best tests for my app, as it greatly relies
 on 2 external interfaces (xwiki for persistence/conf, javamail and mail
 accounts on another side). There are some good unit tests to write of
 course, but the main logic of the app has more meaning to be tested in
 real life, or close to that.

 To do that, I decided to try and plug myself in xwiki test framework, in
 order to avoid redeveloping everything (such as deploying / launching an
 xwiki instance from the tests).
 I added 2 modules in my project:
 - xwiki-contrib-mailarchive-test-pageobjects
 - xwiki-contrib-mailarchive-test-ui

 Both inherit from org.xwiki.enterprise:xwiki-enterprise-test pom, and are
 greatly inspired from poms of xwiki-enterprise-test-pageobjects and
 xwiki-enterprise-test-ui poms.
 It's unfinished and untested, but I believe I'll be able to have xwiki
 instance installed, launched, and tests run automatically.

 My main question, is how should I do in order to also deploy my app in this
 wiki instance prior to run the tests ?
 For now I have several possible solutions that come to my mind, but I don't
 know what would be the best... :
 A-
   - grab xwiki-standalone zip version x.y.z, unzip it, launch it
   - make EM install my application (call some REST API ? GET some page with
 proper parameters ?)
   - run the tests
 B-
   - grab xwiki-standalone zip version x.y.z, unzip it
   - patch it in some way with my application binaries, (ie, add things
 directly under permanent directory / extension / repository ?)
   - launch it and run the tests

 I personnally prefer A-, but it supposes also that the xwiki instance knows
 any of my dev maven repositories (either my local repository .m2, or my
 local instance of Nexus), so it would mean an additional step would be to
 patch the standalone wiki xwiki.properties to add my personal repo.
 Or maybe I can add such repo programmatically in the wiki instance from
 java by looking up and using the right component ?

 Maybe this point has already been solved by anyone, so if you have any
 samples it would be good enough. I did not search exhaustively, but I don't
 remember having seen such use-cases on existing extensions on github.
 Also, I think it might be interesting to extract from all this some kind of
 maven archetype for functional testing of UI extension ? So contributors
 could just call the archetype and get everything properly prepared, and
 just have to add page objects and tests for their app ...

 WDYT ?

 BR,
 Jeremie


 [1]
 http://dev.xwiki.org/xwiki/bin/view/Community/Testing#HSelenium2-basedFramework
 ___
 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] Rendering of a particular version of a document

2013-03-20 Thread Ricardo.Julio.Rodriguez.Fernandez
it worked! Great! Thank indeed! Please, read below...


From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius 
Dumitru Florea [mariusdumitru.flo...@xwiki.com]
Sent: 19 March 2013 08:23
To: XWiki Users
Subject: Re: [xwiki-users] Rendering of a particular version of a document

On Tue, Mar 19, 2013 at 1:20 AM,
ricardo.julio.rodriguez.fernan...@sergas.es wrote:
 Hi! Thanks! Please, see below...


From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius 
Dumitru Florea [mariusdumitru.flo...@xwiki.com]
Sent: 18 March 2013 09:40
To: XWiki Users
Subject: Re: [xwiki-users] Rendering of a particular version of a document

On Sat, Mar 16, 2013 at 4:58 PM,
ricardo.julio.rodriguez.fernan...@sergas.es wrote:
 Thanks, Marius! Please, read below...

 
 From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of 
 Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com]
 Sent: 15 March 2013 10:24
 To: XWiki Users
 Subject: Re: [xwiki-users] Rendering of a particular version of a document

 Fixed in 2.5RC1 by
 https://github.com/xwiki/xwiki-platform/commit/c08cca8cae375ea306b071fedbae3b1809261126
 . See http://jira.xwiki.org/browse/XWIKI-5575 .

 The viewattachrev action is needed for attachments of the context
 document because attachments are also versioned and when you view a
 revision of a document you want to view the version of the attached
 images from that revision.


 I get the point! Thank you very much for the explanation.


 Please, Marius, could it be possible to substitute the old 
 XWikiServletURLFactory.java class with the new one in xwiki-core-2.4.jar 
 and keep running XWiki Enterprise 2.4.30451?

You can try taking XWikiServletURLFactory.class from
xwiki-core-2.5.jar and put it in WEB-INF/classes where you have
deployed XWiki (under the same path as in the jar, i.e. the class
package) but it might not work properly because it may contain other
changes besides XWIKI-5575 which are not compatible with the
xwiki-core-2.4.jar.


 Understood.

Your best option is to patch the xwiki-core.2.4.jar. It's quite easy
if you're not afraid of Git and Maven:


 Well, I'm not afraid of these tools, but I'm not a maven myself! Some years 
 ago I was much closer than now to understand how XWiki development does work 
 :-) But I keep trying! Always with your help. Thanks!


Use this to checkout the code. Note that will will take a while,
depending on your bandwidth.

$ git clone git://github.com/xwiki/xwiki-platform.git
$ cd xwiki-platform
xwiki-platform$ git checkout xwiki-core-2.4
xwiki-platform$ git cherry-pick c08cca8cae375ea306b071fedbae3b1809261126
xwiki-platform$ cd xwiki-core
xwiki-platform/xwiki-core$ mvn clean install
xwiki-platform/xwiki-core$ mv target/xwiki-core-2.4.jar
target/xwiki-core-2.4-XWIKI-5575.jar


Having known CVS and Subversion, GitHub seems as the great evolution that will 
ease democratic contributions to software development projects, big and small 
ones. It seems simply great even though I will need some some time to fully 
understand it! Thanks for your help!

Make sure you use the same Java version as the one running your
application server.


 Ummm... I'm afraid my application server is the only one running java 
 version 1.5.0 over here! I'm looking for a suitable box. In the mean time, 
 I'm trying to understand how the team Git/Maven works!

Note that I tried to patch xwiki-core 2.4 myself, but I have Java 1.7,
and besides the version, it seems the build requires Sun/Oracle JDK
(there's a backward compatibility aspect that uses com.sun.* classes).
The build should pass on Sun/Oracle JDK 1.5 though.


I'm lost at this point. I've built xwiki-core-2.4.jar in a Mac OS X box 
running...

java -version
java version 1.6.0_43
Java(TM) SE Runtime Environment (build 1.6.0_43-b01-447-10M4203)
Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode)

And moved it to a different box running Suse Linux and...

peat:~ # java -version
java version 1.5.0
Java(TM) 2 Runtime Environment, Standard Edition (build pxi32devifx-20100511a 
(SR11 FP2 ))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223ifx-20100510 
(JIT enabled)
J9VM - 20100509_57823_lHdSMr
JIT  - 20091016_1845ifx7_r8
GC   - 20091026_AA)
JCL  - 20100511a
peat:~ #


And it seems it is working fine. Please, when must I expect problems when 
compiling with a newer Java release and moving back to an older one? Is there 
some compatibility table anywhere?

Thanks again for your great help!

Ricardo


 I'm following http://dev.xwiki.org/xwiki/bin/view/Community/Building, but it 
 is not clear to me how must I check out the code. I'm running Mac OS X 
 10.6.8, thus I've no option to run GitHub. So, please, where could I learn 
 how to use Git to checkout the code?

See above. It's a matter of 1 command line.


 I found this...