Re: [xwiki-users] Logged in user can't see space's document index

2014-01-21 Thread Sunil Khiatani
Hi Clems,

Good guess.  The page would not load for this user.  I changed some permissions 
in the Main Space and now it's working fine.


Thanks for the help.


Regards,

Sunil


> On Tuesday, January 21, 2014 8:48 PM, Clemens Klein-Robbenhaar 
>  wrote:
> > On 01/21/2014 05:35 AM, Sunil Khiatani wrote:
> 
>>  Hi,
>> 
>>  When I'm not logged in, I can go to the Document Index and see a list 
> of all the pages.  However when I'm logged in as a normal user, I can still 
> visit the Document index of the same space, but I can't see any of the 
> pages? 
>> 
>>  I'm not sure what's going on.  I've checked the permissions but 
> they all seem OK.
>> 
> 
> Just a guess: is the page 
> http://hostname:8080/wiki/bin/view/XWiki/LiveTableResults
> visible for the "ordinary user"?
> This page is actually computing the results shown in the document index;
> wihout access to that page users get no results
> 
> Clemens
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Problems with Facebook like Button

2014-01-21 Thread Richard Hierlmeier


I have a Facebook like Button on my xwiki instance. When clicking on the 
button in facebook the following link is created:


http:///bin/view/Main/Sample?fb_action_ids=22334241213413241&fb_action_types=og.likes&fb_source=feed_opengraph&action_object_map={%22334241213413241%22%3A211180592403908}&action_type_map={%22334241213413241%22%3A%22og.likes%22}&action_ref_map=[]

However XWiki can not handle this link correctly. When clicking on it I 
get the following error message (it's in german language):


> Hinweis
>
> Während der Verarbeitung Ihrer Anfrage trat ein Problem auf. Bitte
> verständigen Sie den Webmaster, falls der Fehler erneut auftritt.

How can I solve this problem?

Regards

   Richard






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


Re: [xwiki-users] Configuration of Solr for multi instances in 1 container

2014-01-21 Thread Patrick Moens
Thanks for help Sergiu, I'll read the Solr documentation tonight and try
the installation tomorrow.

BR

Patrick


2014/1/21 Sergiu Dumitriu 

> That still won't work. Unfortunately XWiki is too greedy and completely
> takes over Solr, assuming that there's only one XWiki instance and that
> Solr serves only one purpose, holding that wiki's data. The best way to
> make 3 XWiki instances work is to install a separate standalone Solr
> webapp, configure the three cores in it, and then configure each XWiki
> instance to use the external Solr engine.
>
> On 01/21/2014 11:11 AM, Patrick Moens wrote:
> > Hi Marius,
> >
> > So it's set in start_xwiki.sh in a stand alone configuration. But I'm
> > deploying 3 war ( 3 instances) on a tomcat 6. So, where can I found the
> > xwiki.data.dir parameter?
> >
> > Patrick
> >
> >
> >
> > 2014/1/21 Marius Dumitru Florea 
> >
> >> The documentation for the environment.permanentDirectory configuration
> >> parameter says this (in xwiki.properties):
> >>
> >> "Note if the system property xwiki.data.dir is set then this property
> >> is not used."
> >>
> >> And xwiki.data.dir is set in start_xwiki.sh:
> >>
> >> # Location where XWiki stores generated data and where database files
> are.
> >> XWIKI_DATA_DIR=data
> >> XWIKI_OPTS="$XWIKI_OPTS -Dxwiki.data.dir=$XWIKI_DATA_DIR"
> >>
> >> So make sure you don't set xwiki.data.dir in your start script.
> >>
> >> Hope this helps,
> >> Marius
> >>
> >> On Tue, Jan 21, 2014 at 4:53 PM, Patrick Moens  >
> >> wrote:
> >>> Hi,
> >>>
> >>> I'm working on upgrade of our wiki 2.8 to 5.3 and at the same time ,
> >> moving
> >>> it to a new server with Tomcat and Oracle.
> >>>
> >>> The goal is to have 3 instances of wiki 5.3 on the same container
> >> (wikidgt,
> >>> wikioat and wikidir) .
> >>> I've configured the environment.permanentDirectory in xwiki.proprties
> >> with
> >>> 3 differents values :
> >>>
> >>> /opt/c/xwiki/data/wikidgt/
> >>> /opt/c/xwiki/data/wikioat/
> >>> /opt/c/xwiki/data/wikidir/
> >>>
> >>> but when I deploy the first instance (wikidgt), the log shows that the
> >> Solr
> >>> home directory is :
> >>>
> >>>
> >>
> /opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
> >>>
> >>>
> >>> 2014-01-21 15:37:00,420 17788 [http-8180-9] INFO
> >>> o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
> >>> 2014-01-21 15:37:00,447 17815 [http-8180-9] INFO
> >>> o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
> >>>
> >>
> /opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
> >>> 2014-01-21 15:37:12,536 29904 [http-8180-9] WARN
> >>> org.apache.solr.core.SolrCore - New index directory detected: old=null
> >>>
> >>
> new=/opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr/./data/index/
> >>> 2014-01-21 15:37:21,863 39231 [http-8180-9] INFO
> >>> o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server.
> >>> 2014-01-21 15:37:56,883 74251 [http-8180-9] INFO
> >>>
> >>> or if I understand the configuration of Solr in xwiki. properties , it
> >>> shoud be /opt/c/xwiki/data/wikidgt/solr
> >>>
> >>>
> >>>
> >>>
> >>> I tried to add this in the WEB-INF/web.xml file of each XWiki instance,
> >>> right after the root  element:
> >>>
> >>>   
> >>>solr/home
> >>>java.lang.String
> >>>
> >>  /opt/curia/xwiki/bin/wikidgt/solr
> >>>   
> >>>
> >>> but got this error (seems it did'nt change the solr home directory but
> >> the
> >>> solr CoreContainer directory :
> >>>
> >>> 2014-01-21 14:55:23,631 34465 [http-8180-9] INFO
> >>> o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
> >>> 2014-01-21 14:55:23,655 34489 [http-8180-9] INFO
> >>> o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
> >>>
> >>
> /opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
> >>> 2014-01-21 14:55:26,230 37064 [http-8180-9] ERROR
> >>> org.apache.solr.core.CoreContainer - Unable to create core: collection1
> >>> java.io.IOException: Can't find resource 'solrconfig.xml' in classpath
> or
> >>> '/opt/curia/xwiki/bin/wikidgt/solr/collection1/conf/',
> >>> cwd=/opt/apache/home/tomcat
> >>>
> >>>
> >>> and if I deploy the second instance , i got an
> >> "OverlappingFileLockException*"
> >>> *because the solr directory is the same for both instances.
> >>>
> >>>
> >>> However, other files (e.g., "extension" and "jobs"
> >>> directories) are being placed in the correct permanent direcrory.
>  i.e.,
> >> it
> >>> is only
> >>> SOLR that appears to be picking up an incorrect setting for
> >>> "environment.permanentDirectory".
> >>>
> >>>
> >>> Thanks for help
> >>>
> >>>
> >>> Patrick
>
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Patrick Moens

Portable LU : +352 661/461.459
Email : patrick.mo...@gmail.com
_

Re: [xwiki-users] Configuration of Solr for multi instances in 1 container

2014-01-21 Thread Sergiu Dumitriu
That still won't work. Unfortunately XWiki is too greedy and completely
takes over Solr, assuming that there's only one XWiki instance and that
Solr serves only one purpose, holding that wiki's data. The best way to
make 3 XWiki instances work is to install a separate standalone Solr
webapp, configure the three cores in it, and then configure each XWiki
instance to use the external Solr engine.

On 01/21/2014 11:11 AM, Patrick Moens wrote:
> Hi Marius,
> 
> So it's set in start_xwiki.sh in a stand alone configuration. But I'm
> deploying 3 war ( 3 instances) on a tomcat 6. So, where can I found the
> xwiki.data.dir parameter?
> 
> Patrick
> 
> 
> 
> 2014/1/21 Marius Dumitru Florea 
> 
>> The documentation for the environment.permanentDirectory configuration
>> parameter says this (in xwiki.properties):
>>
>> "Note if the system property xwiki.data.dir is set then this property
>> is not used."
>>
>> And xwiki.data.dir is set in start_xwiki.sh:
>>
>> # Location where XWiki stores generated data and where database files are.
>> XWIKI_DATA_DIR=data
>> XWIKI_OPTS="$XWIKI_OPTS -Dxwiki.data.dir=$XWIKI_DATA_DIR"
>>
>> So make sure you don't set xwiki.data.dir in your start script.
>>
>> Hope this helps,
>> Marius
>>
>> On Tue, Jan 21, 2014 at 4:53 PM, Patrick Moens 
>> wrote:
>>> Hi,
>>>
>>> I'm working on upgrade of our wiki 2.8 to 5.3 and at the same time ,
>> moving
>>> it to a new server with Tomcat and Oracle.
>>>
>>> The goal is to have 3 instances of wiki 5.3 on the same container
>> (wikidgt,
>>> wikioat and wikidir) .
>>> I've configured the environment.permanentDirectory in xwiki.proprties
>> with
>>> 3 differents values :
>>>
>>> /opt/c/xwiki/data/wikidgt/
>>> /opt/c/xwiki/data/wikioat/
>>> /opt/c/xwiki/data/wikidir/
>>>
>>> but when I deploy the first instance (wikidgt), the log shows that the
>> Solr
>>> home directory is :
>>>
>>>
>> /opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
>>>
>>>
>>> 2014-01-21 15:37:00,420 17788 [http-8180-9] INFO
>>> o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
>>> 2014-01-21 15:37:00,447 17815 [http-8180-9] INFO
>>> o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
>>>
>> /opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
>>> 2014-01-21 15:37:12,536 29904 [http-8180-9] WARN
>>> org.apache.solr.core.SolrCore - New index directory detected: old=null
>>>
>> new=/opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr/./data/index/
>>> 2014-01-21 15:37:21,863 39231 [http-8180-9] INFO
>>> o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server.
>>> 2014-01-21 15:37:56,883 74251 [http-8180-9] INFO
>>>
>>> or if I understand the configuration of Solr in xwiki. properties , it
>>> shoud be /opt/c/xwiki/data/wikidgt/solr
>>>
>>>
>>>
>>>
>>> I tried to add this in the WEB-INF/web.xml file of each XWiki instance,
>>> right after the root  element:
>>>
>>>   
>>>solr/home
>>>java.lang.String
>>>
>>  /opt/curia/xwiki/bin/wikidgt/solr
>>>   
>>>
>>> but got this error (seems it did'nt change the solr home directory but
>> the
>>> solr CoreContainer directory :
>>>
>>> 2014-01-21 14:55:23,631 34465 [http-8180-9] INFO
>>> o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
>>> 2014-01-21 14:55:23,655 34489 [http-8180-9] INFO
>>> o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
>>>
>> /opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
>>> 2014-01-21 14:55:26,230 37064 [http-8180-9] ERROR
>>> org.apache.solr.core.CoreContainer - Unable to create core: collection1
>>> java.io.IOException: Can't find resource 'solrconfig.xml' in classpath or
>>> '/opt/curia/xwiki/bin/wikidgt/solr/collection1/conf/',
>>> cwd=/opt/apache/home/tomcat
>>>
>>>
>>> and if I deploy the second instance , i got an
>> "OverlappingFileLockException*"
>>> *because the solr directory is the same for both instances.
>>>
>>>
>>> However, other files (e.g., "extension" and "jobs"
>>> directories) are being placed in the correct permanent direcrory.  i.e.,
>> it
>>> is only
>>> SOLR that appears to be picking up an incorrect setting for
>>> "environment.permanentDirectory".
>>>
>>>
>>> Thanks for help
>>>
>>>
>>> Patrick


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


Re: [xwiki-users] Configuration of Solr for multi instances in 1 container

2014-01-21 Thread Patrick Moens
Hi Marius,

So it's set in start_xwiki.sh in a stand alone configuration. But I'm
deploying 3 war ( 3 instances) on a tomcat 6. So, where can I found the
xwiki.data.dir parameter?

Patrick



2014/1/21 Marius Dumitru Florea 

> The documentation for the environment.permanentDirectory configuration
> parameter says this (in xwiki.properties):
>
> "Note if the system property xwiki.data.dir is set then this property
> is not used."
>
> And xwiki.data.dir is set in start_xwiki.sh:
>
> # Location where XWiki stores generated data and where database files are.
> XWIKI_DATA_DIR=data
> XWIKI_OPTS="$XWIKI_OPTS -Dxwiki.data.dir=$XWIKI_DATA_DIR"
>
> So make sure you don't set xwiki.data.dir in your start script.
>
> Hope this helps,
> Marius
>
> On Tue, Jan 21, 2014 at 4:53 PM, Patrick Moens 
> wrote:
> > Hi,
> >
> > I'm working on upgrade of our wiki 2.8 to 5.3 and at the same time ,
> moving
> > it to a new server with Tomcat and Oracle.
> >
> > The goal is to have 3 instances of wiki 5.3 on the same container
> (wikidgt,
> > wikioat and wikidir) .
> > I've configured the environment.permanentDirectory in xwiki.proprties
> with
> > 3 differents values :
> >
> > /opt/c/xwiki/data/wikidgt/
> > /opt/c/xwiki/data/wikioat/
> > /opt/c/xwiki/data/wikidir/
> >
> > but when I deploy the first instance (wikidgt), the log shows that the
> Solr
> > home directory is :
> >
> >
> /opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
> >
> >
> > 2014-01-21 15:37:00,420 17788 [http-8180-9] INFO
> > o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
> > 2014-01-21 15:37:00,447 17815 [http-8180-9] INFO
> > o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
> >
> /opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
> > 2014-01-21 15:37:12,536 29904 [http-8180-9] WARN
> > org.apache.solr.core.SolrCore - New index directory detected: old=null
> >
> new=/opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr/./data/index/
> > 2014-01-21 15:37:21,863 39231 [http-8180-9] INFO
> > o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server.
> > 2014-01-21 15:37:56,883 74251 [http-8180-9] INFO
> >
> > or if I understand the configuration of Solr in xwiki. properties , it
> > shoud be /opt/c/xwiki/data/wikidgt/solr
> >
> >
> >
> >
> > I tried to add this in the WEB-INF/web.xml file of each XWiki instance,
> > right after the root  element:
> >
> >   
> >solr/home
> >java.lang.String
> >
>  /opt/curia/xwiki/bin/wikidgt/solr
> >   
> >
> > but got this error (seems it did'nt change the solr home directory but
> the
> > solr CoreContainer directory :
> >
> > 2014-01-21 14:55:23,631 34465 [http-8180-9] INFO
> > o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
> > 2014-01-21 14:55:23,655 34489 [http-8180-9] INFO
> > o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
> >
> /opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
> > 2014-01-21 14:55:26,230 37064 [http-8180-9] ERROR
> > org.apache.solr.core.CoreContainer - Unable to create core: collection1
> > java.io.IOException: Can't find resource 'solrconfig.xml' in classpath or
> > '/opt/curia/xwiki/bin/wikidgt/solr/collection1/conf/',
> > cwd=/opt/apache/home/tomcat
> >
> >
> > and if I deploy the second instance , i got an
> "OverlappingFileLockException*"
> > *because the solr directory is the same for both instances.
> >
> >
> > However, other files (e.g., "extension" and "jobs"
> > directories) are being placed in the correct permanent direcrory.  i.e.,
> it
> > is only
> > SOLR that appears to be picking up an incorrect setting for
> > "environment.permanentDirectory".
> >
> >
> > Thanks for help
> >
> >
> > Patrick
> > ___
> > 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
>



-- 
Patrick Moens

Portable LU : +352 661/461.459
Email : patrick.mo...@gmail.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] empty Candidates list of rejected users.

2014-01-21 Thread Guillaume "Louis-Marie" Delhumeau
Hi Kelly.

The candidacies are located in the XWiki.XWikiAllGroup page of your
subwiki. See it with the object editor, and you can clean it.

I hope it helps,
Louis-Marie


2014/1/10 Kelly Steinke 

> I have set up a subwiki and have been doing a lot of testing regarding
> authentication which has left a large amount of test users in my Candidates
> list. Is there a way to remove these join requests from the admin section?
> I can't seem to get into the edit mode of the XWikiPreferences page for the
> user section.
>
> Thanks
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Configuration of Solr for multi instances in 1 container

2014-01-21 Thread Marius Dumitru Florea
The documentation for the environment.permanentDirectory configuration
parameter says this (in xwiki.properties):

"Note if the system property xwiki.data.dir is set then this property
is not used."

And xwiki.data.dir is set in start_xwiki.sh:

# Location where XWiki stores generated data and where database files are.
XWIKI_DATA_DIR=data
XWIKI_OPTS="$XWIKI_OPTS -Dxwiki.data.dir=$XWIKI_DATA_DIR"

So make sure you don't set xwiki.data.dir in your start script.

Hope this helps,
Marius

On Tue, Jan 21, 2014 at 4:53 PM, Patrick Moens  wrote:
> Hi,
>
> I'm working on upgrade of our wiki 2.8 to 5.3 and at the same time , moving
> it to a new server with Tomcat and Oracle.
>
> The goal is to have 3 instances of wiki 5.3 on the same container (wikidgt,
> wikioat and wikidir) .
> I've configured the environment.permanentDirectory in xwiki.proprties with
> 3 differents values :
>
> /opt/c/xwiki/data/wikidgt/
> /opt/c/xwiki/data/wikioat/
> /opt/c/xwiki/data/wikidir/
>
> but when I deploy the first instance (wikidgt), the log shows that the Solr
> home directory is :
>
> /opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
>
>
> 2014-01-21 15:37:00,420 17788 [http-8180-9] INFO
> o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
> 2014-01-21 15:37:00,447 17815 [http-8180-9] INFO
> o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
> /opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
> 2014-01-21 15:37:12,536 29904 [http-8180-9] WARN
> org.apache.solr.core.SolrCore - New index directory detected: old=null
> new=/opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr/./data/index/
> 2014-01-21 15:37:21,863 39231 [http-8180-9] INFO
> o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server.
> 2014-01-21 15:37:56,883 74251 [http-8180-9] INFO
>
> or if I understand the configuration of Solr in xwiki. properties , it
> shoud be /opt/c/xwiki/data/wikidgt/solr
>
>
>
>
> I tried to add this in the WEB-INF/web.xml file of each XWiki instance,
> right after the root  element:
>
>   
>solr/home
>java.lang.String
>/opt/curia/xwiki/bin/wikidgt/solr
>   
>
> but got this error (seems it did'nt change the solr home directory but the
> solr CoreContainer directory :
>
> 2014-01-21 14:55:23,631 34465 [http-8180-9] INFO
> o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
> 2014-01-21 14:55:23,655 34489 [http-8180-9] INFO
> o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
> /opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
> 2014-01-21 14:55:26,230 37064 [http-8180-9] ERROR
> org.apache.solr.core.CoreContainer - Unable to create core: collection1
> java.io.IOException: Can't find resource 'solrconfig.xml' in classpath or
> '/opt/curia/xwiki/bin/wikidgt/solr/collection1/conf/',
> cwd=/opt/apache/home/tomcat
>
>
> and if I deploy the second instance , i got an "OverlappingFileLockException*"
> *because the solr directory is the same for both instances.
>
>
> However, other files (e.g., "extension" and "jobs"
> directories) are being placed in the correct permanent direcrory.  i.e., it
> is only
> SOLR that appears to be picking up an incorrect setting for
> "environment.permanentDirectory".
>
>
> Thanks for help
>
>
> Patrick
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] User's Groups and/or Conference?

2014-01-21 Thread vinc...@massol.net

On 20 Jan 2014 at 10:52:27, Ecaterina Moraru (Valica) 
(vali...@gmail.com(mailto:vali...@gmail.com)) wrote:

> On Sat, Jan 18, 2014 at 3:05 PM, vinc...@massol.net wrote:  
>  
> > Thomas and I discussed this quickly and in our opinions we should instead  
> > create a small xwiki application to do that:  
> >  
> > * Add the ability to enter one’s location on his profile page on xwiki.org  
> >  
>  
> An alternative would be to take the location from github profile (since  
> most of us already have that information there and we could use other data  
> from git also).  

That wouldn’t fully work... We want to map xwiki users, not xwiki committers :)

Thanks
-Vincent

> Thanks,  
> Caty  
>  
>  
> > * Automatically put all filled user’s location in a map on a xwiki page  
> > (we can also use our user directory application to display user’s location  
> > in the livetable so that it can filtered by town/country for example).  
> >  
> > That shouldn’t be hard to do.  
> >  
> > WDYT?  
> >  
> > Thanks  
> > -Vincent  
> >  
> > On 18 Jan 2014 at 10:59:31, Hamster (teun...@hotmail.com) wrote:  
> >  
> > Added my location to XWiki on Google Maps  
> > <  
> > https://maps.google.com/maps/ms?msid=210331808187331529022.0004f02bd076d94db85c6&msa=0&dg=feature
> >   
> > >  
> http://lists.xwiki.org/mailman/listinfo/users  

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


Re: [xwiki-users] Configuration of Solr for multi instances in 1 container

2014-01-21 Thread Patrick Moens
Please *disregard* my *last
message*

Hi,

I'm working on upgrade of our wiki 2.8 to 5.3 and at the same time , moving
it to a new server with Tomcat and Oracle.

The goal is to have 3 instances of wiki 5.3 on the same container (wikidgt,
wikioat and wikidir) .
I've configured the environment.permanentDirectory in xwiki.proprties with
3 differents values :

/opt/c/xwiki/data/wikidgt/
/opt/c/xwiki/data/wikioat/
/opt/c/xwiki/data/wikidir/

but when I deploy the first instance (wikidgt), the log shows that the Solr
home directory is :

/opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr


2014-01-21 15:37:00,420 17788 [http-8180-9] INFO
o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
2014-01-21 15:37:00,447 17815 [http-8180-9] INFO
o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
/opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
2014-01-21 15:37:12,536 29904 [http-8180-9] WARN
org.apache.solr.core.SolrCore - New index directory detected: old=null
new=/opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr/./data/index/
2014-01-21 15:37:21,863 39231 [http-8180-9] INFO
o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server.
2014-01-21 15:37:56,883 74251 [http-8180-9] INFO

or if I understand the configuration of Solr in xwiki. properties , it
shoud be /opt/c/xwiki/data/wikidgt/solr




I tried to add this in the WEB-INF/web.xml file of each XWiki instance,
right after the root  element:

  
   solr/home
   java.lang.String
   /opt/c/xwiki/data/wikidgt/solr
  

but got this error (seems it did'nt change the solr home directory but the
solr CoreContainer directory :

2014-01-21 14:55:23,631 34465 [http-8180-9] INFO
o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
2014-01-21 14:55:23,655 34489 [http-8180-9] INFO
o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
/opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
2014-01-21 14:55:26,230 37064 [http-8180-9] ERROR
org.apache.solr.core.CoreContainer - Unable to create core: collection1
java.io.IOException: Can't find resource 'solrconfig.xml' in classpath or
'/opt/c/xwiki/bin/wikidgt/solr/collection1/conf/',
cwd=/opt/apache/home/tomcat


and if I deploy the second instance , i got an "OverlappingFileLockException*"
*because the solr directory is the same for both instances.


However, other files (e.g., "extension" and "jobs"
directories) are being placed in the correct permanent direcrory.  i.e., it
is only
SOLR that appears to be picking up an incorrect setting for
"environment.permanentDirectory".


Thanks for help



Patrick


2014/1/21 Patrick Moens 

> Hi,
>
> I'm working on upgrade of our wiki 2.8 to 5.3 and at the same time ,
> moving it to a new server with Tomcat and Oracle.
>
> The goal is to have 3 instances of wiki 5.3 on the same container
> (wikidgt, wikioat and wikidir) .
> I've configured the environment.permanentDirectory in xwiki.proprties with
> 3 differents values :
>
> /opt/c/xwiki/data/wikidgt/
> /opt/c/xwiki/data/wikioat/
> /opt/c/xwiki/data/wikidir/
>
> but when I deploy the first instance (wikidgt), the log shows that the
> Solr home directory is :
>
>
> /opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
>
>
> 2014-01-21 15:37:00,420 17788 [http-8180-9] INFO
> o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
> 2014-01-21 15:37:00,447 17815 [http-8180-9] INFO
> o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
> /opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
> 2014-01-21 15:37:12,536 29904 [http-8180-9] WARN
> org.apache.solr.core.SolrCore - New index directory detected: old=null
> new=/opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr/./data/index/
> 2014-01-21 15:37:21,863 39231 [http-8180-9] INFO
> o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server.
> 2014-01-21 15:37:56,883 74251 [http-8180-9] INFO
>
> or if I understand the configuration of Solr in xwiki. properties , it
> shoud be /opt/c/xwiki/data/wikidgt/solr
>
>
>
>
> I tried to add this in the WEB-INF/web.xml file of each XWiki instance,
> right after the root  element:
>
>   
>solr/home
>java.lang.String
>/opt/curia/xwiki/bin/wikidgt/solr
>   
>
> but got this error (seems it did'nt change the solr home directory but the
> solr CoreContainer directory :
>
> 2014-01-21 14:55:23,631 34465 [http-8180-9] INFO
> o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
> 2014-01-21 14:55:23,655 34489 [http-8180-9] INFO
> o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
> /opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
> 2014-01-21 14:55:26,230 37064 [http-8180-9] ERROR
> org.apache.solr.core.CoreContainer - Unable to cr

[xwiki-users] Configuration of Solr for multi instances in 1 container

2014-01-21 Thread Patrick Moens
Hi,

I'm working on upgrade of our wiki 2.8 to 5.3 and at the same time , moving
it to a new server with Tomcat and Oracle.

The goal is to have 3 instances of wiki 5.3 on the same container (wikidgt,
wikioat and wikidir) .
I've configured the environment.permanentDirectory in xwiki.proprties with
3 differents values :

/opt/c/xwiki/data/wikidgt/
/opt/c/xwiki/data/wikioat/
/opt/c/xwiki/data/wikidir/

but when I deploy the first instance (wikidgt), the log shows that the Solr
home directory is :

/opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr


2014-01-21 15:37:00,420 17788 [http-8180-9] INFO
o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
2014-01-21 15:37:00,447 17815 [http-8180-9] INFO
o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
/opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
2014-01-21 15:37:12,536 29904 [http-8180-9] WARN
org.apache.solr.core.SolrCore - New index directory detected: old=null
new=/opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr/./data/index/
2014-01-21 15:37:21,863 39231 [http-8180-9] INFO
o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server.
2014-01-21 15:37:56,883 74251 [http-8180-9] INFO

or if I understand the configuration of Solr in xwiki. properties , it
shoud be /opt/c/xwiki/data/wikidgt/solr




I tried to add this in the WEB-INF/web.xml file of each XWiki instance,
right after the root  element:

  
   solr/home
   java.lang.String
   /opt/curia/xwiki/bin/wikidgt/solr
  

but got this error (seems it did'nt change the solr home directory but the
solr CoreContainer directory :

2014-01-21 14:55:23,631 34465 [http-8180-9] INFO
o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
2014-01-21 14:55:23,655 34489 [http-8180-9] INFO
o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
/opt/apache/products/tomcat-6.0.29/inst1_xwiki/work/Catalina/localhost/wikioat/solr
2014-01-21 14:55:26,230 37064 [http-8180-9] ERROR
org.apache.solr.core.CoreContainer - Unable to create core: collection1
java.io.IOException: Can't find resource 'solrconfig.xml' in classpath or
'/opt/curia/xwiki/bin/wikidgt/solr/collection1/conf/',
cwd=/opt/apache/home/tomcat


and if I deploy the second instance , i got an "OverlappingFileLockException*"
*because the solr directory is the same for both instances.


However, other files (e.g., "extension" and "jobs"
directories) are being placed in the correct permanent direcrory.  i.e., it
is only
SOLR that appears to be picking up an incorrect setting for
"environment.permanentDirectory".


Thanks for help


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


Re: [xwiki-users] Logged in user can't see space's document index

2014-01-21 Thread Clemens Klein-Robbenhaar
On 01/21/2014 05:35 AM, Sunil Khiatani wrote:
> Hi,
> 
> When I'm not logged in, I can go to the Document Index and see a list of all 
> the pages.  However when I'm logged in as a normal user, I can still visit 
> the Document index of the same space, but I can't see any of the pages? 
> 
> I'm not sure what's going on.  I've checked the permissions but they all seem 
> OK.
> 

Just a guess: is the page 
http://hostname:8080/wiki/bin/view/XWiki/LiveTableResults
visible for the "ordinary user"?
This page is actually computing the results shown in the document index;
wihout access to that page users get no results

Clemens

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


[xwiki-users] Logged in user can't see space's document index

2014-01-21 Thread Sunil Khiatani
Hi,

When I'm not logged in, I can go to the Document Index and see a list of all 
the pages.  However when I'm logged in as a normal user, I can still visit the 
Document index of the same space, but I can't see any of the pages? 

I'm not sure what's going on.  I've checked the permissions but they all seem 
OK.

Regards,

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