Re: [xwiki-users] virtual workspaces

2008-09-30 Thread Dan Svoboda
Jerome,

I think I now have it working. I edited the database by changing the  
xwd_author, xwd_content_author, and xwd_creator fields in all entries  
in the xwikidoc table from 'XWiki.Admin' to 'xwiki:XWiki.Admin'.

e.g. UPDATE XWIKIDOC SET XWD_AUTHOR = 'xwiki:XWiki.Admin' WHERE 1=1;

I can create the main workspace, and other workspaces. I can also  
promote Simple members to Power user or Global admin.

Do you think I'll run into problems using this workaround?

Thanks,

Dan

On Sep 29, 2008, at 11:57 AM, Jerome Velociter wrote:

> Are you now able to create the organization space ?
>
> Jerome.
>
> Dan Svoboda wrote:
>> Here's something that's going to be confusing. I wanted to make  
>> sure that the result from my previous post was not due to an error  
>> in the way I created the workspaces site from xem. So, I repeated  
>> the site creation, and ran the same script.
>>
>> Result: xwiki:XWiki.Admin
>> Dan
>>
>>
>> On Sep 29, 2008, at 12:39 PM, Dan Svoboda wrote:
>>
>>> I ran this in workspaces:
>>>
>>> $xwiki.getDocument("XWSCode.CreateOrgSpace").author
>>>
>>> Result:
>>>
>>> XWiki.XWikiGuest
>>> Dan
>>>
>>>
>>> On Sep 29, 2008, at 10:57 AM, Jerome Velociter wrote:
>>>
 Indeed, it must be something else, and I could not reproduce this  
 behavior :(

 Could you run the following line from the manager wiki, and  
 verify it is actually "xwiki:XWiki.Admin" and not "XWiki.Admin" :

 $xwiki.getDocument("yourwiki:XWSCode.CreateNewWorkspace").author

 (where yourwiki is the wiki identifier you used for the  
 workspaces wiki).
 Also, can you look into the logs of the web app to see if there  
 is anything suspicious ?

 Thanks,
 Jerome.

 Dan Svoboda wrote:
> The answer is 4
>
> So I guess I have programming rights, and there's some other  
> problem.
>
> Dan
>
>
> On Sep 29, 2008, at 10:33 AM, Jerome Velociter wrote:
>
>> <% print 2 + 2 %>
>



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


Re: [xwiki-users] virtual workspaces

2008-09-29 Thread Jerome Velociter
Are you now able to create the organization space ?

Jerome.

Dan Svoboda wrote:
> Here's something that's going to be confusing. I wanted to make sure 
> that the result from my previous post was not due to an error in the 
> way I created the workspaces site from xem. So, I repeated the site 
> creation, and ran the same script.
>
> Result: xwiki:XWiki.Admin 
>
> Dan
>
>
> On Sep 29, 2008, at 12:39 PM, Dan Svoboda wrote:
>
>> I ran this in workspaces:
>>
>> $xwiki.getDocument("XWSCode.CreateOrgSpace").author
>>
>> Result:
>>
>> XWiki.XWikiGuest 
>>
>> Dan
>>
>>
>> On Sep 29, 2008, at 10:57 AM, Jerome Velociter wrote:
>>
>>> Indeed, it must be something else, and I could not reproduce this 
>>> behavior :(
>>>
>>> Could you run the following line from the manager wiki, and verify 
>>> it is actually "xwiki:XWiki.Admin" and not "XWiki.Admin" :
>>>
>>> $xwiki.getDocument("yourwiki:XWSCode.CreateNewWorkspace").author
>>>
>>> (where yourwiki is the wiki identifier you used for the workspaces 
>>> wiki).
>>> Also, can you look into the logs of the web app to see if there is 
>>> anything suspicious ?
>>>
>>> Thanks,
>>> Jerome.
>>>
>>> Dan Svoboda wrote:
 The answer is 4

 So I guess I have programming rights, and there's some other problem.

 Dan


 On Sep 29, 2008, at 10:33 AM, Jerome Velociter wrote:

> <% print 2 + 2 %>

 *Dan Svoboda*
 *Research Assistant Professor*
 *U Pitt Center for HIV Protein Interactions*
 *(412)648-7262*
 [EMAIL PROTECTED]  
 *



>>>
>>>
>>
>> *Dan Svoboda*
>> *Research Assistant Professor*
>> *U Pitt Center for HIV Protein Interactions*
>> *(412)648-7262*
>> [EMAIL PROTECTED] *
>>
>>
>>
>
> *Dan Svoboda*
> *Research Assistant Professor*
> *U Pitt Center for HIV Protein Interactions*
> *(412)648-7262*
> [EMAIL PROTECTED] *
>
>
>

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


Re: [xwiki-users] virtual workspaces

2008-09-29 Thread Dan Svoboda
Here's something that's going to be confusing. I wanted to make sure  
that the result from my previous post was not due to an error in the  
way I created the workspaces site from xem. So, I repeated the site  
creation, and ran the same script.

Result: xwiki:XWiki.Admin

Dan


On Sep 29, 2008, at 12:39 PM, Dan Svoboda wrote:

> I ran this in workspaces:
>
> $xwiki.getDocument("XWSCode.CreateOrgSpace").author
>
> Result:
>
> XWiki.XWikiGuest
>
> Dan
>
>
> On Sep 29, 2008, at 10:57 AM, Jerome Velociter wrote:
>
>> Indeed, it must be something else, and I could not reproduce this  
>> behavior :(
>>
>> Could you run the following line from the manager wiki, and verify  
>> it is actually "xwiki:XWiki.Admin" and not "XWiki.Admin" :
>>
>> $xwiki.getDocument("yourwiki:XWSCode.CreateNewWorkspace").author
>>
>> (where yourwiki is the wiki identifier you used for the workspaces  
>> wiki).
>> Also, can you look into the logs of the web app to see if there is  
>> anything suspicious ?
>>
>> Thanks,
>> Jerome.
>>
>> Dan Svoboda wrote:
>>> The answer is 4
>>>
>>> So I guess I have programming rights, and there's some other  
>>> problem.
>>>
>>> Dan
>>>
>>>
>>> On Sep 29, 2008, at 10:33 AM, Jerome Velociter wrote:
>>>
 <% print 2 + 2 %>
>>>
>>> *Dan Svoboda*
>>> *Research Assistant Professor*
>>> *U Pitt Center for HIV Protein Interactions*
>>> *(412)648-7262*
>>> [EMAIL PROTECTED] *
>>>
>>>
>>>
>>
>>
>
> Dan Svoboda
> Research Assistant Professor
> U Pitt Center for HIV Protein Interactions
> (412)648-7262
> [EMAIL PROTECTED]
>
>
>

Dan Svoboda
Research Assistant Professor
U Pitt Center for HIV Protein Interactions
(412)648-7262
[EMAIL PROTECTED]



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


Re: [xwiki-users] virtual workspaces

2008-09-29 Thread Dan Svoboda
I ran this in workspaces:

$xwiki.getDocument("XWSCode.CreateOrgSpace").author

Result:

XWiki.XWikiGuest

Dan


On Sep 29, 2008, at 10:57 AM, Jerome Velociter wrote:

> Indeed, it must be something else, and I could not reproduce this  
> behavior :(
>
> Could you run the following line from the manager wiki, and verify  
> it is actually "xwiki:XWiki.Admin" and not "XWiki.Admin" :
>
> $xwiki.getDocument("yourwiki:XWSCode.CreateNewWorkspace").author
>
> (where yourwiki is the wiki identifier you used for the workspaces  
> wiki).
> Also, can you look into the logs of the web app to see if there is  
> anything suspicious ?
>
> Thanks,
> Jerome.
>
> Dan Svoboda wrote:
>> The answer is 4
>>
>> So I guess I have programming rights, and there's some other problem.
>>
>> Dan
>>
>>
>> On Sep 29, 2008, at 10:33 AM, Jerome Velociter wrote:
>>
>>> <% print 2 + 2 %>
>>
>> *Dan Svoboda*
>> *Research Assistant Professor*
>> *U Pitt Center for HIV Protein Interactions*
>> *(412)648-7262*
>> [EMAIL PROTECTED] *
>>
>>
>>
>
>

Dan Svoboda
Research Assistant Professor
U Pitt Center for HIV Protein Interactions
(412)648-7262
[EMAIL PROTECTED]



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


Re: [xwiki-users] virtual workspaces

2008-09-29 Thread Dan Svoboda
here's what I get:

xwiki:XWiki.Admin

I don't see anything suspicious in the logs.

Dan


On Sep 29, 2008, at 10:57 AM, Jerome Velociter wrote:

> Indeed, it must be something else, and I could not reproduce this  
> behavior :(
>
> Could you run the following line from the manager wiki, and verify  
> it is actually "xwiki:XWiki.Admin" and not "XWiki.Admin" :
>
> $xwiki.getDocument("yourwiki:XWSCode.CreateNewWorkspace").author
>
> (where yourwiki is the wiki identifier you used for the workspaces  
> wiki).
> Also, can you look into the logs of the web app to see if there is  
> anything suspicious ?
>
> Thanks,
> Jerome.
>
> Dan Svoboda wrote:
>> The answer is 4
>>
>> So I guess I have programming rights, and there's some other problem.
>>
>> Dan
>>
>>
>> On Sep 29, 2008, at 10:33 AM, Jerome Velociter wrote:
>>
>>> <% print 2 + 2 %>
>>
>> *Dan Svoboda*
>> *Research Assistant Professor*
>> *U Pitt Center for HIV Protein Interactions*
>> *(412)648-7262*
>> [EMAIL PROTECTED] *
>>
>>
>>
>
>

Dan Svoboda
Research Assistant Professor
U Pitt Center for HIV Protein Interactions
(412)648-7262
[EMAIL PROTECTED]



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


Re: [xwiki-users] virtual workspaces

2008-09-29 Thread Jerome Velociter
Indeed, it must be something else, and I could not reproduce this 
behavior :(

Could you run the following line from the manager wiki, and verify it is 
actually "xwiki:XWiki.Admin" and not "XWiki.Admin" :

$xwiki.getDocument("yourwiki:XWSCode.CreateNewWorkspace").author

(where yourwiki is the wiki identifier you used for the workspaces wiki).
Also, can you look into the logs of the web app to see if there is 
anything suspicious ?

Thanks,
Jerome.

Dan Svoboda wrote:
> The answer is 4
>
> So I guess I have programming rights, and there's some other problem.
>
> Dan
>
>
> On Sep 29, 2008, at 10:33 AM, Jerome Velociter wrote:
>
>> <% print 2 + 2 %>
>
> *Dan Svoboda*
> *Research Assistant Professor*
> *U Pitt Center for HIV Protein Interactions*
> *(412)648-7262*
> [EMAIL PROTECTED] *
>
>
>

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


Re: [xwiki-users] virtual workspaces

2008-09-29 Thread Dan Svoboda
The answer is   4

So I guess I have programming rights, and there's some other problem.

Dan


On Sep 29, 2008, at 10:33 AM, Jerome Velociter wrote:

> <% print 2 + 2 %>

Dan Svoboda
Research Assistant Professor
U Pitt Center for HIV Protein Interactions
(412)648-7262
[EMAIL PROTECTED]



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


Re: [xwiki-users] virtual workspaces

2008-09-29 Thread Jerome Velociter
Ok. Them, could you verify your admin has programming rights ?
Just write the following in a wiki page (using the wiki editor) :

<% print 2 + 2 %>

If it is interpreted, then your user has programming rights (and then I 
wonder what your problem can be...), if not, he does not.

Jerome.

Dan Svoboda wrote:
> No, I started with a completely fresh workspaces. No local Admin user. 
> In fact, in the "Links" panel, the "My Profile" link points to the 
> Admin user on the xem site.
>
> Dan
>
> On Sep 29, 2008, at 10:03 AM, Jerome Velociter wrote:
>
>> Hello Dan,
>>
>> Better reply to the list than to myself directly so that knowledge is 
>> available for everybody and searchable through the archives.
>>
>> Concerning your problem, I have a question : did you imported the 
>> "prepared XAR" over an already imported XAR ? If this is the case, it 
>> means you were probably logged-in with the local administrator, and 
>> not the one from the manager wiki. In this case, you should first 
>> delete the local administrator (delete the XWiki.Admin page) and 
>> reimport the prepared xar, as global admin.
>>
>> Hope this help, tell me if it was your problem.
>>
>> Jerome.
>>
>> Dan Svoboda wrote:
>>> Jerome,
>>>
>>> Thanks for taking the time to write the tutorial.
>>>
>>> I believe that I've followed the instructions to the letter, but 
>>> still have the same result as before.
>>>
>>> I was a bit confused by the instruction to: "Connect to your newly 
>>> create wiki, and *login with the credentials of an administrator of 
>>> the manager wiki*."
>>>
>>> After creating the empty wiki from the wiki manager (logged in as 
>>> Admin), I then go directly to the new, empty wiki. I'm now able to 
>>> import the archive that was prepared according to your instructions, 
>>> by navigating to "/bin/admin/XWiki/Import". (Am I already logged in 
>>> correctly, or do I have to log out and re-log in as some other user 
>>> name? I tried xwiki:Admin, and that gave an error.)
>>>
>>> After importing the archive, I still can't create workspaces, the 
>>> Admin user is still listed as a Simple Member, and the arrows to 
>>> promote members to Power User or Global Admin are still not present.
>>>
>>> Cheers,
>>>
>>> Dan
>>>
 Hello Dan,

 Thank you for your interest in XWiki Workspaces.
 I took advantage of your question to write a complete tutorial on 
 how to setup a XWiki Workspaces farm:
 http://workspaces.xwiki.org/xwiki/bin/view/AdminGuide/VirtualXWikiWorkspacesFarm

 You had all the initial steps right, so you can jump directly to 
 the last section 
 (http://workspaces.xwiki.org/xwiki/bin/view/AdminGuide/VirtualXWikiWorkspacesFarm#HPreparingandimportingXWikiWorkspacesXAR)
  
 where I explain that several pages from the Workspaces XAR needs to 
 be saved with programming rights, and how you can "prepare" the XAR 
 to have this done automatically when importing it.

 A last step would be to create a template wiki or XAR package for a 
 smoother creation of XWiki Workspaces virtual instances. 
 Unfortunately we are sometimes facing an issue when doing this with 
 XWiki Workspaces, so I will only add this section once this is 
 resolved.

 Regards,
 Jerome.
>>>


 Dan Svoboda wrote:
> First time question.
>
> I've been using workspaces with success for several months. I'm 
> trying  to have several virtual xwiki-workspaces sites under the 
> enterprise  manager system.
>
> Here's what I've done:
>
> 1. created a site from a war file using xwiki-workspaces-web-1.2- 
> milestone-1.war
> 2. added the enterprise manager jar file to WEB-INF/lib
> 3. added a line in xwiki.cfg to activate enterprise manager 
> plugin;  set xwiki.virtual=1
> 4. created 'xwiki' database in mysql, gave xwiki user all rights 
> on  everything
> 5. started tomcat, and navigated to bin/main/view/WebHome
> 6. clicked on 'Administration' link, and arrived at the import page
> 7. imported xwiki-enterprise-manager-wiki-administrator-1.3.xar
> 8. created new site, giving Admin user all rights on new site, 
>  uploading xwiki-workspaces-wiki-1.2-milestone-1.xar
> 9. navigate to new site, and log in as Admin
>
> I used the workspaces war file for the main application since it 
> uses  v1.5.2 and enterprise manager war file would only supply v1.5.1
>
> Here's the problem:
>
> While the Admin user on the workspaces site can edit things, 
>  workspaces cannot be created. Moreover, on the user 
> administration  page, Administrator is listed as a simple member. 
> Also, the arrows to  promote members to power user or global admin 
> are missing. I'm able to  create users, but they're simple users 
> as well.
>
> Thank you in advance for any help you can provide.
>
> Dan

>>
>>
>
> *Dan Svoboda*
> *Research Assistant Pro

Re: [xwiki-users] virtual workspaces

2008-09-29 Thread Dan Svoboda
I just realized something else. I went to the rights management page  
in xem, and found that the Admin *user* did not have programming or  
admin rights. So, I checked those boxes and went through the site  
creation process, but still no joy. :-(

So, to summarize, I've made a new site owned by the global admin user  
who has programming and admin rights. But still the same on the  
workspaces site.

Dan

On Sep 29, 2008, at 10:07 AM, Jerome Velociter wrote:

> Dan Svoboda wrote:
>> Hi Jerome,
>>
>> Something just occurred to me.
>>
>> In the tutorial, you say: "XWiki Workspaces XAR contains several  
>> pages that needs to be saved with programming rights to work  
>> properly."
>>
>> But then, the only alteration to the XAR that you describe is to  
>> change the backupPack property from true to false. What are these  
>> "several pages", and how do I change the programming rights?
> I have no complete list of such pages as of today, I'll try to make  
> it when I have some time. The back up pack property affects the fact  
> that the author of imported page is the original one (the one  
> written in the XAR) when set to true, or the user actually doing the  
> import, when set to false.
> You can give programming rights from the RMUI of the manager wiki. 
> (http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement 
> )
>
> Regards,
> Jerome
>>
>> Cheers,
>>
>> Dan
>>
>> Begin forwarded message:
>>
>>> *From: *Dan Svoboda <[EMAIL PROTECTED] >> >>
>>> *Date: *September 29, 2008 10:44:29 AM EDT
>>> *To: [EMAIL PROTECTED] 
>>> *Subject: **Re: virtual workspaces*
>>>
>>> Jerome,
>>>
>>> Thanks for taking the time to write the tutorial.
>>>
>>> I believe that I've followed the instructions to the letter, but  
>>> still have the same result as before.
>>>
>>> I was a bit confused by the instruction to: "Connect to your newly  
>>> create wiki, and *login with the credentials of an administrator  
>>> of the manager wiki*."
>>>
>>> After creating the empty wiki from the wiki manager (logged in as  
>>> Admin), I then go directly to the new, empty wiki. I'm now able to  
>>> import the archive that was prepared according to your  
>>> instructions, by navigating to "/bin/admin/XWiki/Import". (Am I  
>>> already logged in correctly, or do I have to log out and re-log in  
>>> as some other user name? I tried xwiki:Admin, and that gave an  
>>> error.)
>>>
>>> After importing the archive, I still can't create workspaces, the  
>>> Admin user is still listed as a Simple Member, and the arrows to  
>>> promote members to Power User or Global Admin are still not present.
>>>
>>> Cheers,
>>>
>>> Dan
>>>
 Hello Dan,

 Thank you for your interest in XWiki Workspaces.
 I took advantage of your question to write a complete tutorial on  
 how to setup a XWiki Workspaces farm:
 http://workspaces.xwiki.org/xwiki/bin/view/AdminGuide/VirtualXWikiWorkspacesFarm

 You had all the initial steps right, so you can jump directly to  
 the last section 
 (http://workspaces.xwiki.org/xwiki/bin/view/AdminGuide/VirtualXWikiWorkspacesFarm#HPreparingandimportingXWikiWorkspacesXAR
  
 ) where I explain that several pages from the Workspaces XAR  
 needs to be saved with programming rights, and how you can  
 "prepare" the XAR to have this done automatically when importing  
 it.

 A last step would be to create a template wiki or XAR package for  
 a smoother creation of XWiki Workspaces virtual instances.  
 Unfortunately we are sometimes facing an issue when doing this  
 with XWiki Workspaces, so I will only add this section once this  
 is resolved.

 Regards,
 Jerome.
>>>


 Dan Svoboda wrote:
> First time question.
>
> I've been using workspaces with success for several months. I'm  
> trying  to have several virtual xwiki-workspaces sites under the  
> enterprise  manager system.
>
> Here's what I've done:
>
> 1. created a site from a war file using xwiki-workspaces- 
> web-1.2- milestone-1.war
> 2. added the enterprise manager jar file to WEB-INF/lib
> 3. added a line in xwiki.cfg to activate enterprise manager  
> plugin;  set xwiki.virtual=1
> 4. created 'xwiki' database in mysql, gave xwiki user all rights  
> on  everything
> 5. started tomcat, and navigated to bin/main/view/WebHome
> 6. clicked on 'Administration' link, and arrived at the import  
> page
> 7. imported xwiki-enterprise-manager-wiki-administrator-1.3.xar
> 8. created new site, giving Admin user all rights on new site,   
> uploading xwiki-workspaces-wiki-1.2-milestone-1.xar
> 9. navigate to new site, and log in as Admin
>
> I used the workspaces war file for the main application since it  
> uses  v1.5.2 and enterprise manager war file would only supply  
> v1.5.1
>
> Here's the 

Re: [xwiki-users] virtual workspaces

2008-09-29 Thread Dan Svoboda
No, I started with a completely fresh workspaces. No local Admin user.  
In fact, in the "Links" panel, the "My Profile" link points to the  
Admin user on the xem site.

Dan

On Sep 29, 2008, at 10:03 AM, Jerome Velociter wrote:

> Hello Dan,
>
> Better reply to the list than to myself directly so that knowledge  
> is available for everybody and searchable through the archives.
>
> Concerning your problem, I have a question : did you imported the  
> "prepared XAR" over an already imported XAR ? If this is the case,  
> it means you were probably logged-in with the local administrator,  
> and not the one from the manager wiki. In this case, you should  
> first delete the local administrator (delete the XWiki.Admin page)  
> and reimport the prepared xar, as global admin.
>
> Hope this help, tell me if it was your problem.
>
> Jerome.
>
> Dan Svoboda wrote:
>> Jerome,
>>
>> Thanks for taking the time to write the tutorial.
>>
>> I believe that I've followed the instructions to the letter, but  
>> still have the same result as before.
>>
>> I was a bit confused by the instruction to: "Connect to your newly  
>> create wiki, and *login with the credentials of an administrator of  
>> the manager wiki*."
>>
>> After creating the empty wiki from the wiki manager (logged in as  
>> Admin), I then go directly to the new, empty wiki. I'm now able to  
>> import the archive that was prepared according to your  
>> instructions, by navigating to "/bin/admin/XWiki/Import". (Am I  
>> already logged in correctly, or do I have to log out and re-log in  
>> as some other user name? I tried xwiki:Admin, and that gave an  
>> error.)
>>
>> After importing the archive, I still can't create workspaces, the  
>> Admin user is still listed as a Simple Member, and the arrows to  
>> promote members to Power User or Global Admin are still not present.
>>
>> Cheers,
>>
>> Dan
>>
>>> Hello Dan,
>>>
>>> Thank you for your interest in XWiki Workspaces.
>>> I took advantage of your question to write a complete tutorial on  
>>> how to setup a XWiki Workspaces farm:
>>> http://workspaces.xwiki.org/xwiki/bin/view/AdminGuide/VirtualXWikiWorkspacesFarm
>>>
>>> You had all the initial steps right, so you can jump directly to  
>>> the last section 
>>> (http://workspaces.xwiki.org/xwiki/bin/view/AdminGuide/VirtualXWikiWorkspacesFarm#HPreparingandimportingXWikiWorkspacesXAR
>>>  
>>> ) where I explain that several pages from the Workspaces XAR needs  
>>> to be saved with programming rights, and how you can "prepare" the  
>>> XAR to have this done automatically when importing it.
>>>
>>> A last step would be to create a template wiki or XAR package for  
>>> a smoother creation of XWiki Workspaces virtual instances.  
>>> Unfortunately we are sometimes facing an issue when doing this  
>>> with XWiki Workspaces, so I will only add this section once this  
>>> is resolved.
>>>
>>> Regards,
>>> Jerome.
>>
>>>
>>>
>>> Dan Svoboda wrote:
 First time question.

 I've been using workspaces with success for several months. I'm  
 trying  to have several virtual xwiki-workspaces sites under the  
 enterprise  manager system.

 Here's what I've done:

 1. created a site from a war file using xwiki-workspaces-web-1.2-  
 milestone-1.war
 2. added the enterprise manager jar file to WEB-INF/lib
 3. added a line in xwiki.cfg to activate enterprise manager  
 plugin;  set xwiki.virtual=1
 4. created 'xwiki' database in mysql, gave xwiki user all rights  
 on  everything
 5. started tomcat, and navigated to bin/main/view/WebHome
 6. clicked on 'Administration' link, and arrived at the import page
 7. imported xwiki-enterprise-manager-wiki-administrator-1.3.xar
 8. created new site, giving Admin user all rights on new site,   
 uploading xwiki-workspaces-wiki-1.2-milestone-1.xar
 9. navigate to new site, and log in as Admin

 I used the workspaces war file for the main application since it  
 uses  v1.5.2 and enterprise manager war file would only supply  
 v1.5.1

 Here's the problem:

 While the Admin user on the workspaces site can edit things,   
 workspaces cannot be created. Moreover, on the user  
 administration  page, Administrator is listed as a simple member.  
 Also, the arrows to  promote members to power user or global  
 admin are missing. I'm able to  create users, but they're simple  
 users as well.

 Thank you in advance for any help you can provide.

 Dan
>>>
>
>

Dan Svoboda
Research Assistant Professor
U Pitt Center for HIV Protein Interactions
(412)648-7262
[EMAIL PROTECTED]



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


Re: [xwiki-users] virtual workspaces

2008-09-29 Thread Jerome Velociter
Hello Dan,

Better reply to the list than to myself directly so that knowledge is 
available for everybody and searchable through the archives.

Concerning your problem, I have a question : did you imported the 
"prepared XAR" over an already imported XAR ? If this is the case, it 
means you were probably logged-in with the local administrator, and not 
the one from the manager wiki. In this case, you should first delete the 
local administrator (delete the XWiki.Admin page) and reimport the 
prepared xar, as global admin.

Hope this help, tell me if it was your problem.

Jerome.

Dan Svoboda wrote:
> Jerome,
>
> Thanks for taking the time to write the tutorial.
>
> I believe that I've followed the instructions to the letter, but still 
> have the same result as before.
>
> I was a bit confused by the instruction to: 
> "Connect to your newly create wiki, and *login with the credentials of 
> an administrator of the manager wiki*."
>
> After creating the empty wiki from the wiki manager (logged in as 
> Admin), I then go directly to the new, empty wiki. I'm now able to 
> import the archive that was prepared according to your instructions, 
> by navigating to "/bin/admin/XWiki/Import". (Am I already logged in 
> correctly, or do I have to log out and re-log in as some other user 
> name? I tried xwiki:Admin, and that gave an error.)
>
> After importing the archive, I still can't create workspaces, the 
> Admin user is still listed as a Simple Member, and the arrows to 
> promote members to Power User or Global Admin are still not present.
>
> Cheers,
>
> Dan
>
>> Hello Dan,
>>
>> Thank you for your interest in XWiki Workspaces.
>> I took advantage of your question to write a complete tutorial on how to 
>> setup a XWiki Workspaces farm:
>> http://workspaces.xwiki.org/xwiki/bin/view/AdminGuide/VirtualXWikiWorkspacesFarm
>>
>> You had all the initial steps right, so you can jump directly to the 
>> last section 
>> (http://workspaces.xwiki.org/xwiki/bin/view/AdminGuide/VirtualXWikiWorkspacesFarm#HPreparingandimportingXWikiWorkspacesXAR)
>>  
>> where I explain that several pages from the Workspaces XAR needs to be 
>> saved with programming rights, and how you can "prepare" the XAR to have 
>> this done automatically when importing it.
>>
>> A last step would be to create a template wiki or XAR package for a 
>> smoother creation of XWiki Workspaces virtual instances. Unfortunately 
>> we are sometimes facing an issue when doing this with XWiki Workspaces, 
>> so I will only add this section once this is resolved.
>>
>> Regards,
>> Jerome.
>
>>
>>
>> Dan Svoboda wrote:
>>> First time question.
>>>
>>> I've been using workspaces with success for several months. I'm trying  
>>> to have several virtual xwiki-workspaces sites under the enterprise  
>>> manager system.
>>>
>>> Here's what I've done:
>>>
>>> 1. created a site from a war file using xwiki-workspaces-web-1.2- 
>>> milestone-1.war
>>> 2. added the enterprise manager jar file to WEB-INF/lib
>>> 3. added a line in xwiki.cfg to activate enterprise manager plugin;  
>>> set xwiki.virtual=1
>>> 4. created 'xwiki' database in mysql, gave xwiki user all rights on  
>>> everything
>>> 5. started tomcat, and navigated to bin/main/view/WebHome
>>> 6. clicked on 'Administration' link, and arrived at the import page
>>> 7. imported xwiki-enterprise-manager-wiki-administrator-1.3.xar
>>> 8. created new site, giving Admin user all rights on new site,  
>>> uploading xwiki-workspaces-wiki-1.2-milestone-1.xar
>>> 9. navigate to new site, and log in as Admin
>>>
>>> I used the workspaces war file for the main application since it uses  
>>> v1.5.2 and enterprise manager war file would only supply v1.5.1
>>>
>>> Here's the problem:
>>>
>>> While the Admin user on the workspaces site can edit things,  
>>> workspaces cannot be created. Moreover, on the user administration  
>>> page, Administrator is listed as a simple member. Also, the arrows to  
>>> promote members to power user or global admin are missing. I'm able to  
>>> create users, but they're simple users as well.
>>>
>>> Thank you in advance for any help you can provide.
>>>
>>> Dan
>>

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


Re: [xwiki-users] virtual workspaces

2008-09-29 Thread Jerome Velociter
Hello Dan,

Thank you for your interest in XWiki Workspaces.
I took advantage of your question to write a complete tutorial on how to 
setup a XWiki Workspaces farm:
http://workspaces.xwiki.org/xwiki/bin/view/AdminGuide/VirtualXWikiWorkspacesFarm

You had all the initial steps right, so you can jump directly to the 
last section 
(http://workspaces.xwiki.org/xwiki/bin/view/AdminGuide/VirtualXWikiWorkspacesFarm#HPreparingandimportingXWikiWorkspacesXAR)
 
where I explain that several pages from the Workspaces XAR needs to be 
saved with programming rights, and how you can "prepare" the XAR to have 
this done automatically when importing it.

A last step would be to create a template wiki or XAR package for a 
smoother creation of XWiki Workspaces virtual instances. Unfortunately 
we are sometimes facing an issue when doing this with XWiki Workspaces, 
so I will only add this section once this is resolved.

Regards,
Jerome.


Dan Svoboda wrote:
> First time question.
>
> I've been using workspaces with success for several months. I'm trying  
> to have several virtual xwiki-workspaces sites under the enterprise  
> manager system.
>
> Here's what I've done:
>
> 1. created a site from a war file using xwiki-workspaces-web-1.2- 
> milestone-1.war
> 2. added the enterprise manager jar file to WEB-INF/lib
> 3. added a line in xwiki.cfg to activate enterprise manager plugin;  
> set xwiki.virtual=1
> 4. created 'xwiki' database in mysql, gave xwiki user all rights on  
> everything
> 5. started tomcat, and navigated to bin/main/view/WebHome
> 6. clicked on 'Administration' link, and arrived at the import page
> 7. imported xwiki-enterprise-manager-wiki-administrator-1.3.xar
> 8. created new site, giving Admin user all rights on new site,  
> uploading xwiki-workspaces-wiki-1.2-milestone-1.xar
> 9. navigate to new site, and log in as Admin
>
> I used the workspaces war file for the main application since it uses  
> v1.5.2 and enterprise manager war file would only supply v1.5.1
>
> Here's the problem:
>
> While the Admin user on the workspaces site can edit things,  
> workspaces cannot be created. Moreover, on the user administration  
> page, Administrator is listed as a simple member. Also, the arrows to  
> promote members to power user or global admin are missing. I'm able to  
> create users, but they're simple users as well.
>
> Thank you in advance for any help you can provide.
>
> Dan
>
>
> ___
> 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