Re: [xwiki-users] [Proposal] New free and community-managed farm on xwiki.org?

2008-01-23 Thread Vincent Massol
Hi Ricardo,

On Jan 22, 2008, at 10:27 PM, [Ricardo Rodriguez] Your EPEC Network  
ICT Team wrote:

 sachin mittal wrote:
 Hi Vincent,
 People who are interested in free xwiki and want to use it as an
 experimental tool can download it and play with it. It costs nothing
 for them.
 As far as I have seen that students and other such individuals seldom
 become paying customers. They typically use for project work etc.

 I think hosted solution should focus on paying customers only unless
 you want to test the scalability of xwiki real time by giving free  
 access.

 Following this reasoning, how does Netcipia (http:// 
 www.netcipia.net)fit
 in the proposed schema?

Netcipia is another farm that could be seen as a kind of competitor to  
this new xwiki.org farm. However there are some differences:
* the xwiki.org farm will be using the default UI (same as XWiki  
Enterprise) and the same features
* it'll be supported by the xwiki community
* it'll have latest versions installed at all times
* there's no business model behind this xwiki.org farm

I think the target is really different. Netcipia's idea is to propose  
ways for users to sell their content online whereas this farm will be  
more for hosting intranets/web sites.

Anyway the free xwiki.org farm is not fully decided yet. I'd like to  
see more opinions form the xwiki users and dev community about it.

Thanks
-Vincent

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


Re: [xwiki-users] [Proposal] New free and community-managed farm on xwiki.org?

2008-01-23 Thread goldring, richard
Hi Vincent,

It sounds like a good idea. It would provide:
* a place to test out the latest XWiki builds and quickly identify issues
and resolve them
* a free place for people to host their websites

I'd certainly consider it for my non-work related material.

Regards,

Richard

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Vincent Massol
Sent: 23 January 2008 09:32
To: XWiki Users
Subject: Re: [xwiki-users] [Proposal] New free and community-managed
farm on xwiki.org?


Hi Ricardo,

On Jan 22, 2008, at 10:27 PM, [Ricardo Rodriguez] Your EPEC Network  
ICT Team wrote:

 sachin mittal wrote:
 Hi Vincent,
 People who are interested in free xwiki and want to use it as an
 experimental tool can download it and play with it. It costs nothing
 for them.
 As far as I have seen that students and other such individuals seldom
 become paying customers. They typically use for project work etc.

 I think hosted solution should focus on paying customers only unless
 you want to test the scalability of xwiki real time by giving free  
 access.

 Following this reasoning, how does Netcipia (http:// 
 www.netcipia.net)fit
 in the proposed schema?

Netcipia is another farm that could be seen as a kind of competitor to  
this new xwiki.org farm. However there are some differences:
* the xwiki.org farm will be using the default UI (same as XWiki  
Enterprise) and the same features
* it'll be supported by the xwiki community
* it'll have latest versions installed at all times
* there's no business model behind this xwiki.org farm

I think the target is really different. Netcipia's idea is to propose  
ways for users to sell their content online whereas this farm will be  
more for hosting intranets/web sites.

Anyway the free xwiki.org farm is not fully decided yet. I'd like to  
see more opinions form the xwiki users and dev community about it.

Thanks
-Vincent

___
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] errors while importing xwiki-enterprise-wiki-1.2.xar.zip

2008-01-23 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi all,

After updating to XWiki 1.2 I'm trying to get the updated documents 
included in xwiki-enterprise-wiki-1.2.xar.zip in the installation.

If I import all the documents included in 
xwiki-enterprise-wiki-1.2.xar.zip I systematically get the same three 
errors with:

Main.LuceneSearch
Panels.SyntaxHelp
Photos.NewAlbum

Only by previously removing these three documents I get a full import.

These are the ERROR messages recorded in catalina.out:

sh-3.2# tail -n2000 catalina.out | grep ERROR
11:52:16,486 ERROR http-80-15 
http://xcontroller.xen.net/xwiki/bin/import/XWiki/Import?editor=importspace=XWiki
 
SimpleLog4JLogSystem:logVelocityMessage:154 - Left side 
($request.withversions) of '==' operation has null value. If a 
reference, it may not be in the context. Operation not possible.  [line 
16, column 73]
11:58:05,003 ERROR http-80-17 
http://test02.xen.net/xwiki/bin/import/XWiki/Import?editor=import 
AbstractBatcher:doExecuteBatch:61 - Exception executing batch:
11:58:05,005 ERROR http-80-17 
http://test02.xen.net/xwiki/bin/import/XWiki/Import?editor=import 
AbstractFlushingEventListener:performExecutions:300 - Could not 
synchronize database state with session
11:58:05,006 ERROR http-80-17 
http://test02.xen.net/xwiki/bin/import/XWiki/Import?editor=import 
Package:installDocument:606 - Failed to save document Main.LuceneSearch
11:58:06,476 ERROR http-80-17 
http://test02.xen.net/xwiki/bin/import/XWiki/Import?editor=import 
AbstractBatcher:doExecuteBatch:61 - Exception executing batch:
11:58:06,478 ERROR http-80-17 
http://test02.xen.net/xwiki/bin/import/XWiki/Import?editor=import 
AbstractFlushingEventListener:performExecutions:300 - Could not 
synchronize database state with session
11:58:06,479 ERROR http-80-17 
http://test02.xen.net/xwiki/bin/import/XWiki/Import?editor=import 
Package:installDocument:606 - Failed to save document Panels.SyntaxHelp
11:58:07,261 ERROR http-80-17 
http://test02.xen.net/xwiki/bin/import/XWiki/Import?editor=import 
AbstractBatcher:doExecuteBatch:61 - Exception executing batch:
11:58:07,263 ERROR http-80-17 
http://test02.xen.net/xwiki/bin/import/XWiki/Import?editor=import 
AbstractFlushingEventListener:performExecutions:300 - Could not 
synchronize database state with session
11:58:07,265 ERROR http-80-17 
http://test02.xen.net/xwiki/bin/import/XWiki/Import?editor=import 
Package:installDocument:606 - Failed to save document Photos.NewAlbum
11:58:09,332 ERROR http-80-18 
http://test02.xen.net/xwiki/bin/skin/skins/albatross/fullscreenEdit.js 
Cache:cancelUpdate:423 - internal error: expected to get a state from 
key [xwiki:XWiki.XWikiGuest]
11:58:27,359 ERROR http-80-9 http://test02.xen.net/xwiki/bin/view/Main/ 
AbstractBatcher:doExecuteBatch:61 - Exception executing batch:
11:58:27,362 ERROR http-80-9 http://test02.xen.net/xwiki/bin/view/Main/ 
AbstractFlushingEventListener:performExecutions:300 - Could not 
synchronize database state with session
11:58:27,365 ERROR http-80-9 http://test02.xen.net/xwiki/bin/view/Main/ 
SimpleLog4JLogSystem:logVelocityMessage:154 - Method isWatchedDocument 
threw exception for reference $xwiki in template  at  [111,23]
11:59:01,372 ERROR http-80-17 
http://test02.xen.net/xwiki/bin/save/XWiki/XWikiPreferences 
AbstractBatcher:doExecuteBatch:61 - Exception executing batch:
11:59:01,373 ERROR http-80-17 
http://test02.xen.net/xwiki/bin/save/XWiki/XWikiPreferences 
AbstractFlushingEventListener:performExecutions:300 - Could not 
synchronize database state with session
sh-3.2#

Please, is this a problem with my installations? Something that 
could/must be improved in the .xar file?

Let me know if more lines from catalina.out or any other test can help 
to work out this issue. Thanks.

Best regards,

Ricardo

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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


Re: [xwiki-users] [xwiki-devs] log

2008-01-23 Thread Vincent Massol

On Jan 23, 2008, at 2:27 PM, [Ricardo Rodriguez] Your EPEC Network ICT  
Team wrote:

 Vincent Massol wrote:
 Hi Raffaele,

 2) Can you try finding the answer on xwiki.org? I'd like to ensure
 this information can be easily found. If you can't find it let us  
 know
 how you searched for it so that we can improve how users can find it.

 Hi Vicent,

 By going to Documentation  Documentation for XWiki Enterprise 
 Administrator's Guide  Logging you reach this document...

 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging

 But, why logging or log4J doesn't find anything in Search?

That's because the lucene search is not fully working right now... I'm  
aware of this and Thomas Mortagne is working on this. I know he tried  
to fix this last week but wasn't able to find the issue till now.  
Basically some pages are not correctly indexed somehow.

We really need to crack this issue. It's annoying me as well...

Thanks
-Vincent

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


Re: [xwiki-users] [xwiki-devs] log

2008-01-23 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Vincent Massol wrote:

 That's because the lucene search is not fully working right now... I'm  
 aware of this and Thomas Mortagne is working on this. I know he tried  
 to fix this last week but wasn't able to find the issue till now.  
 Basically some pages are not correctly indexed somehow.

 We really need to crack this issue. It's annoying me as well...

 Thanks
 -Vincent

Pity I am not able to help with this bug! :-(

By the way, I am seeing some Lucene related messages in catalina.out 
after upgrading to 1.2. My main concern now is to work out what I see 
like a problem while creating new virtual wikis, but I will go back to 
the Lucene messages ASAP and keep this thread posted.

Thanks,

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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


Re: [xwiki-users] XWiki upgrade from 1.0 to 1.2

2008-01-23 Thread Julien Oix
Hi Vincent,

As U told me, i've tried the update from scratch (my XWiki 1.0 install ) 
to 1.2.

Here's what I did on my test server :

* stop Tomcat container
* drop MySQL XWiki database, recreate it empty, and inject the 
production dump
* delete the whole content of $webapp
* unjar xwiki-enterprise-web-1.2.war in $webapp
* copy mysql-connector-java-5.1.5-bin.jar to /WEB-INF/lib/
* edit /WEB-INF/xwiki.cfg : adding the xwiki.upload.tempdir parameter
* edit /WEB-INF/hibernate.cfg.xml : set the good username and password 
for MySQL connection, uncomment MySQL parameters
* edit /skins/albatross/global.vm : change #set($regurl = 
$xwiki.getURL(XWiki.Register, register)) with #set($regurl = 
$xwiki.getURL(XWiki.RegisterNewUser, view))
* restart Tomcat container
* access the homepage with the browser : long time to display, because 
updating the database -- xwikiLogFirstHttpCall.txt 
(http://docs.google.com/Doc?id=ddwdqc3b_103g3t26ngr)

see lower for the results and comments :)

Vincent Massol wrote:
 Hi Julien,

 On Jan 22, 2008, at 2:18 PM, Julien Oix wrote:

   
 Hi everyone,

 I want to upgrade XWiki to the latest version, using the war package.

 Indeed, my XWiki's encoding, as the MySQL database, are latin1
 (ISO-8859-1) and with version 1.0, when I display any previous version
 of a page using the History function, accents and all special  
 entities
 are displayed as ? (I didn't find any JIRA issue matching this :)

 So I can't rollback any page whitout losing accents, and it's the main
 reason for this upgrade.



 Starting from
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation, i've
 read
 http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise12
 wich leads to
 http://www.xwiki.org/xwiki/bin/view/Main/ 
 ReleaseNotesXWikiEnterprise112
 in my case.


 Here what I did on a test server with its own Tomcat and MySQL  
 containers :


 1- copy from the production server the whole $webapp directory and  
 dump
 the xwiki database
 change hibernate.cfg.xml that it talks to the copied test database
 restart all and check i've the same wiki


 2 - delete all the content of $webapp.
 unjar xwiki-web-standard-1.1.2.war in this empty directory.
 edit /WEB-INF/xwiki.cfg (adding the xwiki.upload.tempdir line),
 /WEB-INF/hibernate.cfg.xml (changing the mysql connection) and
 /skins/albatross/global.vm (there is a little change in order to
 restrict registration with a password).
 restart all the stuff (apache, tomcat)

 -- I find my wiki as with the 1.0 install, but the bug is still here


 3 - import the FixRCS.xar as written on the 1.1.2 release note :
 http://www.xwiki.org/xwiki/bin/download/Main/ReleaseNotesXWikiEnterprise11M4/FixRCS.xar
 trying to run it
 

 There's no need to run this script any more as it's been included in  
 the new automatic database migration process.

 When you upgraded to 1.2 you should have seen some logs in the console  
 or in the xwiki log file about this automatic migration.

 Check that all went well.
   
As mentioned higher, everything seems to go well during the new 
automatic database migration process, it's very user friendly :)
 [snip]

   
 4 - from this point, updating this 1.1.2 install with
 xwiki-enterprise-web-1.2.war and the same process

 -- I can't even access to the previous versions of any documents, it
 shows me an exception.



 Sorry for writing a lot, now my questions :)

 1 - Did I understand well the upgrade process ?
 Do I have to upgrade first from 1.0 to 1.1.2 and then from 1.1.2 to  
 1.2 ?
 Why running the FixRCS.xar content doesn't work after 1.1.2  
 upgrade ? Is
 that the reason why I can't update to 1.2 after, or why the bug is  
 still
 there ?
 

 I haven't tested all possible use cases (there are just too many  
 possibilities to try them all easily...). What I would do in your case  
 is start over from your 1.0 install and try upgrading to 1.2 directly  
 and see what the automatic upgrade process says. If you get any error  
 please report it here with the error you're getting. We want to make  
 this automatic database upgrade seamless so it's important that we  
 find out whatever can go wrong.

   
 2 - In which XWiki version this special entities not displayed in old
 revisions with ISO-8859-1 encoding bug is fixed ?
 

 No idea. Why do you think it's fixed? If you know the jira issue then  
 you can check the version in which it's fixed.
   
Unfortunately, the bug is still here.

I edit the  homepage with the fresh 1.2 update : it creates a new revision
Displaying the older revision (the latest edited with the 1.0 install) 
everything is OK, accents are  displayed well.

But for all the older revisions tagged as Minor Revisions on the 
History screen, all the special entities are replaced with a ?, as in 
the 1.0 install

The bug seems to be fixed for all revisions edited with the 1.2 update, 
but the migration process doesn't seem to fix this for 1.0 edited 
revisions : so it's a good thing that 

[xwiki-users] copy a page

2008-01-23 Thread Raffaele Viola
Hi all,

can someone explain me the meaning of Target Doc in the Copy a document
page who does it works?

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


[xwiki-users] error coping a document

2008-01-23 Thread Raffaele Viola
Hi all,

using the Copy a document page with:

   - source document=XWiki.provaCopia
   - target document mySpace.provaCopia

I get this result:

   - Copying document XWiki.provaCopia () from xwiki to xwiki:
   $xwiki.xWiki.copyDocument($sourcedoc, $targetdoc, $sourcewiki, $targetwiki,
   $language, false, $context.context)

and the copy is not done.

Can you help me??
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with mod_proxy

2008-01-23 Thread justanotheradress

Now I get the following thing if I access my xwiki on my server with
MyIP:8180/xwiki from my client (that does mean Apache is working, right?).
The same message appears in terminal browser by lynx
http://localhost:8180/xwiki;. Has anybody an idea what this causes?

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException: Error number 3 in 0: Could not initialize
main XWiki context
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Hibernate Dialect must be explicitly set

org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)

org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)

root cause

com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Hibernate Dialect must be explicitly set
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:250)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:439)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)

org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)


-- 
View this message in context: 
http://www.nabble.com/Problem-with-mod_proxy-tp15031584p15045570.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] error coping a document

2008-01-23 Thread Vincent Massol

Raffaele,

Once more please don't crosspost!

Just save the page with a user having programming rights and it'll work.
-Vincent

On Jan 23, 2008, at 4:19 PM, Raffaele Viola wrote:


Hi all,

using the Copy a document page with:
source document=XWiki.provaCopia
target document mySpace.provaCopia
I get this result:
Copying document XWiki.provaCopia () from xwiki to xwiki:  
$xwiki.xWiki.copyDocument($sourcedoc, $targetdoc, $sourcewiki,  
$targetwiki, $language, false, $context.context)

and the copy is not done.

Can you help me??


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


[xwiki-users] List-documents property has duplicates

2008-01-23 Thread Paul Libbrecht


Hello list,

when using list-documents as database-list property as described in:
  http://code.xwiki.org/xwiki/bin/view/Snippets/ListDocumentsSnippet

I seem to get duplicates for each language.
Then I tried:

select doc.name, doc.title
 from com.xpn.xwiki.doc.XWikiDocument as doc
  grouped by doc.name
  where doc.web = 'MySpace' and doc.name!='WebHome')

but that emptied the possible values (as output by $doc.display 
('fieldName')


What have I done wrong ?
I'm a bit of a newbie in HQL!

thanks in advance

paul

smime.p7s
Description: S/MIME cryptographic signature
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with mod_proxy

2008-01-23 Thread justanotheradress

Guys, guys, guys. IT WORKS! IT WORKS!

I need some time to figure out every step I made and write the Howto, stay
tuned.  :D
-- 
View this message in context: 
http://www.nabble.com/Problem-with-mod_proxy-tp15031584p15047622.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] Problem with mod_proxy

2008-01-23 Thread rssh
 
 javax.servlet.ServletException: Error number 3 in 0: Could not initialize
 main XWiki context
 Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
 Wrapped Exception: Hibernate Dialect must be explicitly set
*


 So, it's nothing with mod_proxy, it's about incorrect hibernate.cfg.xml


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


Re: [xwiki-users] [Proposal] New free and community-managed farm on xwiki.org?

2008-01-23 Thread Karim-Pierre Maalej
That would certainly increase public interest into XWiki. And beyond
the profits that have been described before, it could also be a good
test to see where the documentation is failing, so we could improve it.
More users means both more feedback and more hands to complete and
correct the doc. 

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