Re: [xwiki-users] Manage wikis : error while deleting

2008-07-03 Thread Gaëtan GUYODO
Hi,
I've just performed a brand new installation of XE 1.5M2 from scratch, 
added application manager and plugin manager (same installation as 
previous one, but up to date).
I can confirm that the "secure" problem is fixed... I've been able to 
create a new wiki on https://xx.yy.com

The only bug still here is the import of 
xwiki-enterprise-manager-application-xem-1.2.xar : XemManager.Install 
importing error (on oracle 10.2 database)... but the jira issue 
(XWIKI-2459) is still open, so I think it's normal.

Thanks again for your quick fix of issue XWIKI-2474,
Gaëtan

Thomas Mortagne a écrit :
> On Mon, Jun 16, 2008 at 5:07 PM, Gaëtan GUYODO
> <[EMAIL PROTECTED]> wrote:
>> Jira issue XEM-116 (maybe not the right place).
> 
> Yes I moved it but thanks anyway :)
> 
>> Thanks,
>> Gaëtan
>>
>> Thomas Mortagne a écrit :
>>> On Mon, Jun 16, 2008 at 4:15 PM, Gaëtan GUYODO
>>> <[EMAIL PROTECTED]> wrote:
 If I can help for testing, or patch solutions, or... let me know.
>>> Can you create a jira issue with the way to reproduce it on
>>> http://jira.xwiki.org ? To be sure to not forget it.
>>> I will look at it on next bugfixes day (this next Wednesday) if nobody
>>> have time to look at it before.
>>>
 Thomas Mortagne a écrit :
> On Mon, Jun 16, 2008 at 3:29 PM, Gaëtan GUYODO
> <[EMAIL PROTECTED]> wrote:
>> Thanks Thomas for these informations, I played with "secure" in my
>> tests. With some trouble...
>>
>> My main wiki is https://abc.aphp.fr (but the "secure" setting is 0, the
>> https is managed in Apache in front of Tomcat).
>> When I created a new wiki with domain "abc.aphp.fr/test2" creation was
>> OK, but the proposed URL is :
>> "http://abc.aphp.fr/test2/xwiki/bin/view/Main";.
>> So I put the "Secure" setting to 1 and save, and then the proposed URL 
>> is :
>> "https://abc.aphp.fr/test2:80/xwiki/bin/view/Main";.
>>
>> Good for the "https", but why ":80" is added to the wiki name ?
>> I know that kind of domain is not supported now, but I just don't
>> understand : If I check "secure", I don't need to be redirected to the
>> 80 port.
>>
>> Then I tried to add a new wiki on another sub-domain : "test3.aphp.fr",
>> and after checking the "secure" to 1, I get the URL :
>> "https://test3.aphp.fr:80/xwiki/bin/view/Main/";. Same problem.
>>
>> Is that normal ? I just don't understand.
> No I think this is not normal, it seems there is a problems in XWiki
> Platform URL factory.
>
>> Thomas Mortagne a écrit :
>> ...
> 4) all my needed wikis will be in "https". Or when I create a new 
> wiki,
> it seems to be created in "http" only. Is there a way to create then 
> in
> https ? Is there a way, after creation, to change the "http" to 
> "https" ?
>>> In the wiki descriptor you can enable the "Secure" field which
>>> indicate that all URL of this wiki will be generated using "https" in
>>> place of "http".
>> --
>> __
>>  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
>>
>
 --
 __
  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

>>>
>>>
>> --
>> __
>>  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
>>
> 
> 
> 

-- 
__
  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] Manage wikis : error while deleting

2008-06-16 Thread Thomas Mortagne
On Mon, Jun 16, 2008 at 5:07 PM, Gaëtan GUYODO
<[EMAIL PROTECTED]> wrote:
> Jira issue XEM-116 (maybe not the right place).

Yes I moved it but thanks anyway :)

> Thanks,
> Gaëtan
>
> Thomas Mortagne a écrit :
>> On Mon, Jun 16, 2008 at 4:15 PM, Gaëtan GUYODO
>> <[EMAIL PROTECTED]> wrote:
>>> If I can help for testing, or patch solutions, or... let me know.
>>
>> Can you create a jira issue with the way to reproduce it on
>> http://jira.xwiki.org ? To be sure to not forget it.
>> I will look at it on next bugfixes day (this next Wednesday) if nobody
>> have time to look at it before.
>>
>>> Thomas Mortagne a écrit :
 On Mon, Jun 16, 2008 at 3:29 PM, Gaëtan GUYODO
 <[EMAIL PROTECTED]> wrote:
> Thanks Thomas for these informations, I played with "secure" in my
> tests. With some trouble...
>
> My main wiki is https://abc.aphp.fr (but the "secure" setting is 0, the
> https is managed in Apache in front of Tomcat).
> When I created a new wiki with domain "abc.aphp.fr/test2" creation was
> OK, but the proposed URL is :
> "http://abc.aphp.fr/test2/xwiki/bin/view/Main";.
> So I put the "Secure" setting to 1 and save, and then the proposed URL is 
> :
> "https://abc.aphp.fr/test2:80/xwiki/bin/view/Main";.
>
> Good for the "https", but why ":80" is added to the wiki name ?
> I know that kind of domain is not supported now, but I just don't
> understand : If I check "secure", I don't need to be redirected to the
> 80 port.
>
> Then I tried to add a new wiki on another sub-domain : "test3.aphp.fr",
> and after checking the "secure" to 1, I get the URL :
> "https://test3.aphp.fr:80/xwiki/bin/view/Main/";. Same problem.
>
> Is that normal ? I just don't understand.
 No I think this is not normal, it seems there is a problems in XWiki
 Platform URL factory.

> Thomas Mortagne a écrit :
> ...
 4) all my needed wikis will be in "https". Or when I create a new wiki,
 it seems to be created in "http" only. Is there a way to create then in
 https ? Is there a way, after creation, to change the "http" to 
 "https" ?
>> In the wiki descriptor you can enable the "Secure" field which
>> indicate that all URL of this wiki will be generated using "https" in
>> place of "http".
> --
> __
>  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
>


>>> --
>>> __
>>>  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
>>>
>>
>>
>>
>
> --
> __
>  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
>



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


Re: [xwiki-users] Manage wikis : error while deleting

2008-06-16 Thread Gaëtan GUYODO
Jira issue XEM-116 (maybe not the right place).
Thanks,
Gaëtan

Thomas Mortagne a écrit :
> On Mon, Jun 16, 2008 at 4:15 PM, Gaëtan GUYODO
> <[EMAIL PROTECTED]> wrote:
>> If I can help for testing, or patch solutions, or... let me know.
> 
> Can you create a jira issue with the way to reproduce it on
> http://jira.xwiki.org ? To be sure to not forget it.
> I will look at it on next bugfixes day (this next Wednesday) if nobody
> have time to look at it before.
> 
>> Thomas Mortagne a écrit :
>>> On Mon, Jun 16, 2008 at 3:29 PM, Gaëtan GUYODO
>>> <[EMAIL PROTECTED]> wrote:
 Thanks Thomas for these informations, I played with "secure" in my
 tests. With some trouble...

 My main wiki is https://abc.aphp.fr (but the "secure" setting is 0, the
 https is managed in Apache in front of Tomcat).
 When I created a new wiki with domain "abc.aphp.fr/test2" creation was
 OK, but the proposed URL is :
 "http://abc.aphp.fr/test2/xwiki/bin/view/Main";.
 So I put the "Secure" setting to 1 and save, and then the proposed URL is :
 "https://abc.aphp.fr/test2:80/xwiki/bin/view/Main";.

 Good for the "https", but why ":80" is added to the wiki name ?
 I know that kind of domain is not supported now, but I just don't
 understand : If I check "secure", I don't need to be redirected to the
 80 port.

 Then I tried to add a new wiki on another sub-domain : "test3.aphp.fr",
 and after checking the "secure" to 1, I get the URL :
 "https://test3.aphp.fr:80/xwiki/bin/view/Main/";. Same problem.

 Is that normal ? I just don't understand.
>>> No I think this is not normal, it seems there is a problems in XWiki
>>> Platform URL factory.
>>>
 Thomas Mortagne a écrit :
 ...
>>> 4) all my needed wikis will be in "https". Or when I create a new wiki,
>>> it seems to be created in "http" only. Is there a way to create then in
>>> https ? Is there a way, after creation, to change the "http" to "https" 
>>> ?
> In the wiki descriptor you can enable the "Secure" field which
> indicate that all URL of this wiki will be generated using "https" in
> place of "http".
 --
 __
  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

>>>
>>>
>> --
>> __
>>  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
>>
> 
> 
> 

-- 
__
  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] Manage wikis : error while deleting

2008-06-16 Thread Thomas Mortagne
On Mon, Jun 16, 2008 at 4:15 PM, Gaëtan GUYODO
<[EMAIL PROTECTED]> wrote:
> If I can help for testing, or patch solutions, or... let me know.

Can you create a jira issue with the way to reproduce it on
http://jira.xwiki.org ? To be sure to not forget it.
I will look at it on next bugfixes day (this next Wednesday) if nobody
have time to look at it before.

>
> Thomas Mortagne a écrit :
>> On Mon, Jun 16, 2008 at 3:29 PM, Gaëtan GUYODO
>> <[EMAIL PROTECTED]> wrote:
>>> Thanks Thomas for these informations, I played with "secure" in my
>>> tests. With some trouble...
>>>
>>> My main wiki is https://abc.aphp.fr (but the "secure" setting is 0, the
>>> https is managed in Apache in front of Tomcat).
>>> When I created a new wiki with domain "abc.aphp.fr/test2" creation was
>>> OK, but the proposed URL is :
>>> "http://abc.aphp.fr/test2/xwiki/bin/view/Main";.
>>> So I put the "Secure" setting to 1 and save, and then the proposed URL is :
>>> "https://abc.aphp.fr/test2:80/xwiki/bin/view/Main";.
>>>
>>> Good for the "https", but why ":80" is added to the wiki name ?
>>> I know that kind of domain is not supported now, but I just don't
>>> understand : If I check "secure", I don't need to be redirected to the
>>> 80 port.
>>>
>>> Then I tried to add a new wiki on another sub-domain : "test3.aphp.fr",
>>> and after checking the "secure" to 1, I get the URL :
>>> "https://test3.aphp.fr:80/xwiki/bin/view/Main/";. Same problem.
>>>
>>> Is that normal ? I just don't understand.
>>
>> No I think this is not normal, it seems there is a problems in XWiki
>> Platform URL factory.
>>
>>> Thomas Mortagne a écrit :
>>> ...
>> 4) all my needed wikis will be in "https". Or when I create a new wiki,
>> it seems to be created in "http" only. Is there a way to create then in
>> https ? Is there a way, after creation, to change the "http" to "https" ?
 In the wiki descriptor you can enable the "Secure" field which
 indicate that all URL of this wiki will be generated using "https" in
 place of "http".
>>> --
>>> __
>>>  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
>>>
>>
>>
>>
>
> --
> __
>  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
>



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


Re: [xwiki-users] Manage wikis : error while deleting

2008-06-16 Thread Gaëtan GUYODO
If I can help for testing, or patch solutions, or... let me know.

Thomas Mortagne a écrit :
> On Mon, Jun 16, 2008 at 3:29 PM, Gaëtan GUYODO
> <[EMAIL PROTECTED]> wrote:
>> Thanks Thomas for these informations, I played with "secure" in my
>> tests. With some trouble...
>>
>> My main wiki is https://abc.aphp.fr (but the "secure" setting is 0, the
>> https is managed in Apache in front of Tomcat).
>> When I created a new wiki with domain "abc.aphp.fr/test2" creation was
>> OK, but the proposed URL is :
>> "http://abc.aphp.fr/test2/xwiki/bin/view/Main";.
>> So I put the "Secure" setting to 1 and save, and then the proposed URL is :
>> "https://abc.aphp.fr/test2:80/xwiki/bin/view/Main";.
>>
>> Good for the "https", but why ":80" is added to the wiki name ?
>> I know that kind of domain is not supported now, but I just don't
>> understand : If I check "secure", I don't need to be redirected to the
>> 80 port.
>>
>> Then I tried to add a new wiki on another sub-domain : "test3.aphp.fr",
>> and after checking the "secure" to 1, I get the URL :
>> "https://test3.aphp.fr:80/xwiki/bin/view/Main/";. Same problem.
>>
>> Is that normal ? I just don't understand.
> 
> No I think this is not normal, it seems there is a problems in XWiki
> Platform URL factory.
> 
>> Thomas Mortagne a écrit :
>> ...
> 4) all my needed wikis will be in "https". Or when I create a new wiki,
> it seems to be created in "http" only. Is there a way to create then in
> https ? Is there a way, after creation, to change the "http" to "https" ?
>>> In the wiki descriptor you can enable the "Secure" field which
>>> indicate that all URL of this wiki will be generated using "https" in
>>> place of "http".
>> --
>> __
>>  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
>>
> 
> 
> 

-- 
__
  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] Manage wikis : error while deleting

2008-06-16 Thread Thomas Mortagne
On Mon, Jun 16, 2008 at 3:29 PM, Gaëtan GUYODO
<[EMAIL PROTECTED]> wrote:
> Thanks Thomas for these informations, I played with "secure" in my
> tests. With some trouble...
>
> My main wiki is https://abc.aphp.fr (but the "secure" setting is 0, the
> https is managed in Apache in front of Tomcat).
> When I created a new wiki with domain "abc.aphp.fr/test2" creation was
> OK, but the proposed URL is :
> "http://abc.aphp.fr/test2/xwiki/bin/view/Main";.
> So I put the "Secure" setting to 1 and save, and then the proposed URL is :
> "https://abc.aphp.fr/test2:80/xwiki/bin/view/Main";.
>
> Good for the "https", but why ":80" is added to the wiki name ?
> I know that kind of domain is not supported now, but I just don't
> understand : If I check "secure", I don't need to be redirected to the
> 80 port.
>
> Then I tried to add a new wiki on another sub-domain : "test3.aphp.fr",
> and after checking the "secure" to 1, I get the URL :
> "https://test3.aphp.fr:80/xwiki/bin/view/Main/";. Same problem.
>
> Is that normal ? I just don't understand.

No I think this is not normal, it seems there is a problems in XWiki
Platform URL factory.

>
> Thomas Mortagne a écrit :
> ...
 4) all my needed wikis will be in "https". Or when I create a new wiki,
 it seems to be created in "http" only. Is there a way to create then in
 https ? Is there a way, after creation, to change the "http" to "https" ?
>>
>> In the wiki descriptor you can enable the "Secure" field which
>> indicate that all URL of this wiki will be generated using "https" in
>> place of "http".
>
> --
> __
>  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
>



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


Re: [xwiki-users] Manage wikis : error while deleting

2008-06-16 Thread Gaëtan GUYODO
Thanks Thomas for these informations, I played with "secure" in my 
tests. With some trouble...

My main wiki is https://abc.aphp.fr (but the "secure" setting is 0, the 
https is managed in Apache in front of Tomcat).
When I created a new wiki with domain "abc.aphp.fr/test2" creation was 
OK, but the proposed URL is : 
"http://abc.aphp.fr/test2/xwiki/bin/view/Main";.
So I put the "Secure" setting to 1 and save, and then the proposed URL is :
"https://abc.aphp.fr/test2:80/xwiki/bin/view/Main";.

Good for the "https", but why ":80" is added to the wiki name ?
I know that kind of domain is not supported now, but I just don't 
understand : If I check "secure", I don't need to be redirected to the 
80 port.

Then I tried to add a new wiki on another sub-domain : "test3.aphp.fr", 
and after checking the "secure" to 1, I get the URL : 
"https://test3.aphp.fr:80/xwiki/bin/view/Main/";. Same problem.

Is that normal ? I just don't understand.

Thomas Mortagne a écrit :
...
>>> 4) all my needed wikis will be in "https". Or when I create a new wiki,
>>> it seems to be created in "http" only. Is there a way to create then in
>>> https ? Is there a way, after creation, to change the "http" to "https" ?
> 
> In the wiki descriptor you can enable the "Secure" field which
> indicate that all URL of this wiki will be generated using "https" in
> place of "http".

-- 
__
  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] Manage wikis : error while deleting

2008-06-16 Thread Gaëtan GUYODO
By the way, I made a mistake : for deleting a schema in Oracle, the good 
syntax is :
drop user x cascade;

I've just added that into the jira issue.

Thomas Mortagne a écrit :
> On Mon, Jun 16, 2008 at 2:30 PM, Gaëtan GUYODO
> <[EMAIL PROTECTED]> wrote:
>> I confirm I did not change the source code.
>> I tried oracle query in oracle database directly, so I can confirm
>> taht's the only way to delete a schema, but I didn't change anything
>> into xwiki. So I'll let someone else change source and make that patch,
>> I'm sorry.
>> I'll add comments to the jira issue.
> 
> Thanks
> 
>>
>> Thomas Mortagne a écrit :
>>> On Mon, Jun 16, 2008 at 1:34 PM, Sergiu Dumitriu <[EMAIL PROTECTED]> wrote:
 Hi,

 Gaëtan GUYODO wrote:
> HI, I have a few questions about that :
> 1) What do you need when you say "provid a patch" ? I'm sorry I'm not a
> java developper, I only can help you to find the reason of that deleting
> problem.
 If you did not change the XWiki source code in any way, then you probably 
 can't provide a patch now.
 Thomas assumed you tested these queries by executing them in the Java 
 source code.
>>> Yes.
>>>
> 2) If you need other things to eresolve it, I'm open to help you.
 If you knew a bit of Java, you could have integrated the queries in the 
 code; if that's not the
 case, then at least we know what is the right path to follow, and somebody 
 else will take care of this.
>>> I seen that Ruslan Shevchenko just created a jira issue about that at
>>> http://jira.xwiki.org/jira/browse/XWIKI-2468. Add comment here with
>>> all you found would be good already.
>>>
> 3) For test reasons, I dropped user wikitest (as described before) but I
> still see the "wikitest" wiki in my "Wikis you administrate" list. Where
> can I delete that manually to complete my deletion test ? If there's a
> file where I can find these informations, that can be a solution.
>>> Simple remove wikitests's descriptor you can find in the main wiki at
>>> XWiki/XWikiServerWikitests or simply click on the link associated to
>>> the descriptor in the wiki list on WikiManager/
>>>
> 4) all my needed wikis will be in "https". Or when I create a new wiki,
> it seems to be created in "http" only. Is there a way to create then in
> https ? Is there a way, after creation, to change the "http" to "https" ?
>>> In the wiki descriptor you can enable the "Secure" field which
>>> indicate that all URL of this wiki will be generated using "https" in
>>> place of "http".
>>>
 Thomas should know more about these.
 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

>>>
>>>
>> --
>> __
>>  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
>>
> 
> 
> 

-- 
__
  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] Manage wikis : error while deleting

2008-06-16 Thread Thomas Mortagne
On Mon, Jun 16, 2008 at 2:30 PM, Gaëtan GUYODO
<[EMAIL PROTECTED]> wrote:
> I confirm I did not change the source code.
> I tried oracle query in oracle database directly, so I can confirm
> taht's the only way to delete a schema, but I didn't change anything
> into xwiki. So I'll let someone else change source and make that patch,
> I'm sorry.
> I'll add comments to the jira issue.

Thanks

>
>
> Thomas Mortagne a écrit :
>> On Mon, Jun 16, 2008 at 1:34 PM, Sergiu Dumitriu <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>>
>>> Gaëtan GUYODO wrote:
 HI, I have a few questions about that :
 1) What do you need when you say "provid a patch" ? I'm sorry I'm not a
 java developper, I only can help you to find the reason of that deleting
 problem.
>>> If you did not change the XWiki source code in any way, then you probably 
>>> can't provide a patch now.
>>> Thomas assumed you tested these queries by executing them in the Java 
>>> source code.
>>
>> Yes.
>>
 2) If you need other things to eresolve it, I'm open to help you.
>>> If you knew a bit of Java, you could have integrated the queries in the 
>>> code; if that's not the
>>> case, then at least we know what is the right path to follow, and somebody 
>>> else will take care of this.
>>
>> I seen that Ruslan Shevchenko just created a jira issue about that at
>> http://jira.xwiki.org/jira/browse/XWIKI-2468. Add comment here with
>> all you found would be good already.
>>
 3) For test reasons, I dropped user wikitest (as described before) but I
 still see the "wikitest" wiki in my "Wikis you administrate" list. Where
 can I delete that manually to complete my deletion test ? If there's a
 file where I can find these informations, that can be a solution.
>>
>> Simple remove wikitests's descriptor you can find in the main wiki at
>> XWiki/XWikiServerWikitests or simply click on the link associated to
>> the descriptor in the wiki list on WikiManager/
>>
 4) all my needed wikis will be in "https". Or when I create a new wiki,
 it seems to be created in "http" only. Is there a way to create then in
 https ? Is there a way, after creation, to change the "http" to "https" ?
>>
>> In the wiki descriptor you can enable the "Secure" field which
>> indicate that all URL of this wiki will be generated using "https" in
>> place of "http".
>>
>>> Thomas should know more about these.
>>> --
>>> Sergiu Dumitriu
>>> http://purl.org/net/sergiu/
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>>
>>
>
> --
> __
>  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
>



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


Re: [xwiki-users] Manage wikis : error while deleting

2008-06-16 Thread Gaëtan GUYODO
I confirm I did not change the source code.
I tried oracle query in oracle database directly, so I can confirm 
taht's the only way to delete a schema, but I didn't change anything 
into xwiki. So I'll let someone else change source and make that patch, 
I'm sorry.
I'll add comments to the jira issue.


Thomas Mortagne a écrit :
> On Mon, Jun 16, 2008 at 1:34 PM, Sergiu Dumitriu <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Gaëtan GUYODO wrote:
>>> HI, I have a few questions about that :
>>> 1) What do you need when you say "provid a patch" ? I'm sorry I'm not a
>>> java developper, I only can help you to find the reason of that deleting
>>> problem.
>> If you did not change the XWiki source code in any way, then you probably 
>> can't provide a patch now.
>> Thomas assumed you tested these queries by executing them in the Java source 
>> code.
> 
> Yes.
> 
>>> 2) If you need other things to eresolve it, I'm open to help you.
>> If you knew a bit of Java, you could have integrated the queries in the 
>> code; if that's not the
>> case, then at least we know what is the right path to follow, and somebody 
>> else will take care of this.
> 
> I seen that Ruslan Shevchenko just created a jira issue about that at
> http://jira.xwiki.org/jira/browse/XWIKI-2468. Add comment here with
> all you found would be good already.
> 
>>> 3) For test reasons, I dropped user wikitest (as described before) but I
>>> still see the "wikitest" wiki in my "Wikis you administrate" list. Where
>>> can I delete that manually to complete my deletion test ? If there's a
>>> file where I can find these informations, that can be a solution.
> 
> Simple remove wikitests's descriptor you can find in the main wiki at
> XWiki/XWikiServerWikitests or simply click on the link associated to
> the descriptor in the wiki list on WikiManager/
> 
>>> 4) all my needed wikis will be in "https". Or when I create a new wiki,
>>> it seems to be created in "http" only. Is there a way to create then in
>>> https ? Is there a way, after creation, to change the "http" to "https" ?
> 
> In the wiki descriptor you can enable the "Secure" field which
> indicate that all URL of this wiki will be generated using "https" in
> place of "http".
> 
>> Thomas should know more about these.
>> --
>> Sergiu Dumitriu
>> http://purl.org/net/sergiu/
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> 
> 
> 

-- 
__
  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] Manage wikis : error while deleting

2008-06-16 Thread Thomas Mortagne
On Mon, Jun 16, 2008 at 1:34 PM, Sergiu Dumitriu <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Gaëtan GUYODO wrote:
>> HI, I have a few questions about that :
>> 1) What do you need when you say "provid a patch" ? I'm sorry I'm not a
>> java developper, I only can help you to find the reason of that deleting
>> problem.
>
> If you did not change the XWiki source code in any way, then you probably 
> can't provide a patch now.
> Thomas assumed you tested these queries by executing them in the Java source 
> code.

Yes.

>
>> 2) If you need other things to eresolve it, I'm open to help you.
>
> If you knew a bit of Java, you could have integrated the queries in the code; 
> if that's not the
> case, then at least we know what is the right path to follow, and somebody 
> else will take care of this.

I seen that Ruslan Shevchenko just created a jira issue about that at
http://jira.xwiki.org/jira/browse/XWIKI-2468. Add comment here with
all you found would be good already.

>
>> 3) For test reasons, I dropped user wikitest (as described before) but I
>> still see the "wikitest" wiki in my "Wikis you administrate" list. Where
>> can I delete that manually to complete my deletion test ? If there's a
>> file where I can find these informations, that can be a solution.

Simple remove wikitests's descriptor you can find in the main wiki at
XWiki/XWikiServerWikitests or simply click on the link associated to
the descriptor in the wiki list on WikiManager/

>> 4) all my needed wikis will be in "https". Or when I create a new wiki,
>> it seems to be created in "http" only. Is there a way to create then in
>> https ? Is there a way, after creation, to change the "http" to "https" ?

In the wiki descriptor you can enable the "Secure" field which
indicate that all URL of this wiki will be generated using "https" in
place of "http".

>
> Thomas should know more about these.
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> ___
> 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] Manage wikis : error while deleting

2008-06-16 Thread Sergiu Dumitriu
Hi,

Gaëtan GUYODO wrote:
> HI, I have a few questions about that :
> 1) What do you need when you say "provid a patch" ? I'm sorry I'm not a 
> java developper, I only can help you to find the reason of that deleting 
> problem.

If you did not change the XWiki source code in any way, then you probably can't 
provide a patch now. 
Thomas assumed you tested these queries by executing them in the Java source 
code.

> 2) If you need other things to eresolve it, I'm open to help you.

If you knew a bit of Java, you could have integrated the queries in the code; 
if that's not the 
case, then at least we know what is the right path to follow, and somebody else 
will take care of this.

> 3) For test reasons, I dropped user wikitest (as described before) but I 
> still see the "wikitest" wiki in my "Wikis you administrate" list. Where 
> can I delete that manually to complete my deletion test ? If there's a 
> file where I can find these informations, that can be a solution.
> 4) all my needed wikis will be in "https". Or when I create a new wiki, 
> it seems to be created in "http" only. Is there a way to create then in 
> https ? Is there a way, after creation, to change the "http" to "https" ?

Thomas should know more about these.
-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Manage wikis : error while deleting

2008-06-16 Thread Gaëtan GUYODO
HI, I have a few questions about that :
1) What do you need when you say "provid a patch" ? I'm sorry I'm not a 
java developper, I only can help you to find the reason of that deleting 
problem.
2) If you need other things to eresolve it, I'm open to help you.
3) For test reasons, I dropped user wikitest (as described before) but I 
still see the "wikitest" wiki in my "Wikis you administrate" list. Where 
can I delete that manually to complete my deletion test ? If there's a 
file where I can find these informations, that can be a solution.
4) all my needed wikis will be in "https". Or when I create a new wiki, 
it seems to be created in "http" only. Is there a way to create then in 
https ? Is there a way, after creation, to change the "http" to "https" ?
Thanks again,
Gaëtan


Thomas Mortagne a écrit :
> On Fri, Jun 13, 2008 at 4:45 PM, Gaëtan GUYODO
> <[EMAIL PROTECTED]> wrote:
>> OK, it seems to be very easy...
>> When xwiki creates a new schema, there's also a user (with the same
>> name) created into the database.
>> To delete the schema, the only way is to delete the oracle user.
>> Exemple :
>> My main wiki is "xwiki" with Oracle usere "xwiki" and oracle schema "xwiki".
>> I create a new wiki called "wikitest", that will crzate a schema
>> "wikitest" and an oracle user "wikitest".
>> To delete that schema, I have to delete the user "wikitest" using the
>> query :
>>
>> drop user wikitest cascade constraints
> 
> Great !
> 
>> However, I want to realise some tests before you change anything, just
>> to be sure that there's no problem with that solution, and I hav no time
>> today... I'll tell you next week, monday I think.
> 
> If you can provide a patch for it, I (or another committer) will take
> care of applying this quickly.
> 
>> Gaëtan
>>
>> Thomas Mortagne a écrit :
>>> On Fri, Jun 13, 2008 at 12:10 PM, Gaëtan GUYODO
>>> <[EMAIL PROTECTED]> wrote:
 I'm afraid it's 2)
 Oracle seems to consider that a schema should be the totality of objects
 owned by a specific user. The oracle solution is to drop concerned user
 (that will drop in cascade every owned objects).
>>> Ho ok.
>>>
 But that's not a solution in our case, because the user has multiple
 schemas.
 I just don't understand Oracle, because Oracle allow a user to create
 multiple schema, but doesn't allow to drop one of the owned schema.
 I'll try to get more information on how to resolve that problem and come
 back to you soon.
>>> Thanks
>>>
 Gaëtan

 Thomas Mortagne a écrit :
>> Wrapped Exception: ORA-00950: option DROP non valide
> Looks like :
> 1) you don't have right to delete the schema "testsicap" in Oracle
> 2) xwiki core does not use the correct query to delete the schema.
> Currently it's using : DROP SCHEMA testsicap
>
> If it's 2) it would be great that you add a issue in
> http://jira.xwiki.org/jira/browse/XWIKI indication that xwiki does not
> remove properly Oracle schemas and make a suggestion of what is better
> for Oracle.
>
>
> On Fri, Jun 13, 2008 at 10:54 AM, Gaëtan GUYODO
> <[EMAIL PROTECTED]> wrote:
>> Hi,
>> I have successfully created a wiki from XEM (Manager 1.2 installed on XE
>> 1.4.1, Tomcat 6, Oracle 10.2, Java 6).
>> After that, I tried to delete that wiki and I got that message :
>>
>> Error number 4001 in 4: Error while parsing velocity page
>> WikiManager.WebHome Wrapped Exception: Failed to evaluate content with
>> id Web Home
>>
>> Error number 4001 in 4: Error while parsing velocity page
>> WikiManager.WebHome
>> Wrapped Exception: Failed to evaluate content with id Web Home
>> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
>> parsing velocity page WikiManager.WebHome
>> Wrapped Exception: Failed to evaluate content with id Web Home
>>at
>> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:231)
>>at
>> com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93)
>>at
>> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:258)
>>at
>> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:182)
>>at com.xpn.xwiki.XWiki.include(XWiki.java:3512)
>>at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1372)
>>at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1338)
>>at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
>>at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>at java.lang.reflect.Method.invoke(Unknown Source)
>>at
>> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
>>at
>> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:24

Re: [xwiki-users] Manage wikis : error while deleting

2008-06-13 Thread Thomas Mortagne
On Fri, Jun 13, 2008 at 4:45 PM, Gaëtan GUYODO
<[EMAIL PROTECTED]> wrote:
> OK, it seems to be very easy...
> When xwiki creates a new schema, there's also a user (with the same
> name) created into the database.
> To delete the schema, the only way is to delete the oracle user.
> Exemple :
> My main wiki is "xwiki" with Oracle usere "xwiki" and oracle schema "xwiki".
> I create a new wiki called "wikitest", that will crzate a schema
> "wikitest" and an oracle user "wikitest".
> To delete that schema, I have to delete the user "wikitest" using the
> query :
>
> drop user wikitest cascade constraints

Great !

>
> However, I want to realise some tests before you change anything, just
> to be sure that there's no problem with that solution, and I hav no time
> today... I'll tell you next week, monday I think.

If you can provide a patch for it, I (or another committer) will take
care of applying this quickly.

>
> Gaëtan
>
> Thomas Mortagne a écrit :
>> On Fri, Jun 13, 2008 at 12:10 PM, Gaëtan GUYODO
>> <[EMAIL PROTECTED]> wrote:
>>> I'm afraid it's 2)
>>> Oracle seems to consider that a schema should be the totality of objects
>>> owned by a specific user. The oracle solution is to drop concerned user
>>> (that will drop in cascade every owned objects).
>>
>> Ho ok.
>>
>>> But that's not a solution in our case, because the user has multiple
>>> schemas.
>>> I just don't understand Oracle, because Oracle allow a user to create
>>> multiple schema, but doesn't allow to drop one of the owned schema.
>>> I'll try to get more information on how to resolve that problem and come
>>> back to you soon.
>>
>> Thanks
>>
>>> Gaëtan
>>>
>>> Thomas Mortagne a écrit :
> Wrapped Exception: ORA-00950: option DROP non valide
 Looks like :
 1) you don't have right to delete the schema "testsicap" in Oracle
 2) xwiki core does not use the correct query to delete the schema.
 Currently it's using : DROP SCHEMA testsicap

 If it's 2) it would be great that you add a issue in
 http://jira.xwiki.org/jira/browse/XWIKI indication that xwiki does not
 remove properly Oracle schemas and make a suggestion of what is better
 for Oracle.


 On Fri, Jun 13, 2008 at 10:54 AM, Gaëtan GUYODO
 <[EMAIL PROTECTED]> wrote:
> Hi,
> I have successfully created a wiki from XEM (Manager 1.2 installed on XE
> 1.4.1, Tomcat 6, Oracle 10.2, Java 6).
> After that, I tried to delete that wiki and I got that message :
>
> Error number 4001 in 4: Error while parsing velocity page
> WikiManager.WebHome Wrapped Exception: Failed to evaluate content with
> id Web Home
>
> Error number 4001 in 4: Error while parsing velocity page
> WikiManager.WebHome
> Wrapped Exception: Failed to evaluate content with id Web Home
> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
> parsing velocity page WikiManager.WebHome
> Wrapped Exception: Failed to evaluate content with id Web Home
>at
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:231)
>at
> com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93)
>at
> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:258)
>at
> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:182)
>at com.xpn.xwiki.XWiki.include(XWiki.java:3512)
>at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1372)
>at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1338)
>at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
>at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>at java.lang.reflect.Method.invoke(Unknown Source)
>at
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
>at
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
>at
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
>at
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
>at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
>at
> org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
>at
> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
>at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
>at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
>at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
>at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.r

Re: [xwiki-users] Manage wikis : error while deleting

2008-06-13 Thread Gaëtan GUYODO
Yes, but I just want to make some more tests to bu sure about the query 
to use for deleting wiki.

Sergiu Dumitriu a écrit :
> Gaëtan GUYODO wrote:
>> OK, it seems to be very easy...
>> When xwiki creates a new schema, there's also a user (with the same 
>> name) created into the database.
>> To delete the schema, the only way is to delete the oracle user.
>> Exemple :
>> My main wiki is "xwiki" with Oracle usere "xwiki" and oracle schema "xwiki".
>> I create a new wiki called "wikitest", that will crzate a schema 
>> "wikitest" and an oracle user "wikitest".
>> To delete that schema, I have to delete the user "wikitest" using the 
>> query :
>>
>> drop user wikitest cascade constraints
>>
>> However, I want to realise some tests before you change anything, just 
>> to be sure that there's no problem with that solution, and I hav no time 
>> today... I'll tell you next week, monday I think.
>>
> 
> http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements007.htm#sthref716
>  says 
> that indeed a user owns a single schema, so that is true.

-- 
__
  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] Manage wikis : error while deleting

2008-06-13 Thread Sergiu Dumitriu
Gaëtan GUYODO wrote:
> OK, it seems to be very easy...
> When xwiki creates a new schema, there's also a user (with the same 
> name) created into the database.
> To delete the schema, the only way is to delete the oracle user.
> Exemple :
> My main wiki is "xwiki" with Oracle usere "xwiki" and oracle schema "xwiki".
> I create a new wiki called "wikitest", that will crzate a schema 
> "wikitest" and an oracle user "wikitest".
> To delete that schema, I have to delete the user "wikitest" using the 
> query :
> 
> drop user wikitest cascade constraints
> 
> However, I want to realise some tests before you change anything, just 
> to be sure that there's no problem with that solution, and I hav no time 
> today... I'll tell you next week, monday I think.
> 

http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements007.htm#sthref716
 says 
that indeed a user owns a single schema, so that is true.
-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Manage wikis : error while deleting

2008-06-13 Thread Gaëtan GUYODO
OK, it seems to be very easy...
When xwiki creates a new schema, there's also a user (with the same 
name) created into the database.
To delete the schema, the only way is to delete the oracle user.
Exemple :
My main wiki is "xwiki" with Oracle usere "xwiki" and oracle schema "xwiki".
I create a new wiki called "wikitest", that will crzate a schema 
"wikitest" and an oracle user "wikitest".
To delete that schema, I have to delete the user "wikitest" using the 
query :

drop user wikitest cascade constraints

However, I want to realise some tests before you change anything, just 
to be sure that there's no problem with that solution, and I hav no time 
today... I'll tell you next week, monday I think.

Gaëtan

Thomas Mortagne a écrit :
> On Fri, Jun 13, 2008 at 12:10 PM, Gaëtan GUYODO
> <[EMAIL PROTECTED]> wrote:
>> I'm afraid it's 2)
>> Oracle seems to consider that a schema should be the totality of objects
>> owned by a specific user. The oracle solution is to drop concerned user
>> (that will drop in cascade every owned objects).
> 
> Ho ok.
> 
>> But that's not a solution in our case, because the user has multiple
>> schemas.
>> I just don't understand Oracle, because Oracle allow a user to create
>> multiple schema, but doesn't allow to drop one of the owned schema.
>> I'll try to get more information on how to resolve that problem and come
>> back to you soon.
> 
> Thanks
> 
>> Gaëtan
>>
>> Thomas Mortagne a écrit :
 Wrapped Exception: ORA-00950: option DROP non valide
>>> Looks like :
>>> 1) you don't have right to delete the schema "testsicap" in Oracle
>>> 2) xwiki core does not use the correct query to delete the schema.
>>> Currently it's using : DROP SCHEMA testsicap
>>>
>>> If it's 2) it would be great that you add a issue in
>>> http://jira.xwiki.org/jira/browse/XWIKI indication that xwiki does not
>>> remove properly Oracle schemas and make a suggestion of what is better
>>> for Oracle.
>>>
>>>
>>> On Fri, Jun 13, 2008 at 10:54 AM, Gaëtan GUYODO
>>> <[EMAIL PROTECTED]> wrote:
 Hi,
 I have successfully created a wiki from XEM (Manager 1.2 installed on XE
 1.4.1, Tomcat 6, Oracle 10.2, Java 6).
 After that, I tried to delete that wiki and I got that message :

 Error number 4001 in 4: Error while parsing velocity page
 WikiManager.WebHome Wrapped Exception: Failed to evaluate content with
 id Web Home

 Error number 4001 in 4: Error while parsing velocity page
 WikiManager.WebHome
 Wrapped Exception: Failed to evaluate content with id Web Home
 com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
 parsing velocity page WikiManager.WebHome
 Wrapped Exception: Failed to evaluate content with id Web Home
at
 com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:231)
at
 com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93)
at
 com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:258)
at
 com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:182)
at com.xpn.xwiki.XWiki.include(XWiki.java:3512)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1372)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1338)
at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
 org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
 org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at
 org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
 org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
 org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
 org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at
 org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at
 org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at
 org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at
 org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at
 org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at
 org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
 org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:145)
at
 org.xwiki.velocity.DefaultVelocityEngine.evaluate

Re: [xwiki-users] Manage wikis : error while deleting

2008-06-13 Thread Thomas Mortagne
On Fri, Jun 13, 2008 at 12:10 PM, Gaëtan GUYODO
<[EMAIL PROTECTED]> wrote:
> I'm afraid it's 2)
> Oracle seems to consider that a schema should be the totality of objects
> owned by a specific user. The oracle solution is to drop concerned user
> (that will drop in cascade every owned objects).

Ho ok.

> But that's not a solution in our case, because the user has multiple
> schemas.
> I just don't understand Oracle, because Oracle allow a user to create
> multiple schema, but doesn't allow to drop one of the owned schema.
> I'll try to get more information on how to resolve that problem and come
> back to you soon.

Thanks

>
> Gaëtan
>
> Thomas Mortagne a écrit :
>>> Wrapped Exception: ORA-00950: option DROP non valide
>>
>> Looks like :
>> 1) you don't have right to delete the schema "testsicap" in Oracle
>> 2) xwiki core does not use the correct query to delete the schema.
>> Currently it's using : DROP SCHEMA testsicap
>>
>> If it's 2) it would be great that you add a issue in
>> http://jira.xwiki.org/jira/browse/XWIKI indication that xwiki does not
>> remove properly Oracle schemas and make a suggestion of what is better
>> for Oracle.
>>
>>
>> On Fri, Jun 13, 2008 at 10:54 AM, Gaëtan GUYODO
>> <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>> I have successfully created a wiki from XEM (Manager 1.2 installed on XE
>>> 1.4.1, Tomcat 6, Oracle 10.2, Java 6).
>>> After that, I tried to delete that wiki and I got that message :
>>>
>>> Error number 4001 in 4: Error while parsing velocity page
>>> WikiManager.WebHome Wrapped Exception: Failed to evaluate content with
>>> id Web Home
>>>
>>> Error number 4001 in 4: Error while parsing velocity page
>>> WikiManager.WebHome
>>> Wrapped Exception: Failed to evaluate content with id Web Home
>>> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
>>> parsing velocity page WikiManager.WebHome
>>> Wrapped Exception: Failed to evaluate content with id Web Home
>>>at
>>> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:231)
>>>at
>>> com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93)
>>>at
>>> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:258)
>>>at
>>> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:182)
>>>at com.xpn.xwiki.XWiki.include(XWiki.java:3512)
>>>at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1372)
>>>at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1338)
>>>at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
>>>at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>at java.lang.reflect.Method.invoke(Unknown Source)
>>>at
>>> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
>>>at
>>> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
>>>at
>>> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
>>>at
>>> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
>>>at
>>> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
>>>at
>>> org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
>>>at
>>> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
>>>at
>>> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
>>>at
>>> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
>>>at
>>> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
>>>at
>>> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
>>>at
>>> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
>>>at
>>> org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:145)
>>>at
>>> org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:117)
>>>at
>>> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:226)
>>>at
>>> com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93)
>>>at
>>> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:258)
>>>at
>>> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:182)
>>>at
>>> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:151)
>>>at
>>> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:140)
>>>at
>>> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:423)
>>>at com.xpn.xwiki.api.Document.getR

Re: [xwiki-users] Manage wikis : error while deleting

2008-06-13 Thread Gaëtan GUYODO
I'm afraid it's 2)
Oracle seems to consider that a schema should be the totality of objects 
owned by a specific user. The oracle solution is to drop concerned user 
(that will drop in cascade every owned objects).
But that's not a solution in our case, because the user has multiple 
schemas.
I just don't understand Oracle, because Oracle allow a user to create 
multiple schema, but doesn't allow to drop one of the owned schema.
I'll try to get more information on how to resolve that problem and come 
back to you soon.

Gaëtan

Thomas Mortagne a écrit :
>> Wrapped Exception: ORA-00950: option DROP non valide
> 
> Looks like :
> 1) you don't have right to delete the schema "testsicap" in Oracle
> 2) xwiki core does not use the correct query to delete the schema.
> Currently it's using : DROP SCHEMA testsicap
> 
> If it's 2) it would be great that you add a issue in
> http://jira.xwiki.org/jira/browse/XWIKI indication that xwiki does not
> remove properly Oracle schemas and make a suggestion of what is better
> for Oracle.
> 
> 
> On Fri, Jun 13, 2008 at 10:54 AM, Gaëtan GUYODO
> <[EMAIL PROTECTED]> wrote:
>> Hi,
>> I have successfully created a wiki from XEM (Manager 1.2 installed on XE
>> 1.4.1, Tomcat 6, Oracle 10.2, Java 6).
>> After that, I tried to delete that wiki and I got that message :
>>
>> Error number 4001 in 4: Error while parsing velocity page
>> WikiManager.WebHome Wrapped Exception: Failed to evaluate content with
>> id Web Home
>>
>> Error number 4001 in 4: Error while parsing velocity page
>> WikiManager.WebHome
>> Wrapped Exception: Failed to evaluate content with id Web Home
>> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
>> parsing velocity page WikiManager.WebHome
>> Wrapped Exception: Failed to evaluate content with id Web Home
>>at
>> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:231)
>>at
>> com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93)
>>at
>> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:258)
>>at
>> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:182)
>>at com.xpn.xwiki.XWiki.include(XWiki.java:3512)
>>at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1372)
>>at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1338)
>>at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
>>at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>at java.lang.reflect.Method.invoke(Unknown Source)
>>at
>> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
>>at
>> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
>>at
>> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
>>at
>> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
>>at
>> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
>>at
>> org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
>>at
>> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
>>at
>> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
>>at
>> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
>>at
>> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
>>at
>> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
>>at
>> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
>>at
>> org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:145)
>>at
>> org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:117)
>>at
>> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:226)
>>at
>> com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93)
>>at
>> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:258)
>>at
>> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:182)
>>at
>> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:151)
>>at
>> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:140)
>>at
>> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:423)
>>at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371)
>>at sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source)
>>at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>a

Re: [xwiki-users] Manage wikis : error while deleting

2008-06-13 Thread Thomas Mortagne
> Wrapped Exception: ORA-00950: option DROP non valide

Looks like :
1) you don't have right to delete the schema "testsicap" in Oracle
2) xwiki core does not use the correct query to delete the schema.
Currently it's using : DROP SCHEMA testsicap

If it's 2) it would be great that you add a issue in
http://jira.xwiki.org/jira/browse/XWIKI indication that xwiki does not
remove properly Oracle schemas and make a suggestion of what is better
for Oracle.


On Fri, Jun 13, 2008 at 10:54 AM, Gaëtan GUYODO
<[EMAIL PROTECTED]> wrote:
> Hi,
> I have successfully created a wiki from XEM (Manager 1.2 installed on XE
> 1.4.1, Tomcat 6, Oracle 10.2, Java 6).
> After that, I tried to delete that wiki and I got that message :
>
> Error number 4001 in 4: Error while parsing velocity page
> WikiManager.WebHome Wrapped Exception: Failed to evaluate content with
> id Web Home
>
> Error number 4001 in 4: Error while parsing velocity page
> WikiManager.WebHome
> Wrapped Exception: Failed to evaluate content with id Web Home
> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
> parsing velocity page WikiManager.WebHome
> Wrapped Exception: Failed to evaluate content with id Web Home
>at
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:231)
>at
> com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93)
>at
> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:258)
>at
> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:182)
>at com.xpn.xwiki.XWiki.include(XWiki.java:3512)
>at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1372)
>at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1338)
>at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
>at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>at java.lang.reflect.Method.invoke(Unknown Source)
>at
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
>at
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
>at
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
>at
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
>at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
>at
> org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
>at
> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
>at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
>at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
>at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
>at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
>at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
>at
> org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:145)
>at
> org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:117)
>at
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:226)
>at
> com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93)
>at
> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:258)
>at
> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:182)
>at
> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:151)
>at
> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:140)
>at
> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:423)
>at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371)
>at sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source)
>at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>at java.lang.reflect.Method.invoke(Unknown Source)
>at
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
>at
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
>at
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
>at
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
>at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
>at
> org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:145)
>at
> org.xwiki.ve