Re: [xwiki-users] XWiki SQL Plugin

2010-09-14 Thread afra

OMG Thx
The tip with the getDatabase did the trick 
This still failure when using a method not present killed my legit tries. I
pledge for syntax highligting and checking in the wiki editor 
Thanks for your help.
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-SQL-Plugin-tp5530893p5533117.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] Office Importer: Caused by: java.lang.IllegalStateException: invalid templateProfileDir

2010-09-14 Thread Asiri Rathnayake
Hi Andrea,


On Tue, Sep 14, 2010 at 9:50 PM, Andrea Belli wrote:

> After I installed the 2.4 version, the Office importer does not work
> because it says the soffice process is not running. I tried to restart the
> process using the Admin page but I get a velocity error 4001 caused by this
> exception:
>
> Caused by: java.lang.IllegalStateException: invalid templateProfileDir:
> C:Documents and SettingsAdministratorApplication DataOpenOffice.org3
>

Can you provide the log file messages corresponding to this error? When this
error happens, you should see an exception trace (bunch of messages) in the
xwiki.log file.

Thanks.

- Asiri


>
>
> 1)  The path exists and it is defined into xwiki.cfg correctly  (it's
> also shown correctly in the admin panel before I tried to press the update
> button.)
>
> 2)  The office 3.1 version works standalone.
>
> Any idea?
>
> Best Regards
>
> Andrea
> ___
> 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] Could not create a DBCP pool

2010-09-14 Thread Clinton Louw
Please help

I am trying to move my wiki cluster and sql database to a new co location with 
diff Ip and I keep getting a Could not create a DBCP pool error when I try to 
open the wiki, I have made the changes to the hibernate  config file to point 
to the new sql address, What am I missing, nothing else has changed. My 
machines were VM's so I took snapshots changed IP updated dns and brought them 
online, sound simple. If anyone can point out where I went wrong I would 
greatly appreciate it.

clinton


This communication and attachment(s) are the confidential property of INVISION, 
Inc. If you are not the intended recipient, please notify the sender 
immediately and delete this message; any copying, dissemination or use of these 
contents by persons other than the intended addressee(s) is prohibited. Thank 
you.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki SQL Plugin

2010-09-14 Thread Colesnicov Eugen


afra wrote:
> 
> Hi @all,
> 
> did one of you guys get the SQL-Plugin to work with 2.4?
> ...
> 

Yes! I already tested XWiki SQL plugin with XWiki 2.4. It's working normal.
My config - Glassfish v.3, Oracle 10.
I use XWiki 2.4 and 2.3.2.
1) First, I made setup for GlassFish as described here -
http://technology.amis.nl/blog/1276/configuring-a-oracle-datasource-on-glassfish.
Oracle jdbc driver I placed in a folder
\glassfishv3\glassfish\domains\domain1\lib\ext
2) Second, I made setup for SQL plugin as described in a home page of SQL
plugin - http://xwikisql.gradsoft.ua/docs/XWikiSqlPluginGuide.html
3) Third, I made changes in a web.xml. In the end of this file exists some
rows with  and comments - "

Re: [xwiki-users] Office Importer: Caused by: java.lang.IllegalStateException: invalid templateProfileDir

2010-09-14 Thread Vincent Massol
Hi Asiri, 

I think Andrea is using OOo 3.1 (see below) and 2.4 refers to the XE version.

Thanks
-Vincent

On Sep 14, 2010, at 7:44 PM, Asiri Rathnayake wrote:

> Hi,
> 
> Please see http://code.google.com/p/jodconverter/wiki/GettingStarted
> 
> You need OOo > 3.0.0
> 
> - Asiri
> 
> On Tue, Sep 14, 2010 at 9:50 PM, Andrea Belli wrote:
> 
>> After I installed the 2.4 version, the Office importer does not work
>> because it says the soffice process is not running. I tried to restart the
>> process using the Admin page but I get a velocity error 4001 caused by this
>> exception:
>> 
>> Caused by: java.lang.IllegalStateException: invalid templateProfileDir:
>> C:Documents and SettingsAdministratorApplication DataOpenOffice.org3
>> 
>> 
>> 1)  The path exists and it is defined into xwiki.cfg correctly  (it's
>> also shown correctly in the admin panel before I tried to press the update
>> button.)
>> 
>> 2)  The office 3.1 version works standalone.
>> 
>> Any idea?
>> 
>> Best Regards
>> 
>> Andrea
>> ___
>> 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] Office Importer: Caused by: java.lang.IllegalStateException: invalid templateProfileDir

2010-09-14 Thread Asiri Rathnayake
Hi,

Please see http://code.google.com/p/jodconverter/wiki/GettingStarted

You need OOo > 3.0.0

- Asiri

On Tue, Sep 14, 2010 at 9:50 PM, Andrea Belli wrote:

> After I installed the 2.4 version, the Office importer does not work
> because it says the soffice process is not running. I tried to restart the
> process using the Admin page but I get a velocity error 4001 caused by this
> exception:
>
> Caused by: java.lang.IllegalStateException: invalid templateProfileDir:
> C:Documents and SettingsAdministratorApplication DataOpenOffice.org3
>
>
> 1)  The path exists and it is defined into xwiki.cfg correctly  (it's
> also shown correctly in the admin panel before I tried to press the update
> button.)
>
> 2)  The office 3.1 version works standalone.
>
> Any idea?
>
> Best Regards
>
> Andrea
> ___
> 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] Office Importer: Caused by: java.lang.IllegalStateException: invalid templateProfileDir

2010-09-14 Thread Andrea Belli
After I installed the 2.4 version, the Office importer does not work because it 
says the soffice process is not running. I tried to restart the process using 
the Admin page but I get a velocity error 4001 caused by this exception:

Caused by: java.lang.IllegalStateException: invalid templateProfileDir: 
C:Documents and SettingsAdministratorApplication DataOpenOffice.org3


1)  The path exists and it is defined into xwiki.cfg correctly  (it's also 
shown correctly in the admin panel before I tried to press the update button.)

2)  The office 3.1 version works standalone.

Any idea?

Best Regards

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


[xwiki-users] XWiki SQL Plugin

2010-09-14 Thread afra

Hi @all,

did one of you guys get the SQL-Plugin to work with 2.4?
I did everything the installation instructions said to do. Even made a
sample jsp page which worked just fine with querying the database and
displaying my table. But usage of the plugin in any xwiki page doesn't work.
Even when using such stupid query as 
select '1' as 1, '2' as 2
there does not seem to be any resultset returned which i could display via
velocity script. Is there any trick i don't know or is the plugin simply
broken?
Thx
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-SQL-Plugin-tp5530893p5530893.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] Impossible to create users and groups in a slave wiki of XEM 2.4

2010-09-14 Thread Maxime Mathieu
I just retried the same test without the AD connection
(xwiki.authentification.ldap commented) and it's exactly the same.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Impossible to create users and groups in a slave wiki of XEM 2.4

2010-09-14 Thread Maxime Mathieu
I'm using the package xwiki-enterprise-manager-mysql-2.4.zip with a Mysql
5.0.50 instance.

When I create a wiki, I use the normal view, I only fill the wiki identifier
and suppress the suffix of the alias. So, the "Wiki identifier" and the
"Alias" are the same. Then I click on Create.

I can add that the xwiki.cfg file contains
- usepath=1
- xwiki.authentication.ldap=1 and all the user related properties to
configure the AD access
- xwiki.authentication.ldap.trylocal=1
And, that's all. No plug-in, no particular skin...

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


Re: [xwiki-users] Impossible to create users and groups in a slave wiki of XEM 2.4

2010-09-14 Thread Thomas Mortagne
On Tue, Sep 14, 2010 at 15:05, Maxime Mathieu
 wrote:
> Ok. I confirm that in a new wiki (created without template or package) the
> page XWiki.XWikiUsers does not exist.
>
> http://localhost:8080/xwiki/wiki/buggy/view/XWiki/XWikiUsers -> The
> requested document could not be found.
>
> And, it is the same when a create a new wiki using the standard template.

Could you give me all the informations you provided to the wiki
creation form (wiki id, alias, etc...) so that I can try to find
something in it that makes a bug come to the surface.

BTW what database engine are you using ?

>
> Maxime
> ___
> 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] Impossible to create users and groups in a slave wiki of XEM 2.4

2010-09-14 Thread Maxime Mathieu
Ok. I confirm that in a new wiki (created without template or package) the
page XWiki.XWikiUsers does not exist.

http://localhost:8080/xwiki/wiki/buggy/view/XWiki/XWikiUsers -> The
requested document could not be found.

And, it is the same when a create a new wiki using the standard template.

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


Re: [xwiki-users] Impossible to create users and groups in a slave wiki of XEM 2.4

2010-09-14 Thread Thomas Mortagne
On Tue, Sep 14, 2010 at 14:34, Maxime Mathieu
 wrote:
> Yes I can reproduce all the time.
> I have tried to create an empty wiki (without any template or package) and
> it works well. But in this empty wiki I can't manage users or groups. The

What i wanted you to test is if you can reproduce the real issue i
described in the previous mail: standard classed not created in a new
wiki. For that you can go to /bin/view/XWiki/XWikiUsers page and see
if you have a class there for example.

> only page that is displayed when I go to the administration section is the
> import page (and it is normal no ?).
>
> Don't hesitate to tell me if you want more information.
>
> Regards,
> Maxime
> ___
> 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] Impossible to create users and groups in a slave wiki of XEM 2.4

2010-09-14 Thread Maxime Mathieu
Yes I can reproduce all the time.
I have tried to create an empty wiki (without any template or package) and
it works well. But in this empty wiki I can't manage users or groups. The
only page that is displayed when I go to the administration section is the
import page (and it is normal no ?).

Don't hesitate to tell me if you want more information.

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


Re: [xwiki-users] Impossible to create users and groups in a slave wiki of XEM 2.4

2010-09-14 Thread Thomas Mortagne
On Tue, Sep 14, 2010 at 11:06, Maxime Mathieu
 wrote:
> Hi,
>
> Just done a fresh install of XEM2.4 and I encounter the following problem.
>
> In the templatexe wiki, it's impossible to add a new group or a new user
> (the Add button do nothing).
> If I edit the objects of an existing group (XWikiAllGroup for example), a
> warning is displayed :
> "Some objects from this document contain deprecated properties which were
> deleted from their respective classes."
> In fact, I detected that the *XWikiGroups and XWikiUsers classes are not
> defined* (they do not exist) in this templatexe wiki.
> In the main wiki, all is ok (and the XWikiGroups and Users classes are well
> defined).
>
> Nothing in the xwiki.log.
>
> Do you have any idea to help me ?

It seems other people reproduce the same issue: standard classed not
created in a new wiki.

Do you reproduce it all the time ? Could you try to create an empty
wiki (without any template/package) ?

>
> Best regards,
> Maxime Mathieu
> ___
> 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] Uploading larger files

2010-09-14 Thread Dalluege, Pierre (extern)
Hi Caleb,  hello xwiki users,

First: thank you for your information, so by default it loads up to 10 MB and 
it may load up to 30 MB. Therefore a parameter of the xwikipreferences "root 
object"  must be changed. How can I set the value of the parameter? Under 
XWiki-Administration there is no "edit object" available. Generally I can run 
the machine with as much ram as needed, this would not be an issue.

Second: If I cannot load larger files the 30 MB, is there any chance to include 
external ebooks into the lucene search (index)? This is an important issue, if 
I cannot upload the ebooks to xwiki.

Best regards

Pierre


Von: Caleb James DeLisle [calebdeli...@lavabit.com]
Gesendet: Dienstag, 14. September 2010 08:43
An: XWiki Users
Betreff: Re: [xwiki-users] Uploading larger files

The problem is memory expense. When you upload an attachment, it is
put into RAM, then it's saved in the database, but before the save
is committed, the content is copied and converted to a base64 String
(expanding it by 30% for the base64 then doubling it because java
uses UTF-16 for String) then it is formed into an RCS archive node
using Apache jrcs which makes a copy of the content (also in ram).
The result is you need memory capacity which is many times the size
of the attachment.

The short answer is although we are looking at ways to improve
memory footprint, currently the effective limit is about 30MB.


Caleb


Dalluege, Pierre (extern) wrote:
> Hello xwiki users,
>
> I have to upload larger files (i.e. ebooks (above 100MB) or images of 80MB) 
> and at the moment the upload fails.
>
> I increased the size of mysql packages to 512 MB, but it didn't help, any 
> ideas?
>
> Best regards
>
> Pierre
> ___
> 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] Impossible to create users and groups in a slave wiki of XEM 2.4

2010-09-14 Thread Maxime Mathieu
Hi,

Just done a fresh install of XEM2.4 and I encounter the following problem.

In the templatexe wiki, it's impossible to add a new group or a new user
(the Add button do nothing).
If I edit the objects of an existing group (XWikiAllGroup for example), a
warning is displayed :
"Some objects from this document contain deprecated properties which were
deleted from their respective classes."
In fact, I detected that the *XWikiGroups and XWikiUsers classes are not
defined* (they do not exist) in this templatexe wiki.
In the main wiki, all is ok (and the XWikiGroups and Users classes are well
defined).

Nothing in the xwiki.log.

Do you have any idea to help me ?

Best regards,
Maxime Mathieu
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users