Re: [xwiki-users] XWiki Does Not Handle Attachments Efficiently

2008-06-10 Thread goldring, richard
Yes storing attachments directly in the file system and referencing them
would be good.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of AW
Sent: 09 June 2008 21:15
To: XWiki Users
Subject: [xwiki-users] XWiki Does Not Handle Attachments Efficiently


Is there anything I can do to make XWiki 1.4 handle large attachments? That
is, attachments from a few megabytes up to a few dozen megabytes.

XWiki does not appear to efficiently handle attachments in general; large
attachments appear to require extraordinary measures and resources.

In testing prior to a deployment I attempted to attach a 56 MB file to an
instance running on a server with 2GB of RAM and using MySQL as the
database.

To attach the file:

1. I first had to set the MySQL max_allowed_packet value in /etc/my.cnf to a
larger value, since by default it's only 1MB and XWiki stores attachments
directly in the database, rather than saving them in the file system and
referencing the attachment's path.

2. Next I needed change the maximum attachment size in XWiki, which can be
done by edit[ing] the XWiki.XWikiPreferences class and add[ing] a
NumberProperty field of type long, named upload_maxsize which I finally
figured out I could accomplish by visiting a page similar to
http://my.server/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object;
...although this wasn't immediately obvious.

3. At this point attempting to attach the file resulted in a JDBC error,
which I resolved by manually changing some columns in the database from type
mediumblob to longblob.

4. Attempting to attach the file still didn't work, this time due to Java
heap space limitations. I increased the size of the heap, modifying the
JAVA_OPTS with -Xmx512m -Xms512m (setting the initial and maximum heap sizes
to 512MB, up from 256). This had no effect on the error, so I increased the
size to 1 GB, but the error persisted. At 1.2 GB I was able to attach the
file.

Next I attempted to delete the attachment along with the page to which it is
attached. My naïve assumption was that deleting an attachment should be
easier than adding one and I didn't anticipate problems. Unfortunately, this
again resulted in out of memory errors. To work around the problem I tried
deleting the attachment by clicking the delete button in the show --
attachments screen. This still resulted in an out of memory error, so I
upped the heap size to 1.6 GB, or 80% of the RAM in the server. This
resulted in very heavy swapping, yet still failed due to an out of memory
exception. (On the positive side, at least the swapping helped keep the
processor utilization under 100%.)

I've ordered another 2GB of RAM and will try increasing the heap size again
after it's installed. Until then, is there anything I can do to keep
attachments from eating the server alive? If I recall correctly, there has
been talk about saving attachments externally, rather than within the
database. Has anyone built a mechanism to allow this, or is there any news
to report on that front?

Also, does anyone have any advice on how I can excise this page and its 56MB
attachment from the system prior to more memory arriving? (I'd like to do so
as, aside from the attachment problems and dysfunctional WYSIWYG editor, the
system looks deployable.)

As it stands, unless I'm doing something incorrectly, I have to conclude
that it's basically impractical to use attachments larger than a few
megabytes with XWiki, and even small attachments are frightfully ungainly.

- AW


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

Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent.  Attachments to this e-mail
may contain software viruses which could damage your system.  We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Problems to create groups

2008-06-10 Thread Anders Andersson
Hello!
 
I have installed xwiki on an Oracle Application Server and Oracle 10g Database.
 
I have problems when I create new groups. I don't get an error in the 
webbrowser, everything works as normal except that my groups doesn't show up. 
After I typed the new group name and pressed OK, I return to the list of groups 
but still only got the XWikiAllGroup.
 
In the log I get this (it is a longer message but I don't want to make a long 
posting):
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: 
[com.xpn.xwiki.doc.XWikiDocument#1287555159]
at 
org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
at 
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:145)
 
I get the new group in the database (taken from XWIKIOBJECTS; however I don't 
know the map of the schema you use, so I might be looking on the wrong place):
XWO_ID XWO_NUMBER XWO_NAME XWO_CLASSNAME
1300917321 0 XWiki.NewGroup XWiki.TagClass
 
Does anyone have a clue what the solution to the problem is? Btw I can create 
users...
 
Thanks alot
 
Anders Andersson
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems to create groups

2008-06-10 Thread Jean-Vincent Drean
On Tue, Jun 10, 2008 at 9:41 AM, Anders Andersson
[EMAIL PROTECTED] wrote:
 Hello!

 I have installed xwiki on an Oracle Application Server and Oracle 10g 
 Database.

 I have problems when I create new groups. I don't get an error in the 
 webbrowser, everything works as normal except that my groups doesn't show up. 
 After I typed the new group name and pressed OK, I return to the list of 
 groups but still only got the XWikiAllGroup.

 In the log I get this (it is a longer message but I don't want to make a long 
 posting):
 org.hibernate.ObjectNotFoundException: No row with the given identifier 
 exists: [com.xpn.xwiki.doc.XWikiDocument#1287555159]
at 
 org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
at 
 org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:145)

 I get the new group in the database (taken from XWIKIOBJECTS; however I don't 
 know the map of the schema you use, so I might be looking on the wrong place):
 XWO_ID XWO_NUMBER XWO_NAME XWO_CLASSNAME
 1300917321 0 XWiki.NewGroup XWiki.TagClass

 Does anyone have a clue what the solution to the problem is? Btw I can create 
 users...

I'm currently using XE 1.4.1 on jboss 4.2.2 with Oracle 10g and I'm
able to create groups. Which version of XW do you use ? Is it a fresh
install ?

-- 
Jean-Vincent Drean
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems to create groups

2008-06-10 Thread Anders Andersson
I am using XW 1.4
The application server is version 10.1.3.3.0
 
The install is quiet fresh and has no data yet except of what XWiki creates 
itself...
 
-- 
Anders Andersson
 
(on the default startpage it says
Creator: on 2008/06/10 09:27
Copyright 2004-2007 (c) XPertNet and Contributing Authors
1.4.9828
so I read the version number as 1.4 revision 9829, hope it is right)

 Jean-Vincent Drean [EMAIL PROTECTED] 06/10/08 10:10 
On Tue, Jun 10, 2008 at 9:41 AM, Anders Andersson
[EMAIL PROTECTED] wrote:
 Hello!

 I have installed xwiki on an Oracle Application Server and Oracle 10g 
 Database.

 I have problems when I create new groups. I don't get an error in the 
 webbrowser, everything works as normal except that my groups doesn't show up. 
 After I typed the new group name and pressed OK, I return to the list of 
 groups but still only got the XWikiAllGroup.

 In the log I get this (it is a longer message but I don't want to make a long 
 posting):
 org.hibernate.ObjectNotFoundException: No row with the given identifier 
 exists: [com.xpn.xwiki.doc.XWikiDocument#1287555159]
at 
 org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
at 
 org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:145)

 I get the new group in the database (taken from XWIKIOBJECTS; however I don't 
 know the map of the schema you use, so I might be looking on the wrong place):
 XWO_ID XWO_NUMBER XWO_NAME XWO_CLASSNAME
 1300917321 0 XWiki.NewGroup XWiki.TagClass

 Does anyone have a clue what the solution to the problem is? Btw I can create 
 users...

I'm currently using XE 1.4.1 on jboss 4.2.2 with Oracle 10g and I'm
able to create groups. Which version of XW do you use ? Is it a fresh
install ?

-- 
Jean-Vincent Drean
___
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] Problems to create groups

2008-06-10 Thread Jean-Vincent Drean
Ok, just in case have you installed the default XAR ?
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallingtheDefaultWikiXAR

On Tue, Jun 10, 2008 at 10:34 AM, Anders Andersson
[EMAIL PROTECTED] wrote:
 I am using XW 1.4
 The application server is version 10.1.3.3.0

 The install is quiet fresh and has no data yet except of what XWiki creates 
 itself...

 --
 Anders Andersson

 (on the default startpage it says
 Creator: on 2008/06/10 09:27
 Copyright 2004-2007 (c) XPertNet and Contributing Authors
 1.4.9828
 so I read the version number as 1.4 revision 9829, hope it is right)

 Jean-Vincent Drean [EMAIL PROTECTED] 06/10/08 10:10 
 On Tue, Jun 10, 2008 at 9:41 AM, Anders Andersson
 [EMAIL PROTECTED] wrote:
 Hello!

 I have installed xwiki on an Oracle Application Server and Oracle 10g 
 Database.

 I have problems when I create new groups. I don't get an error in the 
 webbrowser, everything works as normal except that my groups doesn't show 
 up. After I typed the new group name and pressed OK, I return to the list of 
 groups but still only got the XWikiAllGroup.

 In the log I get this (it is a longer message but I don't want to make a 
 long posting):
 org.hibernate.ObjectNotFoundException: No row with the given identifier 
 exists: [com.xpn.xwiki.doc.XWikiDocument#1287555159]
at 
 org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
at 
 org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:145)

 I get the new group in the database (taken from XWIKIOBJECTS; however I 
 don't know the map of the schema you use, so I might be looking on the wrong 
 place):
 XWO_ID XWO_NUMBER XWO_NAME XWO_CLASSNAME
 1300917321 0 XWiki.NewGroup XWiki.TagClass

 Does anyone have a clue what the solution to the problem is? Btw I can 
 create users...

 I'm currently using XE 1.4.1 on jboss 4.2.2 with Oracle 10g and I'm
 able to create groups. Which version of XW do you use ? Is it a fresh
 install ?

 --
 Jean-Vincent Drean
 ___
 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




-- 
Jean-Vincent Drean
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] XWiki Enterprise 1.4.1 released

2008-06-10 Thread Thomas Mortagne
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1..4.1.

Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download

This is an important bugfixes release (including one regression
introduced in 1.4) mainly around multiwiki mode and encoding:

* Global groups are not taken into account in a virtual wiki
* Feed plugin's startUpdateFeedsInSpace does not allow to update two
or more wiki with same space name in virtual mode
* Macro Mapping does not initialize properly macro definition in multi wiki mode
* The inline edit loses the doc's parent and title attributes
* Wysiwyg editor breaks accents in links
* Curly Quote coming from a Copy Paste is transformed into ? after
cache is reset

For more information see the Release notes at:
[Main.ReleaseNotesXWikiEnterprise141]

Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Need help on Skining

2008-06-10 Thread sudhakar ramalingam
Hi Team,
 I would like to create a new skin in XWiki and would like to
launch a new site for my client. I do have got the Mockup page from them.
These are the set of files i have for the mockups pages CSS, images, js . I
would like to create a new skin based upon this mockup page and to come out
with a basic design template where i can mange from then.

I have deployed the XWiki.war file (Enterprise edition) to the webapps
folder of the Tomcat server (version 6). And now i need to come out with
this mockup page to stand in with the XWiki application.

Can anyone who have done this concept of invoking a new user defined XWiki
with all new templates/Skins/CSS/JS/images
help me to proceed with my work...!!!

Thanks in advance...!!!
regards,
Sudhakar M.R.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Sudhakar: Need help on New Skining

2008-06-10 Thread sudhakar ramalingam
Hi Team,
 I would like to create a new skin in XWiki and would like to
launch a new site for my client. I do have got the Mockup page from them.
These are the set of files i have for the mockups pages CSS, images, js . I
would like to create a new skin based upon this mockup page and to come out
with a basic design template where i can mange from then.

I have deployed the XWiki.war file (Enterprise edition) to the webapps
folder of the Tomcat server (version 6). And now i need to come out with
this mockup page to stand in with the XWiki application.

Can anyone who have done this concept of invoking a new user defined XWiki
with all new templates/Skins/CSS/JS/images
help me to proceed with my work...!!!

Thanks in advance...!!!
regards,
Sudhakar M.R.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Sudhakar: Need help on New Skining

2008-06-10 Thread smileysudha

Sudhakar: Need help on New Skining
Reply to all
Forward
Reply by chat
Filter messages like this
Print
Add to Contacts list
Delete this message
Report phishing
Report not phishing
Show original
Show in fixed width font
Show in variable width font
Message text garbled?
Why is this spam/nonspam?
sudhakar ramalingam to XWiki

show details 4:59 PM


Reply


Hi Team,
 I would like to create a new skin in XWiki and would like to
launch a new site for my client. I do have got the Mockup page from them.
These are the set of files i have for the mockups pages CSS, images, js . I
would like to create a new skin based upon this mockup page and to come out
with a basic design template where i can mange from then.

I have deployed the XWiki.war file (Enterprise edition) to the webapps
folder of the Tomcat server (version 6). And now i need to come out with
this mockup page to stand in with the XWiki application.

Can anyone who have done this concept of invoking a new user defined XWiki
with all new templates/Skins/CSS/JS/images
help me to proceed with my work...!!!

Thanks in advance...!!!
regards,
Sudhakar M.R.
Reply

Forward



-- 
View this message in context: 
http://www.nabble.com/Sudhakar%3A-Need-help-on-New-Skining-tp17750825p17750825.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] Sudhakar: Need help on New Skining

2008-06-10 Thread Vincent Massol
Hi Sudhakar,

You can check the skin page here:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins

Note: It would be nice, once you understand how it works, if you could  
contribute to improve this page so that it has more information on  
building a custom skin.

Thanks
-Vincent

On Jun 10, 2008, at 10:59 AM, sudhakar ramalingam wrote:

 Hi Team,
 I would like to create a new skin in XWiki and would  
 like to
 launch a new site for my client. I do have got the Mockup page from  
 them.
 These are the set of files i have for the mockups pages CSS, images,  
 js . I
 would like to create a new skin based upon this mockup page and to  
 come out
 with a basic design template where i can mange from then.

 I have deployed the XWiki.war file (Enterprise edition) to the webapps
 folder of the Tomcat server (version 6). And now i need to come out  
 with
 this mockup page to stand in with the XWiki application.

 Can anyone who have done this concept of invoking a new user defined  
 XWiki
 with all new templates/Skins/CSS/JS/images
 help me to proceed with my work...!!!

 Thanks in advance...!!!
 regards,
 Sudhakar M.R.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Sudhakar: Need help on New Skining

2008-06-10 Thread Vincent Massol
Hi,

Could you please stop spamming the list? (this is the third email on  
this topic)

Thanks
-Vincent

On Jun 10, 2008, at 11:01 AM, smileysudha wrote:


 Sudhakar: Need help on New Skining
 Reply to all
 Forward
 Reply by chat
 Filter messages like this
 Print
 Add to Contacts list
 Delete this message
 Report phishing
 Report not phishing
 Show original
 Show in fixed width font
 Show in variable width font
 Message text garbled?
 Why is this spam/nonspam?
 sudhakar ramalingam to XWiki
   
 show details 4:59 PM
   
   
 Reply
   
   
 Hi Team,
 I would like to create a new skin in XWiki and would  
 like to
 launch a new site for my client. I do have got the Mockup page from  
 them.
 These are the set of files i have for the mockups pages CSS, images,  
 js . I
 would like to create a new skin based upon this mockup page and to  
 come out
 with a basic design template where i can mange from then.

 I have deployed the XWiki.war file (Enterprise edition) to the webapps
 folder of the Tomcat server (version 6). And now i need to come out  
 with
 this mockup page to stand in with the XWiki application.

 Can anyone who have done this concept of invoking a new user defined  
 XWiki
 with all new templates/Skins/CSS/JS/images
 help me to proceed with my work...!!!

 Thanks in advance...!!!
 regards,
 Sudhakar M.R.
 Reply
   
 Forward
   
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [ANN] XWiki Enterprise 1.4.1 released

2008-06-10 Thread Vincent Massol

On Jun 10, 2008, at 10:54 AM, Thomas Mortagne wrote:

 The XWiki development team is pleased to announce the release of XWiki
 Enterprise 1..4.1.

 Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download

 This is an important bugfixes release (including one regression
 introduced in 1.4) mainly around multiwiki mode and encoding:

 * Global groups are not taken into account in a virtual wiki
 * Feed plugin's startUpdateFeedsInSpace does not allow to update two
 or more wiki with same space name in virtual mode
 * Macro Mapping does not initialize properly macro definition in  
 multi wiki mode
 * The inline edit loses the doc's parent and title attributes
 * Wysiwyg editor breaks accents in links
 * Curly Quote coming from a Copy Paste is transformed into ? after
 cache is reset

 For more information see the Release notes at:
 [Main.ReleaseNotesXWikiEnterprise141]

Correct URL:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise141

Thanks
-Vincent

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


Re: [xwiki-users] [ANN] XWiki Enterprise 1.4.1 released

2008-06-10 Thread Thomas Mortagne
On Tue, Jun 10, 2008 at 12:11 PM, Vincent Massol [EMAIL PROTECTED] wrote:

 On Jun 10, 2008, at 10:54 AM, Thomas Mortagne wrote:

 The XWiki development team is pleased to announce the release of XWiki
 Enterprise 1..4.1.

 Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download

 This is an important bugfixes release (including one regression
 introduced in 1.4) mainly around multiwiki mode and encoding:

 * Global groups are not taken into account in a virtual wiki
 * Feed plugin's startUpdateFeedsInSpace does not allow to update two
 or more wiki with same space name in virtual mode
 * Macro Mapping does not initialize properly macro definition in
 multi wiki mode
 * The inline edit loses the doc's parent and title attributes
 * Wysiwyg editor breaks accents in links
 * Curly Quote coming from a Copy Paste is transformed into ? after
 cache is reset

 For more information see the Release notes at:
 [Main.ReleaseNotesXWikiEnterprise141]

 Correct URL:
 http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise141

Yes, too many XWiki ;)

Thanks Vincent


 Thanks
 -Vincent

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




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


Re: [xwiki-users] Problems to create groups

2008-06-10 Thread Anders Andersson
Thanks, that was the problem! Everything seems to work after I imported the XAR 
and I can create groups.
 
Many thanks!
 
-- 
Anders Andersson

 Jean-Vincent Drean [EMAIL PROTECTED] 06/10/08 10:42 
Ok, just in case have you installed the default XAR ?
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallingtheDefaultWikiXAR
 

On Tue, Jun 10, 2008 at 10:34 AM, Anders Andersson
[EMAIL PROTECTED] wrote:
 I am using XW 1.4
 The application server is version 10.1.3.3.0

 The install is quiet fresh and has no data yet except of what XWiki creates 
 itself...

 --
 Anders Andersson

 (on the default startpage it says
 Creator: on 2008/06/10 09:27
 Copyright 2004-2007 (c) XPertNet and Contributing Authors
 1.4.9828
 so I read the version number as 1.4 revision 9829, hope it is right)

 Jean-Vincent Drean [EMAIL PROTECTED] 06/10/08 10:10 
 On Tue, Jun 10, 2008 at 9:41 AM, Anders Andersson
 [EMAIL PROTECTED] wrote:
 Hello!

 I have installed xwiki on an Oracle Application Server and Oracle 10g 
 Database.

 I have problems when I create new groups. I don't get an error in the 
 webbrowser, everything works as normal except that my groups doesn't show 
 up. After I typed the new group name and pressed OK, I return to the list of 
 groups but still only got the XWikiAllGroup.

 In the log I get this (it is a longer message but I don't want to make a 
 long posting):
 org.hibernate.ObjectNotFoundException: No row with the given identifier 
 exists: [com.xpn.xwiki.doc.XWikiDocument#1287555159]
at 
 org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
at 
 org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:145)

 I get the new group in the database (taken from XWIKIOBJECTS; however I 
 don't know the map of the schema you use, so I might be looking on the wrong 
 place):
 XWO_ID XWO_NUMBER XWO_NAME XWO_CLASSNAME
 1300917321 0 XWiki.NewGroup XWiki.TagClass

 Does anyone have a clue what the solution to the problem is? Btw I can 
 create users...

 I'm currently using XE 1.4.1 on jboss 4.2.2 with Oracle 10g and I'm
 able to create groups. Which version of XW do you use ? Is it a fresh
 install ?

 --
 Jean-Vincent Drean
 ___
 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 




-- 
Jean-Vincent Drean
___
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 issues with Firefox 3

2008-06-10 Thread Bjørnar Libæk
The table/scrollbar missing -problems are related to css. If I use the
default css (style.css) everything looks fine. However, when changing
the color (e.g style-blue.css) in XWikiPreferences, things get bad. Here
are some screenshots when using style-blue.css, comparing FF3 and opera:

Space rights:
FF3: http://drift.nerdjeje.no/~libak/xwikiscreenshots/spacerights_ff3.png
Opera:
http://drift.nerdjeje.no/~libak/xwikiscreenshots/spacerights_opera.png

Users (added black boxes to remove the names of our users) :
FF3: http://drift.nerdjeje.no/~libak/xwikiscreenshots/users_ff3.png
Opera: http://drift.nerdjeje.no/~libak/xwikiscreenshots/users_opera.png

Bjørnar

Bjørnar Libæk wrote:
 I have seen som problems when using Firefox 3 (beta 5) for linux 
 (Ubuntu), together with xwiki 1.4 (toucan skin):

 -Tables in e.g. user administration is not showing correctly
 -When looking at a group page, the scroll bar is missing, so only 15 
 users are listed
 -Performance is generally poor. For instance, the top menu bar, and the 
 panels follow the rest of the page when scrolling.

 This has been verified by a colleague of mine using Firefox 3 RC1, and 
 we see the same performance problems on xwiki.org. Is this something 
 that should be fixed in xwiki, or is it more likely to be a firefox bug?

 Regards
 Bjørnar Libæk
 ___
 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 issues with Firefox 3

2008-06-10 Thread Bjørnar Libæk
The scrolling-performance problem remains after installing the
gtk2-engines-murring package. Where is the setting for enabling the
cache? It's enabled by default, right? I'm pretty sure I haven't turned
it off. Today, I upgraded to FF 3.0 ubuntu release, but no improvements.

So, if this Firefox bug is known upstream, I guess it will be fixed
soon. Did you find a link to that bug?


Bjørnar

Squirrel wrote:
 Gmail behaves better, but other sites not. See for yourself:
 http://watch.xwiki.org/xwiki/bin/view/Main/
 

 this page is about a different bug: performance issue with absolute
 position floating elements. Thats known upstream

  - Alexander

 --
 slow scroll with image as background-repeat
 https://bugs.launchpad.net/bugs/125970
 You received this bug notification because you are a direct subscriber
 of the bug.


 On Fri, Jun 6, 2008 at 1:45 PM, Squirrel [EMAIL PROTECTED] wrote:

   
 That

 sudo apt-get install gtk2-engines-murrine


 helped a lot, although the flickering still remains...



 On Fri, Jun 6, 2008 at 12:55 PM, Squirrel [EMAIL PROTECTED]
 wrote:

 
 I just installed FF3 again and face the same problem you described. I
 found this:
 https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/217580


 On Fri, Jun 6, 2008 at 12:23 PM, Squirrel [EMAIL PROTECTED]
 wrote:

   
 I had this once too. Could you please check that you have enabled the
 cache setting in FF3? Also, just for verification reasons, try to untick 
 the
 'Allow pages to set their own fonts...' setting under 'Preferences' 
 'Content'  'Advanced'.



 On Fri, Jun 6, 2008 at 10:59 AM, Bjørnar Libæk [EMAIL PROTECTED] wrote:

 
 I have seen som problems when using Firefox 3 (beta 5) for linux
 (Ubuntu), together with xwiki 1.4 (toucan skin):

 -Tables in e.g. user administration is not showing correctly
 -When looking at a group page, the scroll bar is missing, so only 15
 users are listed
 -Performance is generally poor. For instance, the top menu bar, and the
 panels follow the rest of the page when scrolling.

 This has been verified by a colleague of mine using Firefox 3 RC1, and
 we see the same performance problems on xwiki.org. Is this something
 that should be fixed in xwiki, or is it more likely to be a firefox bug?

 Regards
 Bjørnar Libæk
 ___
 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] xwiki issues with Firefox 3

2008-06-10 Thread Guillaume Lerouge
Hi Bjørnar,

The table/scrollbar missing -problems are related to css. If I use the
default css (style.css) everything looks fine. However, when changing
the color (e.g style-blue.css) in XWikiPreferences, things get bad.


I think that it's due to an issue in the CSS used to switch from the
standard Toucan skin to the coloured ones. I'd advise either of those
solutions :

   1. Least recommended : switch back to the grey skin for now
   2. Most recommended : use Firebug and / or other debugging tools to
   compare the CSS differences between style.css and, say, style-blue.css and
   try to identify the cause of the issue. Then post a JIRA issue
   characterizing it so that we can try to solve it :-)

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


Re: [xwiki-users] xwiki issues with Firefox 3

2008-06-10 Thread Bjørnar Libæk
Guillaume Lerouge wrote:

(...)

 I think that it's due to an issue in the CSS used to switch from the
 standard Toucan skin to the coloured ones. I'd advise either of those
 solutions :

1. Least recommended : switch back to the grey skin for now
2. Most recommended : use Firebug and / or other debugging tools to
compare the CSS differences between style.css and, say, style-blue.css and
try to identify the cause of the issue. Then post a JIRA issue
characterizing it so that we can try to solve it :-)

   


I went for solutions 1, as I don't have time to dive into this at the 
moment. Maybe later.. But can anyone else reproduce this? It's as simple 
as changing the skin color: goto administration-preferences-skin, and 
replace style.css with style-blue.css. Save, and go to the 
administration-users tab (using Firefox 3) and see if the scrollbar is 
missing (requires more than 15 users) and if the tablewidth has been 
compressed.

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


Re: [xwiki-users] xwiki issues with Firefox 3

2008-06-10 Thread Squirrel
I'm not sure if a JIRA will really solve this issue...maybe for XWiki, but
this is a huge FF3 problem as it occurs on many websites, while other
browser's don't have this issue (ie. Opera). People believe it's a
render-engine issue, if that's true you should expect a patch relatively
soon as literaly millions of people would be affected. What I've seen so far
it's not an platform issue, meaning Windows version is also affected...

I don't have any hard links in my sleeves, sorry.


On Tue, Jun 10, 2008 at 8:02 AM, Guillaume Lerouge [EMAIL PROTECTED]
wrote:

 Hi Bjørnar,

 The table/scrollbar missing -problems are related to css. If I use the
 default css (style.css) everything looks fine. However, when changing
 the color (e.g style-blue.css) in XWikiPreferences, things get bad.


 I think that it's due to an issue in the CSS used to switch from the
 standard Toucan skin to the coloured ones. I'd advise either of those
 solutions :

   1. Least recommended : switch back to the grey skin for now
   2. Most recommended : use Firebug and / or other debugging tools to
   compare the CSS differences between style.css and, say, style-blue.css
 and
   try to identify the cause of the issue. Then post a JIRA issue
   characterizing it so that we can try to solve it :-)

 Guillaume
 ___
 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 issues with Firefox 3

2008-06-10 Thread Bjørnar Libæk
As a lead to anyone wanting to look into this, by eliminating the import
statements in style-blue.css, the problems disappear. I did:

shell cat style.css css/colors/blue.css  style-blue-test.css

When selecting style-blue-test.css in the skin object, everything looks
fine. I guess this has something to do with how FF3 handles the css 
imports..

Bjørnar.

Guillaume Lerouge wrote:
 Hi Bjørnar,

 The table/scrollbar missing -problems are related to css. If I use the
 default css (style.css) everything looks fine. However, when changing
 the color (e.g style-blue.css) in XWikiPreferences, things get bad.


 I think that it's due to an issue in the CSS used to switch from the
 standard Toucan skin to the coloured ones. I'd advise either of those
 solutions :

1. Least recommended : switch back to the grey skin for now
2. Most recommended : use Firebug and / or other debugging tools to
compare the CSS differences between style.css and, say, style-blue.css and
try to identify the cause of the issue. Then post a JIRA issue
characterizing it so that we can try to solve it :-)

 Guillaume
 ___
 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] Best solution for 3 xwikis

2008-06-10 Thread Gaëtan GUYODO
Hi,
I have to create 3 xwikis (on the same server).
I know I can use XWiki Entreprise Manager (to manage many wikis, 
creation on-demand... but it's not my need) and I think there's another 
solution, I just can't remember... Anyone can help me ?
What is the best solution for my 3 wikis : Manager ? or other solution ?
thanks,
Gaëtan

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


Re: [xwiki-users] Best solution for 3 xwikis

2008-06-10 Thread Vincent Massol

On Jun 10, 2008, at 3:15 PM, Gaëtan GUYODO wrote:

 Hi,
 I have to create 3 xwikis (on the same server).
 I know I can use XWiki Entreprise Manager (to manage many wikis,
 creation on-demand... but it's not my need) and I think there's  
 another
 solution, I just can't remember... Anyone can help me ?
 What is the best solution for my 3 wikis : Manager ? or other  
 solution ?

XWiki Manager is the best solution.

http://manager.xwiki.org/

As you'll see there you can also transform an installed XE into XWiki  
Manager by installing the correct plugins and applications (and  
configuring XE correctly).

Have fun
-Vincent

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


Re: [xwiki-users] Best solution for 3 xwikis

2008-06-10 Thread Sergiu Dumitriu
Vincent Massol wrote:
 On Jun 10, 2008, at 3:15 PM, Gaëtan GUYODO wrote:
 
 Hi,
 I have to create 3 xwikis (on the same server).
 I know I can use XWiki Entreprise Manager (to manage many wikis,
 creation on-demand... but it's not my need) and I think there's  
 another
 solution, I just can't remember... Anyone can help me ?
 What is the best solution for my 3 wikis : Manager ? or other  
 solution ?
 
 XWiki Manager is the best solution.
 
 http://manager.xwiki.org/
 

One other way to achieve this is to install 3 different instances of XWiki 
Enterprise, but that is 
less efficient because you need 3 times the amount of memory.

Enterprise Manager is not really needed, as it only provides an interface for 
things you can already 
do using the Enterprise version, so a simpler solution is to manually add the 
support for the 3 
virtual wikis. See 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Virtualization (a bit 
outdated, but a good start).

Still, the best solution is to use Enterprise Manager, as it is a lot simpler.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Best solution for 3 xwikis

2008-06-10 Thread Gaëtan GUYODO
Thanks, I'll update to XE 1.4.1 and add manager tool.
That seems to be the good solution!

Sergiu Dumitriu a écrit :
 Vincent Massol wrote:
 On Jun 10, 2008, at 3:15 PM, Gaëtan GUYODO wrote:

 Hi,
 I have to create 3 xwikis (on the same server).
 I know I can use XWiki Entreprise Manager (to manage many wikis,
 creation on-demand... but it's not my need) and I think there's  
 another
 solution, I just can't remember... Anyone can help me ?
 What is the best solution for my 3 wikis : Manager ? or other  
 solution ?
 XWiki Manager is the best solution.

 http://manager.xwiki.org/

 
 One other way to achieve this is to install 3 different instances of XWiki 
 Enterprise, but that is 
 less efficient because you need 3 times the amount of memory.
 
 Enterprise Manager is not really needed, as it only provides an interface for 
 things you can already 
 do using the Enterprise version, so a simpler solution is to manually add the 
 support for the 3 
 virtual wikis. See 
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Virtualization (a bit 
 outdated, but a good start).
 
 Still, the best solution is to use Enterprise Manager, as it is a lot simpler.
 

-- 
__
  Gaëtan GUYODO
Chargé de mission
Centre Antipoison - Hôpital Fernand WIDAL
  200, rue du faubourg St Denis
  75475 PARIS Cedex 10
Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56
__

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


Re: [xwiki-users] Best solution for 3 xwikis

2008-06-10 Thread Vincent Massol

On Jun 10, 2008, at 4:45 PM, Sergiu Dumitriu wrote:

 Vincent Massol wrote:
 On Jun 10, 2008, at 3:15 PM, Gaëtan GUYODO wrote:

 Hi,
 I have to create 3 xwikis (on the same server).
 I know I can use XWiki Entreprise Manager (to manage many wikis,
 creation on-demand... but it's not my need) and I think there's
 another
 solution, I just can't remember... Anyone can help me ?
 What is the best solution for my 3 wikis : Manager ? or other
 solution ?

 XWiki Manager is the best solution.

 http://manager.xwiki.org/


 One other way to achieve this is to install 3 different instances of  
 XWiki Enterprise, but that is
 less efficient because you need 3 times the amount of memory.

 Enterprise Manager is not really needed, as it only provides an  
 interface for things you can already
 do using the Enterprise version, so a simpler solution is to  
 manually add the support for the 3
 virtual wikis. See 
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Virtualization 
  (a bit
 outdated, but a good start).

I really recommend using XEM instead since this is the official way.

 Still, the best solution is to use Enterprise Manager, as it is a  
 lot simpler.

I think we should discontinue that page and move everything to XEM.

The alternative is to decide that we don't need XEM and move  
everything back to XE. However I don't think it's a good idea since I  
believe XEM will develop further in the future: more features, its own  
skin and lf, etc.

Best IMO is to remove the Virtualization page and instead redirect to  
a page in manager.xwiki.org that explains it all.

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


Re: [xwiki-users] Best solution for 3 xwikis

2008-06-10 Thread Vincent Massol

On Jun 10, 2008, at 4:54 PM, Gaëtan GUYODO wrote:

 Thanks, I'll update to XE 1.4.1 and add manager tool.
 That seems to be the good solution!

See 
http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HConvertanexistingXWikiEnterpriseinstance

Thanks
-Vincent

 Sergiu Dumitriu a écrit :
 Vincent Massol wrote:
 On Jun 10, 2008, at 3:15 PM, Gaëtan GUYODO wrote:

 Hi,
 I have to create 3 xwikis (on the same server).
 I know I can use XWiki Entreprise Manager (to manage many wikis,
 creation on-demand... but it's not my need) and I think there's
 another
 solution, I just can't remember... Anyone can help me ?
 What is the best solution for my 3 wikis : Manager ? or other
 solution ?
 XWiki Manager is the best solution.

 http://manager.xwiki.org/


 One other way to achieve this is to install 3 different instances  
 of XWiki Enterprise, but that is
 less efficient because you need 3 times the amount of memory.

 Enterprise Manager is not really needed, as it only provides an  
 interface for things you can already
 do using the Enterprise version, so a simpler solution is to  
 manually add the support for the 3
 virtual wikis. See 
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Virtualization 
  (a bit
 outdated, but a good start).

 Still, the best solution is to use Enterprise Manager, as it is a  
 lot simpler.

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


Re: [xwiki-users] Hwoto change style.css in myxwiki.org?

2008-06-10 Thread Vincent Massol

On Jun 10, 2008, at 5:58 PM, Matthias Albert wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,
 is it possible to modify style.css from the web interface?

yes by customizing the skin. See 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins

You'll need to overwrite it though. Actually maybe not if you do an  
@import of the default style.css.

Thanks
-Vincent

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFITqSl99dNHzj143ARAqB9AKCT0Uu3oD9gZEb5LiXQA0EiBtfT6ACfSvt4
 SevHr1E8/xk3wkizG1/6byc=
 =/ZBY
 -END PGP SIGNATURE-
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] xwiki issues with Firefox 3

2008-06-10 Thread Bjørnar Libæk
Ok, I can't let this go..

Using firebug, I compared the css code when 1) the css file is linked 
directly from the html , and 2) when imported by another css file, using 
the @import statement. The only differences I'm able to spot is that 
when style.css is imported from another css file, firefox 3 removes the 
css child () and siblings (+) operators, 8 and 1 occurences 
respectively. Example:

[case 1 (works)]
html  body #xwikieditcontent {
padding:0pt;
}
[/]


[case 2 (fails)]
html body #xwikieditcontent {
padding:0pt;
}
[/]

I can't say if this is the source of the problem, but maybe some of you 
xwiki devs can confirm whether it is or not.

I tried to remove all the '' and '+' selector operator from style.css 
(direct linking), but that didn't reproduce the misbehavior.. So still 
there seems to be some strange things happening during import..

I also tried to create a simple css example to reproduce firefox' 
removal of the  and + operators, but had no success with that. So the 
problem is likely more complex..

Bjørnar



Bjørnar Libæk wrote:
 As a lead to anyone wanting to look into this, by eliminating the import
 statements in style-blue.css, the problems disappear. I did:

 shell cat style.css css/colors/blue.css  style-blue-test.css

 When selecting style-blue-test.css in the skin object, everything looks
 fine. I guess this has something to do with how FF3 handles the css 
 imports..

 Bjørnar.

 Guillaume Lerouge wrote:
   
 Hi Bjørnar,

 The table/scrollbar missing -problems are related to css. If I use the
 default css (style.css) everything looks fine. However, when changing
 the color (e.g style-blue.css) in XWikiPreferences, things get bad.


 I think that it's due to an issue in the CSS used to switch from the
 standard Toucan skin to the coloured ones. I'd advise either of those
 solutions :

1. Least recommended : switch back to the grey skin for now
2. Most recommended : use Firebug and / or other debugging tools to
compare the CSS differences between style.css and, say, style-blue.css and
try to identify the cause of the issue. Then post a JIRA issue
characterizing it so that we can try to solve it :-)

 Guillaume
 ___
 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] Code doesn't work in Register page??

2008-06-10 Thread Ngo Thi Hong Nga
Hi, I put some code in space.vm to retrieve my data:

#set($mydb=$xwiki.sql.getDatabase(myDB))
#foreach($row in $mydb.executeQuery(select name from mytable))
$row.getString(0)
#end

When I open Home page or any page but Log in and Register page, it's all ok.
I don't know there's difference between these 2 page and others?
Any tell me how to fix this problem? Thank you.



-- 
Ngô Thị Hồng Nga
Mobile: 0935 176133
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] excel importing.

2008-06-10 Thread shivshan

Hi
1. You would probably have to change the skin's CSS for the table to change
the font size and cell borders. You can start by looking at style.css in the
skins folder. 
2. This is possible through the 
http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HPDFExport PDF 
export feature. However. what would be really useful is if this can be run
as a job during every release and the final PDF is made available on the
xwiki.org website for new users.
Shiva


DRoss-Smith wrote:
 
 Hi list.
 
 I'm just starting working with xwki.  I've got it up and running and have 
 posted a few wiki pages with links and pix.  And of course have a couple 
 of questions...
 1. I've gotten the excel import plug-in to sort of work.  I can import a 
 spreadsheet as a table but how do I format what's been imported?  I don't 
 want to do anyting fancy initially- I'd like control of the font size and 
 if the cell borders print or not
 2. Is it possible to get the xwiki documentation as a .pdf... or something 
 that I can read offline?
 
 thanks
 Dean Ross-Smith
 [EMAIL PROTECTED]
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://www.nabble.com/excel-importing.-tp17766155p17769011.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