Re: [xwiki-users] velocity page search

2014-10-16 Thread Jason Clemons
Hey Marius, 

Thanks for your response.. the query manager is essentially what my code
does, but how do I query without knowing what space it's in?  Can you give
me an example of what you mean.. ?  usually I query using space.page syntax,
am I missing something?

Thanks in advance... 


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru
Florea
Sent: Thursday, October 16, 2014 9:59 PM
To: XWiki Users
Subject: Re: [xwiki-users] velocity page search

When I need to search for a wiki page I usually have to choose between:

(1) Database search using the Query Manager. There are plenty of examples
here http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module

(2) Full text search using Solr
http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Query+API

Hope this helps,
Marius
On Oct 17, 2014 1:41 AM, "Jason Clemons"  wrote:
>
> Hello all,
>
> I have some "brute force" velocity code that basically iterates all my
spaces looking for a page, then checks if the page is "new" or not. if the
page is "new" I know that the page doesn't exist in that space and so I go
to the next space and repeat until I find a page that is NOT new.   Once I
have the page I then do some stuff with it.  This works ok in my small
environment, but makes me cringe when I think about scalability.
>
> Does anyone know a way in Velocity to return a URL from a search of all
pages in all spaces in my wiki quickly?  I'd sure like to be able to say
$search.pages(page-to-search) or something like that..
>
> Thanks in advance..
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] velocity page search

2014-10-16 Thread Marius Dumitru Florea
When I need to search for a wiki page I usually have to choose between:

(1) Database search using the Query Manager. There are plenty of examples
here http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module

(2) Full text search using Solr
http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Query+API

Hope this helps,
Marius
On Oct 17, 2014 1:41 AM, "Jason Clemons"  wrote:
>
> Hello all,
>
> I have some "brute force" velocity code that basically iterates all my
spaces looking for a page, then checks if the page is "new" or not. if the
page is "new" I know that the page doesn't exist in that space and so I go
to the next space and repeat until I find a page that is NOT new.   Once I
have the page I then do some stuff with it.  This works ok in my small
environment, but makes me cringe when I think about scalability.
>
> Does anyone know a way in Velocity to return a URL from a search of all
pages in all spaces in my wiki quickly?  I'd sure like to be able to say
$search.pages(page-to-search) or something like that..
>
> Thanks in advance..
> ___
> 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] velocity page search

2014-10-16 Thread Jason Clemons
Hello all,

I have some "brute force" velocity code that basically iterates all my spaces 
looking for a page, then checks if the page is "new" or not. if the page is 
"new" I know that the page doesn't exist in that space and so I go to the next 
space and repeat until I find a page that is NOT new.   Once I have the page I 
then do some stuff with it.  This works ok in my small environment, but makes 
me cringe when I think about scalability.  

Does anyone know a way in Velocity to return a URL from a search of all pages 
in all spaces in my wiki quickly?  I'd sure like to be able to say 
$search.pages(page-to-search) or something like that..

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


[xwiki-users] Eclipse + Jetty + Maven

2014-10-16 Thread Matthias Wegner
Hello,

i want to easily push a button and deploy an own extension from eclipse to a
jetty-based xwiki. Do you know an example? I not found something on the web.
At the moment i create the jar with maven from eclipse, copy the jar
manually and start the xwiki-server with the start script. 

Is there a way to do it all at once?

Regards,
Matthias



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Eclipse-Jetty-Maven-tp7592763.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] XWiki 5.4.6 released

2014-10-16 Thread Guillaume "Louis-Marie" Delhumeau
The XWiki development team is proud to announce the availability of XWiki
5.4.6.

This release is a stabilization version that fix important bugs discovered
in the 5.4.5 version.

You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download

Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki546

Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] URL loop error

2014-10-16 Thread Jason Clemons
Yep, the bin/login part of the URL just repeats until the URL is too long to 
display then I get a 500 error.  This seems to happen in my production 
environment as well, but I just assumed that it's when LDAP doesn't respond 
quickly enough.  

If I reboot my production server it happens 100% of the time, and I have to 
then cycle Tomcat once or twice to get it to stop happening.

My configuration is Windows 2008, Tomcat 8, Xwiki 5.4 (I think), SQL Server 
2012, latest JRE..  



> On Oct 16, 2014, at 1:55 AM, Clemens Klein-Robbenhaar 
>  wrote:
> 
> 
> I have to admit that is a bit puzzling to me. If you keep ldap enabled, but 
> also temporarily enable the 'superadmin' account, is the problem also present 
> for the superadmin?
> 
>> On 10/16/2014 06:56 AM, Jason Clemons wrote:
>> I think this had to do with failing LDAP credentials.. I changed 
>> xwiki.authentication.ldap=0 and the problem went away.  I had moved my 
>> installation file from one server to another for testing and the test server 
>> didn't have access to LDAP, thus the issue. 
>> 
>> -Original Message-
>> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Clemens 
>> Klein-Robbenhaar
>> Sent: Wednesday, October 15, 2014 12:51 AM
>> To: users@xwiki.org
>> Subject: Re: [xwiki-users] URL loop error
>> 
>> Hi Jason,
>> 
>> which version of XWiki is this, actually?
>> 
>> I tries to reproduce it, assuming someone has created a "login' space of the 
>> like, but so far no avail.
>> 
>> Do your users see the login form at all, or keeps the browser on redirecting?
>> Or does the problem only happen after the login?
>> Anything in the server log file, e.g. about cookies being messed up or the 
>> like?
>> 
>> Cheers
>> Clemens
>> 
>>> 
 Hey All,
 
 I’m hoping someone can help me out.. My wiki installation has stopped 
 working.  I’m running it in Tomcat 8 from the ROOT folder “C:\Program 
 Files (x86)\Tomcat\webapps\ROOT” (the only app running on the server), 
 nothing has changed other than content in the wiki itself, but all of a 
 sudden my users can’t login and the URL has become really long. 
 
 If I navigate to localhost:8080/bin/Main I get the following response:
 
 localhost:8080/bin/Main/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/XWikiLogin?srid=YGlMoFBd&xredirect=%2Fbin%2FMain%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2FXWikiLogin%3Fsrid%3DYGlMoFBd%26xredirect%3D%252Fbin%252FMain%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252F
> X
>> Wiki%252F
>> bin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252FXWikiLogin%253Fsrid%253DYGlMoFBd%2526xredirect%253D%25252Fbin%25252FMain%25252Fbin%25252Flogin%25252FXWiki%25252Fbin%25252Flogin%25252FXWiki
 
 except the URL actually goes on for much longer…   I used to get this 
 every now and again, but always restarting Tomcat would fix it, but now it 
 doesn’t and none of my users can login.  I found an article here  
 http://jira.xwiki.org/browse/XE-1401 which seems to point to a similar 
 issue, but the fix illustrated does not fix my issue. 
 
 Any help is greatly appreciated
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>> 
>> 
>> 
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>> 
> 
> 
> 
> mit freundlichen Grüßen
> Clemens Klein-Robbenhaar
> 
> -- 
> Clemens Klein-Robbenhaar
> Software Development
> EsPresto AG
> Breite Str. 30-31
> 10178 Berlin/Germany
> Tel: +49.(0)30.90 226.763
> Fax: +49.(0)30.90 226.760
> robbenh...@espresto.com
> 
> HRB 77554 B - Berlin-Charlottenburg
> Vorstand: Maya Biersack, Peter Biersack
> Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber
> Zertifiziert nach ISO 9001:2008
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listin

Re: [xwiki-users] URL loop error

2014-10-16 Thread Clemens Klein-Robbenhaar

I have to admit that is a bit puzzling to me. If you keep ldap enabled, but 
also temporarily enable the 'superadmin' account, is the problem also present 
for the superadmin?

On 10/16/2014 06:56 AM, Jason Clemons wrote:
> I think this had to do with failing LDAP credentials.. I changed 
> xwiki.authentication.ldap=0 and the problem went away.  I had moved my 
> installation file from one server to another for testing and the test server 
> didn't have access to LDAP, thus the issue. 
> 
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Clemens 
> Klein-Robbenhaar
> Sent: Wednesday, October 15, 2014 12:51 AM
> To: users@xwiki.org
> Subject: Re: [xwiki-users] URL loop error
> 
> Hi Jason,
> 
>  which version of XWiki is this, actually?
> 
> I tries to reproduce it, assuming someone has created a "login' space of the 
> like, but so far no avail.
> 
> Do your users see the login form at all, or keeps the browser on redirecting?
> Or does the problem only happen after the login?
> Anything in the server log file, e.g. about cookies being messed up or the 
> like?
> 
> Cheers
> Clemens
> 
>>
>>> Hey All,
>>>  
>>> I’m hoping someone can help me out.. My wiki installation has stopped 
>>> working.  I’m running it in Tomcat 8 from the ROOT folder “C:\Program Files 
>>> (x86)\Tomcat\webapps\ROOT” (the only app running on the server), nothing 
>>> has changed other than content in the wiki itself, but all of a sudden my 
>>> users can’t login and the URL has become really long. 
>>>  
>>> If I navigate to localhost:8080/bin/Main I get the following response:
>>>  
>>> localhost:8080/bin/Main/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/XWikiLogin?srid=YGlMoFBd&xredirect=%2Fbin%2FMain%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2FXWikiLogin%3Fsrid%3DYGlMoFBd%26xredirect%3D%252Fbin%252FMain%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252F
 X
>  Wiki%252F
> bin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252FXWikiLogin%253Fsrid%253DYGlMoFBd%2526xredirect%253D%25252Fbin%25252FMain%25252Fbin%25252Flogin%25252FXWiki%25252Fbin%25252Flogin%25252FXWiki
>>>  
>>> except the URL actually goes on for much longer…   I used to get this every 
>>> now and again, but always restarting Tomcat would fix it, but now it 
>>> doesn’t and none of my users can login.  I found an article here  
>>> http://jira.xwiki.org/browse/XE-1401 which seems to point to a similar 
>>> issue, but the fix illustrated does not fix my issue. 
>>>  
>>> Any help is greatly appreciated
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> 
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 



mit freundlichen Grüßen
Clemens Klein-Robbenhaar

-- 
Clemens Klein-Robbenhaar
Software Development
EsPresto AG
Breite Str. 30-31
10178 Berlin/Germany
Tel: +49.(0)30.90 226.763
Fax: +49.(0)30.90 226.760
robbenh...@espresto.com

HRB 77554 B - Berlin-Charlottenburg
Vorstand: Maya Biersack, Peter Biersack
Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber
Zertifiziert nach ISO 9001:2008
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Migration Issue

2014-10-16 Thread pankaj
Hi

After I migrated from xwiki 1.7.2 to 5.4.5, some of the documents are not
rendered properly. 
I am assuming the issue might be happening because there is a dot in the
space.
The same documents with dot in the space were rendered before migration. But
after migration the documents are not rendered and are shown with a question
mark. All the static data was rendered properly, but the dynamic data where
the classes having methods, superclass and subclass are not rendered.

Please find the attached screenshots of the old and new pages after
migration.

 
 

The rest of the migration went fine except few pages. Can you respond with
the possible solution and help in resolving this issue. Please feel free to
ask any questions or clarifications if required.

Thanks,
Pankaj




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Migration-Issue-tp7592753.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users