Re: [xwiki-users] Insert link on wysiwyg editor

2012-01-09 Thread goldring, richard
Could importing the wiki pages from my older version of Xwiki have
overwritten wiki pages that could be causing this issue? (The previous
version was the standalone version using Jetty and HSQL). If so what wiki
pages do I need to reinstate?
 

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 06 January 2012 12:51
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor

Sure, here you go:

--8--
{{groovy}}
import com.xpn.xwiki.web.Utils;
import java.util.List;
import org.xwiki.query.Query;
import org.xwiki.query.QueryManager;

int offset = 0;
int limit = 20;

String statement = select distinct doc.space, doc.name, doc.date from
XWikiDocument as doc where doc.author = :author order by doc.date desc,
doc.space, doc.name; QueryManager queryManager =
Utils.getComponent(QueryManager.class);
Query query = queryManager.createQuery(statement, Query.HQL);
query.setOffset(offset).setLimit(limit);
query.bindValue(author, xcontext.getUser());

ListObject[] results = query.execute(); for (Object[] result : results) {
  println(result[0] + . + result[1]);
}
{{/groovy}}
--8--

Hope this helps,
Marius

On Fri, Jan 6, 2012 at 2:46 PM, goldring, richard
richard.goldr...@uk.thalesgroup.com wrote:
 Ah my company's fire wall won't let me see 
 http://pastebin.com/Yj8kQ3qU  - can you directly email me  a copy of 
 the code to paste into my wiki page to try ..

 Thanks.

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of goldring, richard
 Sent: 06 January 2012 12:34
 To: 'XWiki Users'
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

  Thanks will try that on when I get back on Monday ...

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 12:25
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 The code used to retrieve the list of recently modified pages is this 
 https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-3.2/xwiki-
 platfo 
 rm-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-server/src/main/
 java/o
 rg/xwiki/wysiwyg/server/internal/wiki/AbstractWikiService.java#L97
 . You can try to execute it separately in Groovy to see what's the
problem.
 You can start with http://pastebin.com/Yj8kQ3qU which works fine for 
 me (put it in a wiki page).

 Hope this helps,
 Marius

 On Fri, Jan 6, 2012 at 1:43 PM, goldring, richard 
 richard.goldr...@uk.thalesgroup.com wrote:
  Not that I can see

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 11:29
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Is there any exception logged on the server side?

 Thanks,
 Marius

 On Fri, Jan 6, 2012 at 12:57 PM, goldring, richard 
 richard.goldr...@uk.thalesgroup.com wrote:

 Hi,

 On xwiki enterprise 3.2, tomcat 5.5, mysql 5.5 that I've just
 installed...

 When editing in WYSIWYG editor and select to insert a link get the 
 following error on Link dialog tabs My recent changes and Search :
 There was an error loading the data. The All pages tab works fine 
 and displays all pages in the selected space though.

 Does anyone know what's happening and how to get it working??

 Thanks.

 Richard
 ___
 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
 ___
 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
___
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] Insert link on wysiwyg editor

2012-01-09 Thread Marius Dumitru Florea
On Mon, Jan 9, 2012 at 10:09 AM, goldring, richard
richard.goldr...@uk.thalesgroup.com wrote:
 Could importing the wiki pages from my older version of Xwiki have
 overwritten wiki pages that could be causing this issue? (The previous
 version was the standalone version using Jetty and HSQL).

I don't see how. You can break the WYSIWYG editor by messing up its
configuration (XWiki.WysiwygEditorConfig) but then the editor won't
load at all. You can't break *only* the Recently Modified / Search
tabs of the link feature. Have you run the code I pasted?

Hope this helps,
Marius

 If so what wiki pages do I need to reinstate?


 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
 Marius Dumitru Florea
 Sent: 06 January 2012 12:51
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Sure, here you go:

 --8--
 {{groovy}}
 import com.xpn.xwiki.web.Utils;
 import java.util.List;
 import org.xwiki.query.Query;
 import org.xwiki.query.QueryManager;

 int offset = 0;
 int limit = 20;

 String statement = select distinct doc.space, doc.name, doc.date from
 XWikiDocument as doc where doc.author = :author order by doc.date desc,
 doc.space, doc.name; QueryManager queryManager =
 Utils.getComponent(QueryManager.class);
 Query query = queryManager.createQuery(statement, Query.HQL);
 query.setOffset(offset).setLimit(limit);
 query.bindValue(author, xcontext.getUser());

 ListObject[] results = query.execute(); for (Object[] result : results) {
  println(result[0] + . + result[1]);
 }
 {{/groovy}}
 --8--

 Hope this helps,
 Marius

 On Fri, Jan 6, 2012 at 2:46 PM, goldring, richard
 richard.goldr...@uk.thalesgroup.com wrote:
 Ah my company's fire wall won't let me see
 http://pastebin.com/Yj8kQ3qU  - can you directly email me  a copy of
 the code to paste into my wiki page to try ..

 Thanks.

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
 Behalf Of goldring, richard
 Sent: 06 January 2012 12:34
 To: 'XWiki Users'
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

  Thanks will try that on when I get back on Monday ...

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 12:25
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 The code used to retrieve the list of recently modified pages is this
 https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-3.2/xwiki-
 platfo
 rm-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-server/src/main/
 java/o
 rg/xwiki/wysiwyg/server/internal/wiki/AbstractWikiService.java#L97
 . You can try to execute it separately in Groovy to see what's the
 problem.
 You can start with http://pastebin.com/Yj8kQ3qU which works fine for
 me (put it in a wiki page).

 Hope this helps,
 Marius

 On Fri, Jan 6, 2012 at 1:43 PM, goldring, richard
 richard.goldr...@uk.thalesgroup.com wrote:
  Not that I can see

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 11:29
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Is there any exception logged on the server side?

 Thanks,
 Marius

 On Fri, Jan 6, 2012 at 12:57 PM, goldring, richard
 richard.goldr...@uk.thalesgroup.com wrote:

 Hi,

 On xwiki enterprise 3.2, tomcat 5.5, mysql 5.5 that I've just
 installed...

 When editing in WYSIWYG editor and select to insert a link get the
 following error on Link dialog tabs My recent changes and Search :
 There was an error loading the data. The All pages tab works fine
 and displays all pages in the selected space though.

 Does anyone know what's happening and how to get it working??

 Thanks.

 Richard
 ___
 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
 ___
 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
 ___
 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] Insert link on wysiwyg editor

2012-01-09 Thread goldring, richard
Yes - the code seemed to work fine and listed sall recent page edits ... So
I'm not sure where to look next ...what code get's called by the Link dialog
My recent changes abd Search tabs ... Is it a macro? Which one? All I can
think is it might be something to do with copying material from the my
previous wiki installation???

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 09 January 2012 08:30
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor

On Mon, Jan 9, 2012 at 10:09 AM, goldring, richard
richard.goldr...@uk.thalesgroup.com wrote:
 Could importing the wiki pages from my older version of Xwiki have 
 overwritten wiki pages that could be causing this issue? (The previous 
 version was the standalone version using Jetty and HSQL).

I don't see how. You can break the WYSIWYG editor by messing up its
configuration (XWiki.WysiwygEditorConfig) but then the editor won't load at
all. You can't break *only* the Recently Modified / Search tabs of the link
feature. Have you run the code I pasted?

Hope this helps,
Marius

 If so what wiki pages do I need to reinstate?


 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 12:51
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Sure, here you go:

 --8--
 {{groovy}}
 import com.xpn.xwiki.web.Utils;
 import java.util.List;
 import org.xwiki.query.Query;
 import org.xwiki.query.QueryManager;

 int offset = 0;
 int limit = 20;

 String statement = select distinct doc.space, doc.name, doc.date from 
 XWikiDocument as doc where doc.author = :author order by doc.date 
 desc, doc.space, doc.name; QueryManager queryManager = 
 Utils.getComponent(QueryManager.class);
 Query query = queryManager.createQuery(statement, Query.HQL); 
 query.setOffset(offset).setLimit(limit);
 query.bindValue(author, xcontext.getUser());

 ListObject[] results = query.execute(); for (Object[] result : 
 results) {
  println(result[0] + . + result[1]); } {{/groovy}}
 --8--

 Hope this helps,
 Marius

 On Fri, Jan 6, 2012 at 2:46 PM, goldring, richard 
 richard.goldr...@uk.thalesgroup.com wrote:
 Ah my company's fire wall won't let me see 
 http://pastebin.com/Yj8kQ3qU  - can you directly email me  a copy of 
 the code to paste into my wiki page to try ..

 Thanks.

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of goldring, richard
 Sent: 06 January 2012 12:34
 To: 'XWiki Users'
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

  Thanks will try that on when I get back on Monday ...

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 12:25
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 The code used to retrieve the list of recently modified pages is this
 https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-3.2/xwiki
 -
 platfo
 rm-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-server/src/main
 /
 java/o
 rg/xwiki/wysiwyg/server/internal/wiki/AbstractWikiService.java#L97
 . You can try to execute it separately in Groovy to see what's the
 problem.
 You can start with http://pastebin.com/Yj8kQ3qU which works fine for 
 me (put it in a wiki page).

 Hope this helps,
 Marius

 On Fri, Jan 6, 2012 at 1:43 PM, goldring, richard 
 richard.goldr...@uk.thalesgroup.com wrote:
  Not that I can see

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 11:29
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Is there any exception logged on the server side?

 Thanks,
 Marius

 On Fri, Jan 6, 2012 at 12:57 PM, goldring, richard 
 richard.goldr...@uk.thalesgroup.com wrote:

 Hi,

 On xwiki enterprise 3.2, tomcat 5.5, mysql 5.5 that I've just
 installed...

 When editing in WYSIWYG editor and select to insert a link get the 
 following error on Link dialog tabs My recent changes and Search :
 There was an error loading the data. The All pages tab works fine 
 and displays all pages in the selected space though.

 Does anyone know what's happening and how to get it working??

 Thanks.

 Richard
 ___
 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
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 

Re: [xwiki-users] Insert link on wysiwyg editor

2012-01-09 Thread goldring, richard
Wondering if it's a permission problem - when I visit the
XWiki.WysiwygEditorConfig page (as Admin) 
I get the following displayed: This configuration cannot be displayed
because it was last edited by Admin who doesn't have permission to edit this
page.XWiki.WysiwygEditorConfig: 

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
goldring, richard
Sent: 09 January 2012 08:39
To: 'XWiki Users'
Subject: Re: [xwiki-users] Insert link on wysiwyg editor

Yes - the code seemed to work fine and listed sall recent page edits ... So
I'm not sure where to look next ...what code get's called by the Link dialog
My recent changes abd Search tabs ... Is it a macro? Which one? All I can
think is it might be something to do with copying material from the my
previous wiki installation???

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 09 January 2012 08:30
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor

On Mon, Jan 9, 2012 at 10:09 AM, goldring, richard
richard.goldr...@uk.thalesgroup.com wrote:
 Could importing the wiki pages from my older version of Xwiki have 
 overwritten wiki pages that could be causing this issue? (The previous 
 version was the standalone version using Jetty and HSQL).

I don't see how. You can break the WYSIWYG editor by messing up its
configuration (XWiki.WysiwygEditorConfig) but then the editor won't load at
all. You can't break *only* the Recently Modified / Search tabs of the link
feature. Have you run the code I pasted?

Hope this helps,
Marius

 If so what wiki pages do I need to reinstate?


 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 12:51
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Sure, here you go:

 --8--
 {{groovy}}
 import com.xpn.xwiki.web.Utils;
 import java.util.List;
 import org.xwiki.query.Query;
 import org.xwiki.query.QueryManager;

 int offset = 0;
 int limit = 20;

 String statement = select distinct doc.space, doc.name, doc.date from 
 XWikiDocument as doc where doc.author = :author order by doc.date 
 desc, doc.space, doc.name; QueryManager queryManager = 
 Utils.getComponent(QueryManager.class);
 Query query = queryManager.createQuery(statement, Query.HQL); 
 query.setOffset(offset).setLimit(limit);
 query.bindValue(author, xcontext.getUser());

 ListObject[] results = query.execute(); for (Object[] result : 
 results) {
  println(result[0] + . + result[1]); } {{/groovy}}
 --8--

 Hope this helps,
 Marius

 On Fri, Jan 6, 2012 at 2:46 PM, goldring, richard 
 richard.goldr...@uk.thalesgroup.com wrote:
 Ah my company's fire wall won't let me see 
 http://pastebin.com/Yj8kQ3qU  - can you directly email me  a copy of 
 the code to paste into my wiki page to try ..

 Thanks.

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of goldring, richard
 Sent: 06 January 2012 12:34
 To: 'XWiki Users'
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

  Thanks will try that on when I get back on Monday ...

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 12:25
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 The code used to retrieve the list of recently modified pages is this 
 https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-3.2/xwiki
 -
 platfo
 rm-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-server/src/main
 /
 java/o
 rg/xwiki/wysiwyg/server/internal/wiki/AbstractWikiService.java#L97
 . You can try to execute it separately in Groovy to see what's the
 problem.
 You can start with http://pastebin.com/Yj8kQ3qU which works fine for 
 me (put it in a wiki page).

 Hope this helps,
 Marius

 On Fri, Jan 6, 2012 at 1:43 PM, goldring, richard 
 richard.goldr...@uk.thalesgroup.com wrote:
  Not that I can see

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 11:29
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Is there any exception logged on the server side?

 Thanks,
 Marius

 On Fri, Jan 6, 2012 at 12:57 PM, goldring, richard 
 richard.goldr...@uk.thalesgroup.com wrote:

 Hi,

 On xwiki enterprise 3.2, tomcat 5.5, mysql 5.5 that I've just
 installed...

 When editing in WYSIWYG editor and select to insert a link get the 
 following error on Link dialog tabs My recent changes and Search :
 There was an error loading the data. The All pages tab works fine 
 and displays all pages in the selected space though.

 Does anyone know what's happening and how to get it working??

 Thanks.

 Richard
 

Re: [xwiki-users] Usage and placement of robots.txt file

2012-01-09 Thread Vincent Massol

On Jan 8, 2012, at 10:03 PM, Kaya Saman wrote:

 On 01/08/2012 10:06 PM, Vincent Massol wrote:
 Hi Guys,
 
 Would be great if you could update the existing wiki documentation with the 
 information in this thread since it wasn't good enough in the first place 
 apparently :)
 
 Thanks!
 -Vincent
 
 That's an interesting point Vincent!
 
 As an Xwiki user a while back I wrote a howto on installing Xwiki with Tomcat 
 and Postgresql on FreeBSD. I just can't remember where the 'user space' was 
 to put it in as it's been a while since I last worked with Xwiki

I know that we have some external tutorials listed here:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HTutorials

 - although from my posting you can see that I'm back and things are online 
 again.
 
 I would like to write some documentation about migrating Xwiki from server to 
 server or multiple platforms as I've gone from FreeBSD over to Nexenta Core 3 
 with GlassfishV3 in the past and recently over to Fedora 11.
 
 I've got a lot of time on my hands and would like to contribute...….

Hey's that's great. Feel free to ask specific questions if you need help on 
knowing where to put stuff!

You could start by adding the content of this thread that you started on 
xwiki.org in the location where we explain how to use robots.txt?

Thanks
-Vincent

 Regards,
 
 
 Kaya
 
 
 On Jan 8, 2012, at 4:49 PM, Kaya Saman wrote:
 
 On 01/08/2012 03:53 PM, Guillaume Fenollar wrote:
 Hi Kaya,
 
 Yes, if you don't use any front webserver (ie Apache or nginx), you should
 put robots.txt directly into /ROOT directory of tomcat (if this one listen
 on port 80). After that, you can simply test your set up, trying to join
 http://youdomain.org/robots.txt. If you don't find it this way, bots won't
 find it neither.
 Thanks for the response Guillaume!
 
 I found a site: http://www.frobee.com/robots-txt-check
 
 which actually tests compliancey of the robots.txt and it seems mine are 
 fine.
 
 Concerning the disallow directives, it is your choice to let the bots to
 index what you want/need. My advice would be the make an inventory of space
 and actions you don't want to index.
 You could take this one as example: http://cdlsworld.xwiki.com/robots.txt
 I took a look at it and will compare that to the example off the Xwiki site.
 
 Finally, it's funny you're asking about the fact that bots could harass
 your server, because almost everyone want them (except for bad robots) to
 come indexing their websites :-)
 Anyway, I don't think that robots could take a remarkable amount of trafic.
 But the users who find your content through search engines, will ;-) I
 guess it's what you want.
 It's not that I don't want things to be indexed or viewed but am getting a 
 strange issue on one of my Xwiki sites that whenever I load the site, ie 
 start tomcat, the memory usage is really low ~600MB; then after a while the 
 cpu will start working a little ~10% and the memory consumed by the process 
 will jump up to 1.6GB. There's not much on that site to begin with, I mean 
 my Wiki site has more information and images etc.. then this site which is 
 my www site yet the www site is consuming way more memory??
 
 I'm not really sure of how to even begin debugging as I have both webalizer 
 and awstats working on my reverse Squid proxy infront of tomcat. So far 
 awstats which has been working from the beginning (3rd Jan this year) shows 
 nearly 9000 hits :-S out of which a lot come from Googlebot.
 
 That was my only issue.
 
 The URLs of both sites are here:
 
 
 http://www.optiplex-networks.com
 
 http://wiki.optiplex-networks.com
 
 
 and footprints are shown here:
 
  PID JID USERNAME   THR PRI NICE   SIZERES STATE   C   TIME   WCPU 
 COMMAND
 51547  22 www 46  440  3545M  1590M ucond   1   6:04  0.00% java
 28878  14 www 49  440  3544M   404M ucond   0   3:47  0.00% java
 
 
 with JID 14 being the wiki. site and JID 22 being the www. site.
 
 Regards,
 
 Regards,
 
 Kaya
 ___
 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

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


Re: [xwiki-users] Insert link on wysiwyg editor

2012-01-09 Thread Marius Dumitru Florea
As I said, if XWiki.WysiwygEditorConfig page was broken (bad
permission or invalid configuration) then the WYSIWYG editor wouldn't
load at all. I don't see how it can affect only the Recently Modified
and Search tabs of the link to wiki page feature.

The code that is called when you open those tabs is in GWT-RPC
services, so Java classes, which can't be affected by a XAR import (at
least I don't see how). There's no wiki/Java macro. All the code is in
the WYSIWYG server jar. Can you insert an image or a macro? If these
features work (they also use GWT-RPC services) then the problem is
strictly related to the code that queries the database. But if you say
that the code I pasted works fine then I don't have any clues..

On Mon, Jan 9, 2012 at 11:15 AM, goldring, richard
richard.goldr...@uk.thalesgroup.com wrote:
 Wondering if it's a permission problem - when I visit the
 XWiki.WysiwygEditorConfig page (as Admin)
 I get the following displayed: This configuration cannot be displayed
 because it was last edited by Admin who doesn't have permission to edit this
 page.XWiki.WysiwygEditorConfig:

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
 goldring, richard
 Sent: 09 January 2012 08:39
 To: 'XWiki Users'
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Yes - the code seemed to work fine and listed sall recent page edits ... So
 I'm not sure where to look next ...what code get's called by the Link dialog
 My recent changes abd Search tabs ... Is it a macro? Which one? All I can
 think is it might be something to do with copying material from the my
 previous wiki installation???

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
 Marius Dumitru Florea
 Sent: 09 January 2012 08:30
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 On Mon, Jan 9, 2012 at 10:09 AM, goldring, richard
 richard.goldr...@uk.thalesgroup.com wrote:
 Could importing the wiki pages from my older version of Xwiki have
 overwritten wiki pages that could be causing this issue? (The previous
 version was the standalone version using Jetty and HSQL).

 I don't see how. You can break the WYSIWYG editor by messing up its
 configuration (XWiki.WysiwygEditorConfig) but then the editor won't load at
 all. You can't break *only* the Recently Modified / Search tabs of the link
 feature. Have you run the code I pasted?

 Hope this helps,
 Marius

 If so what wiki pages do I need to reinstate?


 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 12:51
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Sure, here you go:

 --8--
 {{groovy}}
 import com.xpn.xwiki.web.Utils;
 import java.util.List;
 import org.xwiki.query.Query;
 import org.xwiki.query.QueryManager;

 int offset = 0;
 int limit = 20;

 String statement = select distinct doc.space, doc.name, doc.date from
 XWikiDocument as doc where doc.author = :author order by doc.date
 desc, doc.space, doc.name; QueryManager queryManager =
 Utils.getComponent(QueryManager.class);
 Query query = queryManager.createQuery(statement, Query.HQL);
 query.setOffset(offset).setLimit(limit);
 query.bindValue(author, xcontext.getUser());

 ListObject[] results = query.execute(); for (Object[] result :
 results) {
  println(result[0] + . + result[1]); } {{/groovy}}
 --8--

 Hope this helps,
 Marius

 On Fri, Jan 6, 2012 at 2:46 PM, goldring, richard
 richard.goldr...@uk.thalesgroup.com wrote:
 Ah my company's fire wall won't let me see
 http://pastebin.com/Yj8kQ3qU  - can you directly email me  a copy of
 the code to paste into my wiki page to try ..

 Thanks.

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
 Behalf Of goldring, richard
 Sent: 06 January 2012 12:34
 To: 'XWiki Users'
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

  Thanks will try that on when I get back on Monday ...

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 12:25
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 The code used to retrieve the list of recently modified pages is this
 https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-3.2/xwiki
 -
 platfo
 rm-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-server/src/main
 /
 java/o
 rg/xwiki/wysiwyg/server/internal/wiki/AbstractWikiService.java#L97
 . You can try to execute it separately in Groovy to see what's the
 problem.
 You can start with http://pastebin.com/Yj8kQ3qU which works fine for
 me (put it in a wiki page).

 Hope this helps,
 Marius

 On Fri, Jan 6, 2012 at 1:43 PM, goldring, richard
 richard.goldr...@uk.thalesgroup.com wrote:
  Not that I can see

 -Original 

Re: [xwiki-users] Insert link on wysiwyg editor

2012-01-09 Thread goldring, richard
Under /var/apache/tomcat55/webapps/xwiki-enterprise-web-3.2/WEB-INF/lib
xwiki-web-gwt-wysiwyg-server .jar is missing - is this the jar that I need?
It's not in the war file - how do I get it?

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 09 January 2012 10:12
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor

As I said, if XWiki.WysiwygEditorConfig page was broken (bad permission or
invalid configuration) then the WYSIWYG editor wouldn't load at all. I don't
see how it can affect only the Recently Modified and Search tabs of the link
to wiki page feature.

The code that is called when you open those tabs is in GWT-RPC services, so
Java classes, which can't be affected by a XAR import (at least I don't see
how). There's no wiki/Java macro. All the code is in the WYSIWYG server jar.
Can you insert an image or a macro? If these features work (they also use
GWT-RPC services) then the problem is strictly related to the code that
queries the database. But if you say that the code I pasted works fine then
I don't have any clues..

On Mon, Jan 9, 2012 at 11:15 AM, goldring, richard
richard.goldr...@uk.thalesgroup.com wrote:
 Wondering if it's a permission problem - when I visit the 
 XWiki.WysiwygEditorConfig page (as Admin) I get the following 
 displayed: This configuration cannot be displayed because it was last 
 edited by Admin who doesn't have permission to edit this
 page.XWiki.WysiwygEditorConfig:

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of goldring, richard
 Sent: 09 January 2012 08:39
 To: 'XWiki Users'
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Yes - the code seemed to work fine and listed sall recent page edits 
 ... So I'm not sure where to look next ...what code get's called by 
 the Link dialog My recent changes abd Search tabs ... Is it a macro? 
 Which one? All I can think is it might be something to do with copying 
 material from the my previous wiki installation???

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 09 January 2012 08:30
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 On Mon, Jan 9, 2012 at 10:09 AM, goldring, richard 
 richard.goldr...@uk.thalesgroup.com wrote:
 Could importing the wiki pages from my older version of Xwiki have 
 overwritten wiki pages that could be causing this issue? (The 
 previous version was the standalone version using Jetty and HSQL).

 I don't see how. You can break the WYSIWYG editor by messing up its 
 configuration (XWiki.WysiwygEditorConfig) but then the editor won't 
 load at all. You can't break *only* the Recently Modified / Search 
 tabs of the link feature. Have you run the code I pasted?

 Hope this helps,
 Marius

 If so what wiki pages do I need to reinstate?


 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 12:51
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Sure, here you go:

 --8--
 {{groovy}}
 import com.xpn.xwiki.web.Utils;
 import java.util.List;
 import org.xwiki.query.Query;
 import org.xwiki.query.QueryManager;

 int offset = 0;
 int limit = 20;

 String statement = select distinct doc.space, doc.name, doc.date 
 from XWikiDocument as doc where doc.author = :author order by 
 doc.date desc, doc.space, doc.name; QueryManager queryManager = 
 Utils.getComponent(QueryManager.class);
 Query query = queryManager.createQuery(statement, Query.HQL); 
 query.setOffset(offset).setLimit(limit);
 query.bindValue(author, xcontext.getUser());

 ListObject[] results = query.execute(); for (Object[] result :
 results) {
  println(result[0] + . + result[1]); } {{/groovy}}
 --8--

 Hope this helps,
 Marius

 On Fri, Jan 6, 2012 at 2:46 PM, goldring, richard 
 richard.goldr...@uk.thalesgroup.com wrote:
 Ah my company's fire wall won't let me see 
 http://pastebin.com/Yj8kQ3qU  - can you directly email me  a copy of 
 the code to paste into my wiki page to try ..

 Thanks.

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of goldring, richard
 Sent: 06 January 2012 12:34
 To: 'XWiki Users'
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

  Thanks will try that on when I get back on Monday ...

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 12:25
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 The code used to retrieve the list of recently modified pages is 
 this 
 https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-3.2/xwik
 i
 -
 platfo
 

Re: [xwiki-users] Usage and placement of robots.txt file

2012-01-09 Thread Kaya Saman

On 01/09/2012 11:49 AM, Vincent Massol wrote:

On Jan 8, 2012, at 10:03 PM, Kaya Saman wrote:


On 01/08/2012 10:06 PM, Vincent Massol wrote:

Hi Guys,

Would be great if you could update the existing wiki documentation with the 
information in this thread since it wasn't good enough in the first place 
apparently :)

Thanks!
-Vincent

That's an interesting point Vincent!

As an Xwiki user a while back I wrote a howto on installing Xwiki with Tomcat 
and Postgresql on FreeBSD. I just can't remember where the 'user space' was to 
put it in as it's been a while since I last worked with Xwiki

I know that we have some external tutorials listed here:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HTutorials


I managed to find my old howto - is still stored as draft :-)

google'd freebsd xwiki

http://dev.xwiki.org/xwiki/bin/view/Drafts/BSD_Install


Can I get this on the 'real' wiki??


P.s. second link on Google goes directly to my personal wiki site which 
I put all of the Xwiki stuff I'm doing onto. So managed to crack 2 eggs 
for the price of one it seems!





- although from my posting you can see that I'm back and things are online 
again.

I would like to write some documentation about migrating Xwiki from server to 
server or multiple platforms as I've gone from FreeBSD over to Nexenta Core 3 
with GlassfishV3 in the past and recently over to Fedora 11.

I've got a lot of time on my hands and would like to contribute...….

Hey's that's great. Feel free to ask specific questions if you need help on 
knowing where to put stuff!

You could start by adding the content of this thread that you started on 
xwiki.org in the location where we explain how to use robots.txt?


I'll have a look at updating the robots.txt content today.


Also I will put some migration stuff on the drafts section today as 
that's quite in depth.



Additionally I will add to my draft about containing Java Heap Space 
memory errors, Perm Space memory allocation and my custom scripts to 
kick Tomcat back online after being killed by the OS after the system 
runs out of memory.



as said I'm unemployed at the moment so I have waaay too much time :-)


Maybe some kind person could donate some virtual bananas for me to keep 
my energy up while Xwiki'ing the wiki ;-P




Thanks
-Vincent


Regards,


Kaya

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


Re: [xwiki-users] Usage and placement of robots.txt file

2012-01-09 Thread Guillaume Lerouge
Hi Kaya,

here you go:
http://www.businesspundit.com/wp-content/uploads/2008/10/banana1.jpg

Looking forward to the FreeBSD documentation,

Guillaume

On Mon, Jan 9, 2012 at 2:23 PM, Kaya Saman kayasa...@gmail.com wrote:

 On 01/09/2012 11:49 AM, Vincent Massol wrote:

 On Jan 8, 2012, at 10:03 PM, Kaya Saman wrote:

  On 01/08/2012 10:06 PM, Vincent Massol wrote:

 Hi Guys,

 Would be great if you could update the existing wiki documentation with
 the information in this thread since it wasn't good enough in the first
 place apparently :)

 Thanks!
 -Vincent

 That's an interesting point Vincent!

 As an Xwiki user a while back I wrote a howto on installing Xwiki with
 Tomcat and Postgresql on FreeBSD. I just can't remember where the 'user
 space' was to put it in as it's been a while since I last worked with Xwiki

 I know that we have some external tutorials listed here:
 http://platform.xwiki.org/**xwiki/bin/view/AdminGuide/**
 Installation#HTutorialshttp://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HTutorials


 I managed to find my old howto - is still stored as draft :-)

 google'd freebsd xwiki

 http://dev.xwiki.org/xwiki/**bin/view/Drafts/BSD_Installhttp://dev.xwiki.org/xwiki/bin/view/Drafts/BSD_Install


 Can I get this on the 'real' wiki??


 P.s. second link on Google goes directly to my personal wiki site which I
 put all of the Xwiki stuff I'm doing onto. So managed to crack 2 eggs for
 the price of one it seems!



  - although from my posting you can see that I'm back and things are
 online again.

 I would like to write some documentation about migrating Xwiki from
 server to server or multiple platforms as I've gone from FreeBSD over to
 Nexenta Core 3 with GlassfishV3 in the past and recently over to Fedora 11.

 I've got a lot of time on my hands and would like to contribute...….

 Hey's that's great. Feel free to ask specific questions if you need help
 on knowing where to put stuff!

 You could start by adding the content of this thread that you started on
 xwiki.org in the location where we explain how to use robots.txt?


 I'll have a look at updating the robots.txt content today.


 Also I will put some migration stuff on the drafts section today as that's
 quite in depth.


 Additionally I will add to my draft about containing Java Heap Space
 memory errors, Perm Space memory allocation and my custom scripts to kick
 Tomcat back online after being killed by the OS after the system runs out
 of memory.


 as said I'm unemployed at the moment so I have waaay too much time :-)


 Maybe some kind person could donate some virtual bananas for me to keep my
 energy up while Xwiki'ing the wiki ;-P


 Thanks
 -Vincent


 Regards,


 Kaya

 __**_
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users

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


Re: [xwiki-users] Insert link on wysiwyg editor

2012-01-09 Thread goldring, richard
I can insert a macro but can't insert an attached image - get the same error
message: There was an error loading the data.

So maybe under
/var/apache/tomcat55/webapps/xwiki-enterprise-web-3.2/WEB-INF/lib
xwiki-web-gwt-wysiwyg-server .jar is missing (was in Xwiki 2.7.1 version) -
is this the jar that I need? Maybe this 'missing' jar is causing the
problem??
It's not in the 3.2 war file - how do I get it?

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 09 January 2012 10:12
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor

As I said, if XWiki.WysiwygEditorConfig page was broken (bad permission or
invalid configuration) then the WYSIWYG editor wouldn't load at all. I don't
see how it can affect only the Recently Modified and Search tabs of the link
to wiki page feature.

The code that is called when you open those tabs is in GWT-RPC services, so
Java classes, which can't be affected by a XAR import (at least I don't see
how). There's no wiki/Java macro. All the code is in the WYSIWYG server jar.
Can you insert an image or a macro? If these features work (they also use
GWT-RPC services) then the problem is strictly related to the code that
queries the database. But if you say that the code I pasted works fine then
I don't have any clues..

On Mon, Jan 9, 2012 at 11:15 AM, goldring, richard
richard.goldr...@uk.thalesgroup.com wrote:
 Wondering if it's a permission problem - when I visit the 
 XWiki.WysiwygEditorConfig page (as Admin) I get the following 
 displayed: This configuration cannot be displayed because it was last 
 edited by Admin who doesn't have permission to edit this
 page.XWiki.WysiwygEditorConfig:

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of goldring, richard
 Sent: 09 January 2012 08:39
 To: 'XWiki Users'
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Yes - the code seemed to work fine and listed sall recent page edits 
 ... So I'm not sure where to look next ...what code get's called by 
 the Link dialog My recent changes abd Search tabs ... Is it a macro? 
 Which one? All I can think is it might be something to do with copying 
 material from the my previous wiki installation???

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 09 January 2012 08:30
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 On Mon, Jan 9, 2012 at 10:09 AM, goldring, richard 
 richard.goldr...@uk.thalesgroup.com wrote:
 Could importing the wiki pages from my older version of Xwiki have 
 overwritten wiki pages that could be causing this issue? (The 
 previous version was the standalone version using Jetty and HSQL).

 I don't see how. You can break the WYSIWYG editor by messing up its 
 configuration (XWiki.WysiwygEditorConfig) but then the editor won't 
 load at all. You can't break *only* the Recently Modified / Search 
 tabs of the link feature. Have you run the code I pasted?

 Hope this helps,
 Marius

 If so what wiki pages do I need to reinstate?


 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 12:51
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Sure, here you go:

 --8--
 {{groovy}}
 import com.xpn.xwiki.web.Utils;
 import java.util.List;
 import org.xwiki.query.Query;
 import org.xwiki.query.QueryManager;

 int offset = 0;
 int limit = 20;

 String statement = select distinct doc.space, doc.name, doc.date 
 from XWikiDocument as doc where doc.author = :author order by 
 doc.date desc, doc.space, doc.name; QueryManager queryManager = 
 Utils.getComponent(QueryManager.class);
 Query query = queryManager.createQuery(statement, Query.HQL); 
 query.setOffset(offset).setLimit(limit);
 query.bindValue(author, xcontext.getUser());

 ListObject[] results = query.execute(); for (Object[] result :
 results) {
  println(result[0] + . + result[1]); } {{/groovy}}
 --8--

 Hope this helps,
 Marius

 On Fri, Jan 6, 2012 at 2:46 PM, goldring, richard 
 richard.goldr...@uk.thalesgroup.com wrote:
 Ah my company's fire wall won't let me see 
 http://pastebin.com/Yj8kQ3qU  - can you directly email me  a copy of 
 the code to paste into my wiki page to try ..

 Thanks.

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of goldring, richard
 Sent: 06 January 2012 12:34
 To: 'XWiki Users'
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

  Thanks will try that on when I get back on Monday ...

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 12:25
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on 

Re: [xwiki-users] Insert link on wysiwyg editor

2012-01-09 Thread Marius Dumitru Florea
I'm sure you have xwiki-platform-wysiwyg-server-3.2.jar (it has been
renamed since 2.7.1) because otherwise the WYSIWYG editor wouldn't
load at all. If you can insert a macro, which uses GWT-RPC services,
then the problem is elsewhere. Could be related to your configuration.
I would take a clean XE war and redo the installation steps to see at
which point the WYSIWYG editor stops working properly.

Hope this helps,
Marius

On Mon, Jan 9, 2012 at 4:11 PM, goldring, richard
richard.goldr...@uk.thalesgroup.com wrote:
 I can insert a macro but can't insert an attached image - get the same error
 message: There was an error loading the data.

 So maybe under
 /var/apache/tomcat55/webapps/xwiki-enterprise-web-3.2/WEB-INF/lib
 xwiki-web-gwt-wysiwyg-server .jar is missing (was in Xwiki 2.7.1 version) -
 is this the jar that I need? Maybe this 'missing' jar is causing the
 problem??
 It's not in the 3.2 war file - how do I get it?

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
 Marius Dumitru Florea
 Sent: 09 January 2012 10:12
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 As I said, if XWiki.WysiwygEditorConfig page was broken (bad permission or
 invalid configuration) then the WYSIWYG editor wouldn't load at all. I don't
 see how it can affect only the Recently Modified and Search tabs of the link
 to wiki page feature.

 The code that is called when you open those tabs is in GWT-RPC services, so
 Java classes, which can't be affected by a XAR import (at least I don't see
 how). There's no wiki/Java macro. All the code is in the WYSIWYG server jar.
 Can you insert an image or a macro? If these features work (they also use
 GWT-RPC services) then the problem is strictly related to the code that
 queries the database. But if you say that the code I pasted works fine then
 I don't have any clues..

 On Mon, Jan 9, 2012 at 11:15 AM, goldring, richard
 richard.goldr...@uk.thalesgroup.com wrote:
 Wondering if it's a permission problem - when I visit the
 XWiki.WysiwygEditorConfig page (as Admin) I get the following
 displayed: This configuration cannot be displayed because it was last
 edited by Admin who doesn't have permission to edit this
 page.XWiki.WysiwygEditorConfig:

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
 Behalf Of goldring, richard
 Sent: 09 January 2012 08:39
 To: 'XWiki Users'
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Yes - the code seemed to work fine and listed sall recent page edits
 ... So I'm not sure where to look next ...what code get's called by
 the Link dialog My recent changes abd Search tabs ... Is it a macro?
 Which one? All I can think is it might be something to do with copying
 material from the my previous wiki installation???

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
 Behalf Of Marius Dumitru Florea
 Sent: 09 January 2012 08:30
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 On Mon, Jan 9, 2012 at 10:09 AM, goldring, richard
 richard.goldr...@uk.thalesgroup.com wrote:
 Could importing the wiki pages from my older version of Xwiki have
 overwritten wiki pages that could be causing this issue? (The
 previous version was the standalone version using Jetty and HSQL).

 I don't see how. You can break the WYSIWYG editor by messing up its
 configuration (XWiki.WysiwygEditorConfig) but then the editor won't
 load at all. You can't break *only* the Recently Modified / Search
 tabs of the link feature. Have you run the code I pasted?

 Hope this helps,
 Marius

 If so what wiki pages do I need to reinstate?


 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 12:51
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Sure, here you go:

 --8--
 {{groovy}}
 import com.xpn.xwiki.web.Utils;
 import java.util.List;
 import org.xwiki.query.Query;
 import org.xwiki.query.QueryManager;

 int offset = 0;
 int limit = 20;

 String statement = select distinct doc.space, doc.name, doc.date
 from XWikiDocument as doc where doc.author = :author order by
 doc.date desc, doc.space, doc.name; QueryManager queryManager =
 Utils.getComponent(QueryManager.class);
 Query query = queryManager.createQuery(statement, Query.HQL);
 query.setOffset(offset).setLimit(limit);
 query.bindValue(author, xcontext.getUser());

 ListObject[] results = query.execute(); for (Object[] result :
 results) {
  println(result[0] + . + result[1]); } {{/groovy}}
 --8--

 Hope this helps,
 Marius

 On Fri, Jan 6, 2012 at 2:46 PM, goldring, richard
 richard.goldr...@uk.thalesgroup.com wrote:
 Ah my company's fire wall won't let me see
 http://pastebin.com/Yj8kQ3qU  - can you directly email me  a copy of
 the code to paste into my wiki page to try 

Re: [xwiki-users] Insert link on wysiwyg editor

2012-01-09 Thread Sergiu Dumitriu

On 01/09/2012 09:28 AM, Marius Dumitru Florea wrote:

I'm sure you have xwiki-platform-wysiwyg-server-3.2.jar (it has been
renamed since 2.7.1) because otherwise the WYSIWYG editor wouldn't
load at all. If you can insert a macro, which uses GWT-RPC services,
then the problem is elsewhere. Could be related to your configuration.
I would take a clean XE war and redo the installation steps to see at
which point the WYSIWYG editor stops working properly.


Could it be the content that's breaking the functionality? Like some 
unescaped characters? Some HTTP request dumps (for example from Firebug) 
would be helpful.



Hope this helps,
Marius

On Mon, Jan 9, 2012 at 4:11 PM, goldring, richard
richard.goldr...@uk.thalesgroup.com  wrote:

I can insert a macro but can't insert an attached image - get the same error
message: There was an error loading the data.

So maybe under
/var/apache/tomcat55/webapps/xwiki-enterprise-web-3.2/WEB-INF/lib
xwiki-web-gwt-wysiwyg-server .jar is missing (was in Xwiki 2.7.1 version) -
is this the jar that I need? Maybe this 'missing' jar is causing the
problem??
It's not in the 3.2 war file - how do I get it?

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 09 January 2012 10:12
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor

As I said, if XWiki.WysiwygEditorConfig page was broken (bad permission or
invalid configuration) then the WYSIWYG editor wouldn't load at all. I don't
see how it can affect only the Recently Modified and Search tabs of the link
to wiki page feature.

The code that is called when you open those tabs is in GWT-RPC services, so
Java classes, which can't be affected by a XAR import (at least I don't see
how). There's no wiki/Java macro. All the code is in the WYSIWYG server jar.
Can you insert an image or a macro? If these features work (they also use
GWT-RPC services) then the problem is strictly related to the code that
queries the database. But if you say that the code I pasted works fine then
I don't have any clues..

On Mon, Jan 9, 2012 at 11:15 AM, goldring, richard
richard.goldr...@uk.thalesgroup.com  wrote:

Wondering if it's a permission problem - when I visit the
XWiki.WysiwygEditorConfig page (as Admin) I get the following
displayed: This configuration cannot be displayed because it was last
edited by Admin who doesn't have permission to edit this
page.XWiki.WysiwygEditorConfig:

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
Behalf Of goldring, richard
Sent: 09 January 2012 08:39
To: 'XWiki Users'
Subject: Re: [xwiki-users] Insert link on wysiwyg editor

Yes - the code seemed to work fine and listed sall recent page edits
... So I'm not sure where to look next ...what code get's called by
the Link dialog My recent changes abd Search tabs ... Is it a macro?
Which one? All I can think is it might be something to do with copying
material from the my previous wiki installation???

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
Behalf Of Marius Dumitru Florea
Sent: 09 January 2012 08:30
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor

On Mon, Jan 9, 2012 at 10:09 AM, goldring, richard
richard.goldr...@uk.thalesgroup.com  wrote:

Could importing the wiki pages from my older version of Xwiki have
overwritten wiki pages that could be causing this issue? (The
previous version was the standalone version using Jetty and HSQL).


I don't see how. You can break the WYSIWYG editor by messing up its
configuration (XWiki.WysiwygEditorConfig) but then the editor won't
load at all. You can't break *only* the Recently Modified / Search
tabs of the link feature. Have you run the code I pasted?

Hope this helps,
Marius


If so what wiki pages do I need to reinstate?


-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
Behalf Of Marius Dumitru Florea
Sent: 06 January 2012 12:51
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor

Sure, here you go:

--8--
{{groovy}}
import com.xpn.xwiki.web.Utils;
import java.util.List;
import org.xwiki.query.Query;
import org.xwiki.query.QueryManager;

int offset = 0;
int limit = 20;

String statement = select distinct doc.space, doc.name, doc.date
from XWikiDocument as doc where doc.author = :author order by
doc.date desc, doc.space, doc.name; QueryManager queryManager =
Utils.getComponent(QueryManager.class);
Query query = queryManager.createQuery(statement, Query.HQL);
query.setOffset(offset).setLimit(limit);
query.bindValue(author, xcontext.getUser());

ListObject[]  results = query.execute(); for (Object[] result :
results) {
  println(result[0] + . + result[1]); } {{/groovy}}
--8--

Hope this helps,
Marius

On Fri, Jan 6, 2012 at 2:46 PM, goldring, richard
richard.goldr...@uk.thalesgroup.com  wrote:

Ah my company's 

Re: [xwiki-users] Insert link on wysiwyg editor

2012-01-09 Thread goldring, richard
The problem occurs even on xwiki default pages rather than on user generated
pages.

I'd like to keep the current wiki running for users so as not to distrupt
them and build up a new separate installation so I can try isolate what the
problem is as you suggest. 

Can install another xwiki using the same mysql but using a differently names
xwiki database? If so how might I config it? 

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
Sergiu Dumitriu
Sent: 09 January 2012 14:36
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor

On 01/09/2012 09:28 AM, Marius Dumitru Florea wrote:
 I'm sure you have xwiki-platform-wysiwyg-server-3.2.jar (it has been 
 renamed since 2.7.1) because otherwise the WYSIWYG editor wouldn't 
 load at all. If you can insert a macro, which uses GWT-RPC services, 
 then the problem is elsewhere. Could be related to your configuration.
 I would take a clean XE war and redo the installation steps to see at 
 which point the WYSIWYG editor stops working properly.

Could it be the content that's breaking the functionality? Like some
unescaped characters? Some HTTP request dumps (for example from Firebug)
would be helpful.

 Hope this helps,
 Marius

 On Mon, Jan 9, 2012 at 4:11 PM, goldring, richard 
 richard.goldr...@uk.thalesgroup.com  wrote:
 I can insert a macro but can't insert an attached image - get the 
 same error
 message: There was an error loading the data.

 So maybe under
 /var/apache/tomcat55/webapps/xwiki-enterprise-web-3.2/WEB-INF/lib
 xwiki-web-gwt-wysiwyg-server .jar is missing (was in Xwiki 2.7.1 
 version) - is this the jar that I need? Maybe this 'missing' jar is 
 causing the problem??
 It's not in the 3.2 war file - how do I get it?

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 09 January 2012 10:12
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 As I said, if XWiki.WysiwygEditorConfig page was broken (bad 
 permission or invalid configuration) then the WYSIWYG editor wouldn't 
 load at all. I don't see how it can affect only the Recently Modified 
 and Search tabs of the link to wiki page feature.

 The code that is called when you open those tabs is in GWT-RPC 
 services, so Java classes, which can't be affected by a XAR import 
 (at least I don't see how). There's no wiki/Java macro. All the code is
in the WYSIWYG server jar.
 Can you insert an image or a macro? If these features work (they also 
 use GWT-RPC services) then the problem is strictly related to the 
 code that queries the database. But if you say that the code I pasted 
 works fine then I don't have any clues..

 On Mon, Jan 9, 2012 at 11:15 AM, goldring, richard 
 richard.goldr...@uk.thalesgroup.com  wrote:
 Wondering if it's a permission problem - when I visit the 
 XWiki.WysiwygEditorConfig page (as Admin) I get the following
 displayed: This configuration cannot be displayed because it was 
 last edited by Admin who doesn't have permission to edit this
 page.XWiki.WysiwygEditorConfig:

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of goldring, richard
 Sent: 09 January 2012 08:39
 To: 'XWiki Users'
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Yes - the code seemed to work fine and listed sall recent page edits 
 ... So I'm not sure where to look next ...what code get's called by 
 the Link dialog My recent changes abd Search tabs ... Is it a macro?
 Which one? All I can think is it might be something to do with 
 copying material from the my previous wiki installation???

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 09 January 2012 08:30
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 On Mon, Jan 9, 2012 at 10:09 AM, goldring, richard 
 richard.goldr...@uk.thalesgroup.com  wrote:
 Could importing the wiki pages from my older version of Xwiki have 
 overwritten wiki pages that could be causing this issue? (The 
 previous version was the standalone version using Jetty and HSQL).

 I don't see how. You can break the WYSIWYG editor by messing up its 
 configuration (XWiki.WysiwygEditorConfig) but then the editor won't 
 load at all. You can't break *only* the Recently Modified / Search 
 tabs of the link feature. Have you run the code I pasted?

 Hope this helps,
 Marius

 If so what wiki pages do I need to reinstate?


 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Marius Dumitru Florea
 Sent: 06 January 2012 12:51
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Sure, here you go:

 --8--
 {{groovy}}
 import com.xpn.xwiki.web.Utils;
 import java.util.List;
 import org.xwiki.query.Query;
 import 

Re: [xwiki-users] Usage and placement of robots.txt file

2012-01-09 Thread Kaya Saman

On 01/09/2012 03:31 PM, Guillaume Lerouge wrote:

Hi Kaya,

here you go:
http://www.businesspundit.com/wp-content/uploads/2008/10/banana1.jpg

Looking forward to the FreeBSD documentation,

Guillaume


Thanks!! :-)


I appended my first doc with a section at the end called Memory Errors:

http://dev.xwiki.org/xwiki/bin/view/Drafts/BSD_Install


This doc is now complete and should be taken over to the main wiki so if 
I could get permission to do so I will move it.



Next up robots.txt ---



On Mon, Jan 9, 2012 at 2:23 PM, Kaya Samankayasa...@gmail.com  wrote:


On 01/09/2012 11:49 AM, Vincent Massol wrote:


On Jan 8, 2012, at 10:03 PM, Kaya Saman wrote:

  On 01/08/2012 10:06 PM, Vincent Massol wrote:

Hi Guys,

Would be great if you could update the existing wiki documentation with
the information in this thread since it wasn't good enough in the first
place apparently :)

Thanks!
-Vincent


That's an interesting point Vincent!

As an Xwiki user a while back I wrote a howto on installing Xwiki with
Tomcat and Postgresql on FreeBSD. I just can't remember where the 'user
space' was to put it in as it's been a while since I last worked with Xwiki


I know that we have some external tutorials listed here:
http://platform.xwiki.org/**xwiki/bin/view/AdminGuide/**
Installation#HTutorialshttp://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HTutorials


I managed to find my old howto - is still stored as draft :-)

google'd freebsd xwiki

http://dev.xwiki.org/xwiki/**bin/view/Drafts/BSD_Installhttp://dev.xwiki.org/xwiki/bin/view/Drafts/BSD_Install


Can I get this on the 'real' wiki??


P.s. second link on Google goes directly to my personal wiki site which I
put all of the Xwiki stuff I'm doing onto. So managed to crack 2 eggs for
the price of one it seems!




  - although from my posting you can see that I'm back and things are

online again.

I would like to write some documentation about migrating Xwiki from
server to server or multiple platforms as I've gone from FreeBSD over to
Nexenta Core 3 with GlassfishV3 in the past and recently over to Fedora 11.

I've got a lot of time on my hands and would like to contribute...….


Hey's that's great. Feel free to ask specific questions if you need help
on knowing where to put stuff!

You could start by adding the content of this thread that you started on
xwiki.org in the location where we explain how to use robots.txt?


I'll have a look at updating the robots.txt content today.


Also I will put some migration stuff on the drafts section today as that's
quite in depth.


Additionally I will add to my draft about containing Java Heap Space
memory errors, Perm Space memory allocation and my custom scripts to kick
Tomcat back online after being killed by the OS after the system runs out
of memory.


as said I'm unemployed at the moment so I have waaay too much time :-)


Maybe some kind person could donate some virtual bananas for me to keep my
energy up while Xwiki'ing the wiki ;-P



Thanks
-Vincent


Regards,


Kaya

__**_
users mailing list
users@xwiki.org
http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users


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


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


[xwiki-users] Fwd: Re: Usage and placement of robots.txt file

2012-01-09 Thread Kaya Saman

robots.txt section is extended.

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HRobots.txt

 Original Message 
Subject:Re: [xwiki-users] Usage and placement of robots.txt file
Date:   Mon, 09 Jan 2012 17:43:31 +0200
From:   Kaya Saman kayasa...@gmail.com
To: users@xwiki.org



On 01/09/2012 03:31 PM, Guillaume Lerouge wrote:

 Hi Kaya,

 here you go:
 http://www.businesspundit.com/wp-content/uploads/2008/10/banana1.jpg

 Looking forward to the FreeBSD documentation,

 Guillaume


Thanks!! :-)


I appended my first doc with a section at the end called Memory Errors:

http://dev.xwiki.org/xwiki/bin/view/Drafts/BSD_Install


This doc is now complete and should be taken over to the main wiki so if
I could get permission to do so I will move it.


Next up robots.txt ---



 On Mon, Jan 9, 2012 at 2:23 PM, Kaya Samankayasa...@gmail.com   wrote:


 On 01/09/2012 11:49 AM, Vincent Massol wrote:


 On Jan 8, 2012, at 10:03 PM, Kaya Saman wrote:

   On 01/08/2012 10:06 PM, Vincent Massol wrote:

 Hi Guys,

 Would be great if you could update the existing wiki documentation with
 the information in this thread since it wasn't good enough in the first
 place apparently :)

 Thanks!
 -Vincent


 That's an interesting point Vincent!

 As an Xwiki user a while back I wrote a howto on installing Xwiki with
 Tomcat and Postgresql on FreeBSD. I just can't remember where the 'user
 space' was to put it in as it's been a while since I last worked with Xwiki


 I know that we have some external tutorials listed here:
 http://platform.xwiki.org/**xwiki/bin/view/AdminGuide/**
 
Installation#HTutorialshttp://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HTutorials


 I managed to find my old howto - is still stored as draft :-)

 google'd freebsd xwiki

 
http://dev.xwiki.org/xwiki/**bin/view/Drafts/BSD_Installhttp://dev.xwiki.org/xwiki/bin/view/Drafts/BSD_Install


 Can I get this on the 'real' wiki??


 P.s. second link on Google goes directly to my personal wiki site which I
 put all of the Xwiki stuff I'm doing onto. So managed to crack 2 eggs for
 the price of one it seems!




   - although from my posting you can see that I'm back and things are

 online again.

 I would like to write some documentation about migrating Xwiki from
 server to server or multiple platforms as I've gone from FreeBSD over to
 Nexenta Core 3 with GlassfishV3 in the past and recently over to Fedora 11.

 I've got a lot of time on my hands and would like to contribute...….


 Hey's that's great. Feel free to ask specific questions if you need help
 on knowing where to put stuff!

 You could start by adding the content of this thread that you started on
 xwiki.org in the location where we explain how to use robots.txt?


 I'll have a look at updating the robots.txt content today.


 Also I will put some migration stuff on the drafts section today as that's
 quite in depth.


 Additionally I will add to my draft about containing Java Heap Space
 memory errors, Perm Space memory allocation and my custom scripts to kick
 Tomcat back online after being killed by the OS after the system runs out
 of memory.


 as said I'm unemployed at the moment so I have waaay too much time :-)


 Maybe some kind person could donate some virtual bananas for me to keep my
 energy up while Xwiki'ing the wiki ;-P



 Thanks
 -Vincent


 Regards,


 Kaya

 __**_
 users mailing list
 users@xwiki.org
 
http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users


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



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


[xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Kaya Saman

Hi,

just checked through my logs and found this:

SEVERE: The web application [/xwiki] created a ThreadLocal with key of 
type [org.apache.log4j.helpers.ThreadLocalMap] (value 
[org.apache.log4j.helpers.ThreadLocalMap@2ff7ac92]) and a value of type 
[java.util.Hashtable] (value 
[{url=http://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.ResetPasswordRequestClass}]) 
but failed to remove it when the web application was stopped. This is 
very likely to create a memory leak.



it's probably the reason my Java instance is so unstable and hogging my 
systems swap. Can anything be done to sort it?

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


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Guillaume Lerouge
Hi Kaya,

are you experiencing this on XWiki Enterprise 3.2?

If so, this is a know issue that will be fixed in XWiki Enterprise 3.2.1
which should be out pretty soon.

Guillaume

On Mon, Jan 9, 2012 at 5:01 PM, Kaya Saman kayasa...@gmail.com wrote:

 Hi,

 just checked through my logs and found this:

 SEVERE: The web application [/xwiki] created a ThreadLocal with key of
 type [org.apache.log4j.helpers.**ThreadLocalMap] (value
 [org.apache.log4j.helpers.**ThreadLocalMap@2ff7ac92]) and a value of type
 [java.util.Hashtable] (value [{url=http://wiki.optiplex-**
 networks.com/xwiki/bin/export/**XWiki/**ResetPasswordRequestClass?**
 format=xarname=XWiki.**ResetPasswordRequestClass**pages=XWiki.**
 ResetPasswordRequestClass}http://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.ResetPasswordRequestClass%7D])
 but failed to remove it when the web application was stopped. This is very
 likely to create a memory leak.


 it's probably the reason my Java instance is so unstable and hogging my
 systems swap. Can anything be done to sort it?
 __**_
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users

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


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Sergiu Dumitriu

On 01/09/2012 11:01 AM, Kaya Saman wrote:

Hi,

just checked through my logs and found this:

SEVERE: The web application [/xwiki] created a ThreadLocal with key of
type [org.apache.log4j.helpers.ThreadLocalMap] (value
[org.apache.log4j.helpers.ThreadLocalMap@2ff7ac92]) and a value of type
[java.util.Hashtable] (value
[{url=http://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.ResetPasswordRequestClass}])
but failed to remove it when the web application was stopped. This is
very likely to create a memory leak.


it's probably the reason my Java instance is so unstable and hogging my
systems swap. Can anything be done to sort it?


That's not severe, it's only triggered when undeploying XWiki. When 
shutting down Tomcat, it doesn't mean anything since the JVM is going to 
exit anyway. The only real concern is when you redeploy the war at 
runtime, through the container's management interface, and Tomcat does 
handle that, it just reports it as a warning.

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


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Kaya Saman

On 01/09/2012 06:08 PM, Sergiu Dumitriu wrote:

On 01/09/2012 11:01 AM, Kaya Saman wrote:

Hi,

just checked through my logs and found this:

SEVERE: The web application [/xwiki] created a ThreadLocal with key of
type [org.apache.log4j.helpers.ThreadLocalMap] (value
[org.apache.log4j.helpers.ThreadLocalMap@2ff7ac92]) and a value of type
[java.util.Hashtable] (value
[{url=http://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.ResetPasswordRequestClass}]) 


but failed to remove it when the web application was stopped. This is
very likely to create a memory leak.


it's probably the reason my Java instance is so unstable and hogging my
systems swap. Can anything be done to sort it?


That's not severe, it's only triggered when undeploying XWiki. When 
shutting down Tomcat, it doesn't mean anything since the JVM is going 
to exit anyway. The only real concern is when you redeploy the war at 
runtime, through the container's management interface, and Tomcat does 
handle that, it just reports it as a warning.


Well for a while I've been trying to debug 'extreme' memory usage by 
Tomcat/Java and it seems it's a viable culprit.


Not so much for my wiki site but my www which actually should have 
smaller footprint then my wiki since it has much less information in it 
or attachments. The only thing that may use more memory could be the 
flash video on the main page.


Out of 4GB memory this is what's happened to my system:

Mem: 1738M Active, 266M Inact, 1673M Wired, 25M Cache, 408M Buf, 125M Free
Swap: 2327M Total, 2276M Used, 51M Free, 97% Inuse

  PID USERNAME  THR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
51547 www46  440  3557M   993M ucond   1   9:46  0.00% java


which is 64bit too.

The RES part of top has gone down but used to be round 1.6GB??


If it's not a memory leak as such then are there any performance tips 
that I can use that will directly lower the memory usage?



I have checked out the 'performance tuning' page on the site, hence I 
was directly working in it for the robots.txt stuff :-)



Regards,


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


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Kaya Saman

On 01/09/2012 06:06 PM, Guillaume Lerouge wrote:

Hi Kaya,

are you experiencing this on XWiki Enterprise 3.2?

If so, this is a know issue that will be fixed in XWiki Enterprise 3.2.1
which should be out pretty soon.

Guillaume


How can I check the version??

I can't remember when I built my wiki but it was probably back in 2010 
or so...




On Mon, Jan 9, 2012 at 5:01 PM, Kaya Samankayasa...@gmail.com  wrote:


Hi,

just checked through my logs and found this:

SEVERE: The web application [/xwiki] created a ThreadLocal with key of
type [org.apache.log4j.helpers.**ThreadLocalMap] (value
[org.apache.log4j.helpers.**ThreadLocalMap@2ff7ac92]) and a value of type
[java.util.Hashtable] (value [{url=http://wiki.optiplex-**
networks.com/xwiki/bin/export/**XWiki/**ResetPasswordRequestClass?**
format=xarname=XWiki.**ResetPasswordRequestClass**pages=XWiki.**
ResetPasswordRequestClass}http://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.ResetPasswordRequestClass%7D])
but failed to remove it when the web application was stopped. This is very
likely to create a memory leak.


it's probably the reason my Java instance is so unstable and hogging my
systems swap. Can anything be done to sort it?
__**_
users mailing list
users@xwiki.org
http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users


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


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


[xwiki-users] Configuration to change the default space i.e main space to user created space?

2012-01-09 Thread mohit gupta
Hi All,

As soon as l gets login , i enter to main space  webhome page . I want to
change this default main space to some user created space (Basically what i
need is as soon as user logs in, he should enter to user created
space instead of main space)  Is it configurable? Thanks.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Vincent Massol

On Jan 9, 2012, at 5:06 PM, Guillaume Lerouge wrote:

 Hi Kaya,
 
 are you experiencing this on XWiki Enterprise 3.2?
 
 If so, this is a know issue that will be fixed in XWiki Enterprise 3.2.1
 which should be out pretty soon.

No this has nothing to do with what you are thinking about Guillaume :)
(see Sergiu's answer).

Thanks
-Vincent

 Guillaume
 
 On Mon, Jan 9, 2012 at 5:01 PM, Kaya Saman kayasa...@gmail.com wrote:
 
 Hi,
 
 just checked through my logs and found this:
 
 SEVERE: The web application [/xwiki] created a ThreadLocal with key of
 type [org.apache.log4j.helpers.**ThreadLocalMap] (value
 [org.apache.log4j.helpers.**ThreadLocalMap@2ff7ac92]) and a value of type
 [java.util.Hashtable] (value [{url=http://wiki.optiplex-**
 networks.com/xwiki/bin/export/**XWiki/**ResetPasswordRequestClass?**
 format=xarname=XWiki.**ResetPasswordRequestClass**pages=XWiki.**
 ResetPasswordRequestClass}http://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.ResetPasswordRequestClass%7D])
 but failed to remove it when the web application was stopped. This is very
 likely to create a memory leak.
 
 
 it's probably the reason my Java instance is so unstable and hogging my
 systems swap. Can anything be done to sort it?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Guillaume Fenollar
Your wiki is running 2.4, it's written as the extreme bottom of the page.

I don't know if it will help for this problem, but since you have some free
time, you should think about upgrading your wiki ;-)

Guillaume Fenollar

2012/1/9 Kaya Saman kayasa...@gmail.com

 On 01/09/2012 06:06 PM, Guillaume Lerouge wrote:

 Hi Kaya,

 are you experiencing this on XWiki Enterprise 3.2?

 If so, this is a know issue that will be fixed in XWiki Enterprise 3.2.1
 which should be out pretty soon.

 Guillaume


 How can I check the version??

 I can't remember when I built my wiki but it was probably back in 2010 or
 so...



 On Mon, Jan 9, 2012 at 5:01 PM, Kaya Samankayasa...@gmail.com  wrote:

  Hi,

 just checked through my logs and found this:

 SEVERE: The web application [/xwiki] created a ThreadLocal with key of
 type [org.apache.log4j.helpers.ThreadLocalMap] (value
 [org.apache.log4j.helpers.ThreadLocalMap@2ff7ac92]) and a value of
 type
 [java.util.Hashtable] (value [{url=http://wiki.optiplex-**
 networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?**http://networks.com/xwiki/bin/export/**XWiki/**ResetPasswordRequestClass?**
 format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.**
 ResetPasswordRequestClass}htt**p://wiki.optiplex-networks.**
 com/xwiki/bin/export/XWiki/**ResetPasswordRequestClass?**
 format=xarname=XWiki.**ResetPasswordRequestClass**pages=XWiki.**
 ResetPasswordRequestClass%7Dhttp://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.ResetPasswordRequestClass%7D
 ]**)
 but failed to remove it when the web application was stopped. This is
 very
 likely to create a memory leak.


 it's probably the reason my Java instance is so unstable and hogging my
 systems swap. Can anything be done to sort it?
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/usershttp://lists.xwiki.org/**mailman/listinfo/users
 http://**lists.xwiki.org/mailman/**listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users
 

  __**_
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users


 __**_
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users




-- 
Guillaume Fenollar
XWiki SysAdmin
Tel : +33 (0)1.83.62.65.97
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Kaya Saman

On 01/09/2012 07:20 PM, Guillaume Fenollar wrote:

Your wiki is running 2.4, it's written as the extreme bottom of the page.

I don't know if it will help for this problem, but since you have some free
time, you should think about upgrading your wiki ;-)

Guillaume Fenollar


Was already on it :-)

http://enterprise.xwiki.org/xwiki/bin/view/Main/Download

http://www.xwiki.org/xwiki/bin/view/FAQ/HowCanIUpdateXWIKIFromAnOlderVersion


My only concern is that I have the PhotoAlbum and Calendar .XAR and .JAR 
applications will upgrading cause any problems to these???



Regards,


Kaya




2012/1/9 Kaya Samankayasa...@gmail.com


On 01/09/2012 06:06 PM, Guillaume Lerouge wrote:


Hi Kaya,

are you experiencing this on XWiki Enterprise 3.2?

If so, this is a know issue that will be fixed in XWiki Enterprise 3.2.1
which should be out pretty soon.

Guillaume


How can I check the version??

I can't remember when I built my wiki but it was probably back in 2010 or
so...




On Mon, Jan 9, 2012 at 5:01 PM, Kaya Samankayasa...@gmail.com   wrote:

  Hi,

just checked through my logs and found this:

SEVERE: The web application [/xwiki] created a ThreadLocal with key of
type [org.apache.log4j.helpers.ThreadLocalMap] (value
[org.apache.log4j.helpers.ThreadLocalMap@2ff7ac92]) and a value of
type
[java.util.Hashtable] (value [{url=http://wiki.optiplex-**
networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?**http://networks.com/xwiki/bin/export/**XWiki/**ResetPasswordRequestClass?**
format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.**
ResetPasswordRequestClass}htt**p://wiki.optiplex-networks.**
com/xwiki/bin/export/XWiki/**ResetPasswordRequestClass?**
format=xarname=XWiki.**ResetPasswordRequestClass**pages=XWiki.**
ResetPasswordRequestClass%7Dhttp://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xarname=XWiki.ResetPasswordRequestClasspages=XWiki.ResetPasswordRequestClass%7D

]**)

but failed to remove it when the web application was stopped. This is
very
likely to create a memory leak.


it's probably the reason my Java instance is so unstable and hogging my
systems swap. Can anything be done to sort it?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/usershttp://lists.xwiki.org/**mailman/listinfo/users
http://**lists.xwiki.org/mailman/**listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users
  __**_

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


__**_
users mailing list
users@xwiki.org
http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users






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


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Sergiu Dumitriu

On 01/09/2012 12:24 PM, Kaya Saman wrote:

On 01/09/2012 07:20 PM, Guillaume Fenollar wrote:

Your wiki is running 2.4, it's written as the extreme bottom of the page.

I don't know if it will help for this problem, but since you have some
free
time, you should think about upgrading your wiki ;-)

Guillaume Fenollar


Was already on it :-)

http://enterprise.xwiki.org/xwiki/bin/view/Main/Download

http://www.xwiki.org/xwiki/bin/view/FAQ/HowCanIUpdateXWIKIFromAnOlderVersion



My only concern is that I have the PhotoAlbum and Calendar .XAR and .JAR
applications will upgrading cause any problems to these???


As far as I know, these shouldn't stop working, just that they're not 
considered good enough to be in the platform anymore, we need to rewrite 
them sometime soon.


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


Re: [xwiki-users] Memory Leak detected - can anything be done to rectify?

2012-01-09 Thread Kaya Saman

On 01/09/2012 07:36 PM, Sergiu Dumitriu wrote:

On 01/09/2012 12:24 PM, Kaya Saman wrote:

On 01/09/2012 07:20 PM, Guillaume Fenollar wrote:
Your wiki is running 2.4, it's written as the extreme bottom of the 
page.


I don't know if it will help for this problem, but since you have some
free
time, you should think about upgrading your wiki ;-)

Guillaume Fenollar


Was already on it :-)

http://enterprise.xwiki.org/xwiki/bin/view/Main/Download

http://www.xwiki.org/xwiki/bin/view/FAQ/HowCanIUpdateXWIKIFromAnOlderVersion 





My only concern is that I have the PhotoAlbum and Calendar .XAR and .JAR
applications will upgrading cause any problems to these???


As far as I know, these shouldn't stop working, just that they're not 
considered good enough to be in the platform anymore, we need to 
rewrite them sometime soon.




On that note I don't get Diaporama..!!! And the documentation is 
really poor for it :-(


If someone could explain to me what it is I can amp up the documentation 
no probs ;-)

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


[xwiki-users] Fwd: Fwd: Re: Usage and placement of robots.txt file

2012-01-09 Thread Kaya Saman

I created a new page for migrating Xwiki between platforms:

http://dev.xwiki.org/xwiki/bin/view/Drafts/BSD_Migration

It's based around BSD but easily adaptable to any other OS...



It still isn't complete as I need to put Glassfish information up but 
unfortunately I left my notes abroad while I was on my 2 year sabbatical 
(at my parents house no less) so I will need to retrace my steps there. 
Shouldn't be a problem with VBOX though..





 Original Message 
Subject:Fwd: Re: [xwiki-users] Usage and placement of robots.txt file
Date:   Mon, 09 Jan 2012 17:54:58 +0200
From:   Kaya Saman kayasa...@gmail.com
To: xwiki Users users@xwiki.org



robots.txt section is extended.

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HRobots.txt

 Original Message 
Subject:Re: [xwiki-users] Usage and placement of robots.txt file
Date:   Mon, 09 Jan 2012 17:43:31 +0200
From:   Kaya Saman kayasa...@gmail.com
To: users@xwiki.org



On 01/09/2012 03:31 PM, Guillaume Lerouge wrote:

 Hi Kaya,

 here you go:
 http://www.businesspundit.com/wp-content/uploads/2008/10/banana1.jpg

 Looking forward to the FreeBSD documentation,

 Guillaume


Thanks!! :-)


I appended my first doc with a section at the end called Memory Errors:

http://dev.xwiki.org/xwiki/bin/view/Drafts/BSD_Install


This doc is now complete and should be taken over to the main wiki so if
I could get permission to do so I will move it.


Next up robots.txt ---



 On Mon, Jan 9, 2012 at 2:23 PM, Kaya Samankayasa...@gmail.com   wrote:


 On 01/09/2012 11:49 AM, Vincent Massol wrote:


 On Jan 8, 2012, at 10:03 PM, Kaya Saman wrote:

   On 01/08/2012 10:06 PM, Vincent Massol wrote:

 Hi Guys,

 Would be great if you could update the existing wiki documentation with
 the information in this thread since it wasn't good enough in the first
 place apparently :)

 Thanks!
 -Vincent


 That's an interesting point Vincent!

 As an Xwiki user a while back I wrote a howto on installing Xwiki with
 Tomcat and Postgresql on FreeBSD. I just can't remember where the 'user
 space' was to put it in as it's been a while since I last worked with Xwiki


 I know that we have some external tutorials listed here:
 http://platform.xwiki.org/**xwiki/bin/view/AdminGuide/**
 
Installation#HTutorialshttp://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HTutorials


 I managed to find my old howto - is still stored as draft :-)

 google'd freebsd xwiki

 
http://dev.xwiki.org/xwiki/**bin/view/Drafts/BSD_Installhttp://dev.xwiki.org/xwiki/bin/view/Drafts/BSD_Install


 Can I get this on the 'real' wiki??


 P.s. second link on Google goes directly to my personal wiki site which I
 put all of the Xwiki stuff I'm doing onto. So managed to crack 2 eggs for
 the price of one it seems!




   - although from my posting you can see that I'm back and things are

 online again.

 I would like to write some documentation about migrating Xwiki from
 server to server or multiple platforms as I've gone from FreeBSD over to
 Nexenta Core 3 with GlassfishV3 in the past and recently over to Fedora 11.

 I've got a lot of time on my hands and would like to contribute...….


 Hey's that's great. Feel free to ask specific questions if you need help
 on knowing where to put stuff!

 You could start by adding the content of this thread that you started on
 xwiki.org in the location where we explain how to use robots.txt?


 I'll have a look at updating the robots.txt content today.


 Also I will put some migration stuff on the drafts section today as that's
 quite in depth.


 Additionally I will add to my draft about containing Java Heap Space
 memory errors, Perm Space memory allocation and my custom scripts to kick
 Tomcat back online after being killed by the OS after the system runs out
 of memory.


 as said I'm unemployed at the moment so I have waaay too much time :-)


 Maybe some kind person could donate some virtual bananas for me to keep my
 energy up while Xwiki'ing the wiki ;-P



 Thanks
 -Vincent


 Regards,


 Kaya

 __**_
 users mailing list
 users@xwiki.org
 
http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users


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


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


[xwiki-users] Migrated Xwiki to latest 'stable' release - Login user pic is now covering the first letter in title

2012-01-09 Thread Kaya Saman

Hi guys,

whew, a lot of work today :-)


I upgraded my main www site to Xwiki 3.1.1 in doing so I performed these 
steps:


 * cp old hibernate.cfg.xml file across to new xwiki dir
 * cp old xwiki.cfg file across to new xwiki dir
 * cp postgresql-8.3-603.jdbc4.jar to new xwiki dir
 * cp skins/toucan to new xwiki dir



Now when I login, my login pic covers the first letter of the Title on 
the page.?



Is this because the CSS or cfg files have been altered in the new release?

Meaning I need to re-add my previous customizations to the new format?


Regards,


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


[xwiki-users] XWiki 3.1 - Panel Wizard causing 100% CPU Utilization in RedHat w/JBoss

2012-01-09 Thread Chris Meyer
Hi All,

I am having an odd issue with the panel wizard in my test and prod
instances of XWiki. The users are trying to click on Panel Wizard via
Administer this Wiki and the system spikes to 25% CPU but never yields
results. Later, they try again, another 25% CPU and no results
ultimately they keep trying until I start getting administrative alerts
that the system is overwhelmed. To recover, I need to stop/start the
application. However, that only allows the application to function until
they do the same thing again. This is a critical task for them to add the
necessary navigation to their wiki.

Anyone had a similar experience?

Any ideas on how to troubleshoot this further?

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


Re: [xwiki-users] [Help] Help us improve the XWiki documentation by telling us what's missing

2012-01-09 Thread Haru Mamburu
Hi, Vincent,

I put an issue XWiki setup and configuration issues at 
http://jira.xwiki.org/browse/XWIKIORG-25 
Probably, the list of setup problems is not full and somebody would extend it. 
:-)

Kind regards,

Dmitry


05 января 2012, 14:07 от Vincent Massol vinc...@massol.net:
 Guys, we didn't get any new JIRA issue on improving the xwiki.org 
 documentation.
 
 So I guess it means our documentation is perfect and there's nothing to 
 improve, right? :)
 
 Come on, help us identify precise stuff that need improvement. I'm sure you 
 have had problems finding information about something in the past!
 
 Thanks
 -Vincent
 
 On Dec 20, 2011, at 2:16 PM, Vincent Massol wrote:
 
  Hi XWiki users,
 
  The XWiki projects needs your help. We'd like to improve the documentation 
  on xwiki.org but we need your help to tell us what should be improved in 
  your opinion.
 
  To do so we've created a JIRA project for listing stuff to do:
  http://jira.xwiki.org/browse/XWIKIORG
 
  It would be a great help if you could register there and create JIRA issues 
  for anything you think should be improved on xwiki.org.
 
  Please try to create very specific and focused issues so that they are 
  actionable easily (for example an issue saying Improve xwiki.org 
  documentation would not help much ;) but one that would say for example: 
  Provide documentation on how to use the DBListClass is useful).
 
  Thanks a lot for your help!
  -Vincent on behalf of the XWiki Dev Team
 
 ___
 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] Fwd: Migrated Xwiki to latest 'stable' release - Login user pic is now covering the first letter in title

2012-01-09 Thread Kaya Saman

Ok got this fixed!!!

Simple fix: Refresh the page!

Now all works :-)

The 'memory leak' I experienced also seems to be fixed:


Mem: 837M Active, 197M Inact, 2575M Wired, 110M Cache, 408M Buf, 107M Free
Swap: 2327M Total, 109M Used, 2218M Free, 4% Inuse

  PID JID USERNAME   THR PRI NICE   SIZERES STATE   C   TIME   WCPU 
COMMAND

86474  22 www 45  440  3543M   335M ucond   2   1:48  0.00% java
14615  14 www 43  440  3509M   425M ucond   2   0:38  0.00% java


which is how I believe that the Xwiki instances should work ;-)


Just a little strange thing with the WYSIWYG editor. on pages where 
I have HTML content it doesn't seem to want to work. I get the little 
animated circle, cycling forever and not doing anything??


On static Xwiki coded pages it works fine though!


Good job guys on the current stable Xwiki 3.1.1 :-) it is performing 
much better then the previous version. - I like it



Regards,


Kaya

 Original Message 
Subject: 	Migrated Xwiki to latest 'stable' release - Login user pic is 
now covering the first letter in title

Date:   Mon, 09 Jan 2012 22:01:54 +0200
From:   Kaya Saman kayasa...@gmail.com
To: XWiki Users users@xwiki.org



Hi guys,

whew, a lot of work today :-)


I upgraded my main www site to Xwiki 3.1.1 in doing so I performed these 
steps:


 * cp old hibernate.cfg.xml file across to new xwiki dir
 * cp old xwiki.cfg file across to new xwiki dir
 * cp postgresql-8.3-603.jdbc4.jar to new xwiki dir
 * cp skins/toucan to new xwiki dir



Now when I login, my login pic covers the first letter of the Title on 
the page.?



Is this because the CSS or cfg files have been altered in the new release?

Meaning I need to re-add my previous customizations to the new format?


Regards,


Kaya

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


[xwiki-users] PDF opens in same window?

2012-01-09 Thread mohit gupta
Hi All,

When i search some pdf document (attached with some page/space)  on the
welcome screen and click on the attchment name, it opens the pdf document
in the same window. It happening when i log in as admin user other for any
other user pdf attchment gets opened up in new window.Thanks.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] PDF opens in same window?

2012-01-09 Thread Sergiu Dumitriu

On 01/10/2012 12:58 AM, mohit gupta wrote:

Hi All,

When i search some pdf document (attached with some page/space)  on the
welcome screen and click on the attchment name, it opens the pdf document
in the same window. It happening when i log in as admin user other for any
other user pdf attchment gets opened up in new window.Thanks.


It should always open in the same window. Are you sure about the behavior?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Fwd: Migrated Xwiki to latest 'stable' release - Login user pic is now covering the first letter in title

2012-01-09 Thread Marius Dumitru Florea
On Tue, Jan 10, 2012 at 3:50 AM, Kaya Saman kayasa...@gmail.com wrote:
 Ok got this fixed!!!

 Simple fix: Refresh the page!

 Now all works :-)

 The 'memory leak' I experienced also seems to be fixed:


 Mem: 837M Active, 197M Inact, 2575M Wired, 110M Cache, 408M Buf, 107M Free
 Swap: 2327M Total, 109M Used, 2218M Free, 4% Inuse

  PID JID USERNAME   THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU
 COMMAND
 86474  22 www         45  44    0  3543M   335M ucond   2   1:48  0.00% java
 14615  14 www         43  44    0  3509M   425M ucond   2   0:38  0.00% java


 which is how I believe that the Xwiki instances should work ;-)


 Just a little strange thing with the WYSIWYG editor. on pages where I
 have HTML content it doesn't seem to want to work. I get the little animated
 circle, cycling forever and not doing anything??

What do you mean by HTML content? What's the syntax of those pages?

Also, what version did you upgrade from? And did you import the 3.1.1 XAR?

Thanks,
Marius


 On static Xwiki coded pages it works fine though!


 Good job guys on the current stable Xwiki 3.1.1 :-) it is performing much
 better then the previous version. - I like it


 Regards,


 Kaya


  Original Message 
 Subject:        Migrated Xwiki to latest 'stable' release - Login user pic
 is now covering the first letter in title
 Date:   Mon, 09 Jan 2012 22:01:54 +0200
 From:   Kaya Saman kayasa...@gmail.com
 To:     XWiki Users users@xwiki.org



 Hi guys,

 whew, a lot of work today :-)


 I upgraded my main www site to Xwiki 3.1.1 in doing so I performed these
 steps:

  * cp old hibernate.cfg.xml file across to new xwiki dir
  * cp old xwiki.cfg file across to new xwiki dir
  * cp postgresql-8.3-603.jdbc4.jar to new xwiki dir
  * cp skins/toucan to new xwiki dir



 Now when I login, my login pic covers the first letter of the Title on the
 page.?


 Is this because the CSS or cfg files have been altered in the new release?

 Meaning I need to re-add my previous customizations to the new format?


 Regards,


 Kaya

 ___
 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] XWiki 3.1 - Panel Wizard causing 100% CPU Utilization in RedHat w/JBoss

2012-01-09 Thread Marius Dumitru Florea
Hi Chris,

On Tue, Jan 10, 2012 at 1:28 AM, Chris Meyer chris.me...@gmail.com wrote:
 Hi All,

 I am having an odd issue with the panel wizard in my test and prod
 instances of XWiki. The users are trying to click on Panel Wizard via
 Administer this Wiki and the system spikes to 25% CPU but never yields
 results. Later, they try again, another 25% CPU and no results
 ultimately they keep trying until I start getting administrative alerts
 that the system is overwhelmed. To recover, I need to stop/start the
 application. However, that only allows the application to function until
 they do the same thing again. This is a critical task for them to add the
 necessary navigation to their wiki.


 Anyone had a similar experience?

The panel wizard renders all the panels and so if you have a panel
that uses a lot of resources (CPU/Memory) it will slow down or even
block the panel wizard. From my experience, the panels from the
standard XAR that cause problems on large wikis are Panels.Navigation
and Panels.SpaceDocs because they don't limit the number of pages
displayed and both are loaded synchronously (when the page loads, so
no AJAX). The description of Panels.Navigation warns you about this:
However when your wiki grows you'll usually want to replace it with
your own fixed navigation.

Hope this helps,
Marius


 Any ideas on how to troubleshoot this further?

 Thanks,
 Chris
 ___
 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] PDF opens in same window?

2012-01-09 Thread mohit gupta
Yes ,

It open up in different windows for user other than admin

On Tue, Jan 10, 2012 at 12:11 PM, Sergiu Dumitriu ser...@xwiki.com wrote:

 On 01/10/2012 12:58 AM, mohit gupta wrote:

 Hi All,

 When i search some pdf document (attached with some page/space)  on the
 welcome screen and click on the attchment name, it opens the pdf document
 in the same window. It happening when i log in as admin user other for any
 other user pdf attchment gets opened up in new window.Thanks.


 It should always open in the same window. Are you sure about the behavior?
 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 __**_
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users

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


Re: [xwiki-users] Insert link on wysiwyg editor

2012-01-09 Thread Marius Dumitru Florea
On Mon, Jan 9, 2012 at 5:40 PM, goldring, richard
richard.goldr...@uk.thalesgroup.com wrote:
 The problem occurs even on xwiki default pages rather than on user generated
 pages.

 I'd like to keep the current wiki running for users so as not to distrupt
 them and build up a new separate installation so I can try isolate what the
 problem is as you suggest.


 Can install another xwiki using the same mysql but using a differently names
 xwiki database? If so how might I config it?

You can edit WEB-INF/hibernate.cfg.xml (from where you deployed XWiki)
and change the database (scheme) name in the connection URL (look for
the connection.url property in the MySQL configuration section).
E.g. replace jdbc:mysql://localhost/xwiki with
jdbc:mysql://localhost/test_xwiki

You may have to create the new database (e.g. test_xwiki) first as per
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL#HInstallationSteps
but I think you can use the same user/password when granting rights.

Hope this helps,
Marius


 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
 Sergiu Dumitriu
 Sent: 09 January 2012 14:36
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 On 01/09/2012 09:28 AM, Marius Dumitru Florea wrote:
 I'm sure you have xwiki-platform-wysiwyg-server-3.2.jar (it has been
 renamed since 2.7.1) because otherwise the WYSIWYG editor wouldn't
 load at all. If you can insert a macro, which uses GWT-RPC services,
 then the problem is elsewhere. Could be related to your configuration.
 I would take a clean XE war and redo the installation steps to see at
 which point the WYSIWYG editor stops working properly.

 Could it be the content that's breaking the functionality? Like some
 unescaped characters? Some HTTP request dumps (for example from Firebug)
 would be helpful.

 Hope this helps,
 Marius

 On Mon, Jan 9, 2012 at 4:11 PM, goldring, richard
 richard.goldr...@uk.thalesgroup.com  wrote:
 I can insert a macro but can't insert an attached image - get the
 same error
 message: There was an error loading the data.

 So maybe under
 /var/apache/tomcat55/webapps/xwiki-enterprise-web-3.2/WEB-INF/lib
 xwiki-web-gwt-wysiwyg-server .jar is missing (was in Xwiki 2.7.1
 version) - is this the jar that I need? Maybe this 'missing' jar is
 causing the problem??
 It's not in the 3.2 war file - how do I get it?

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
 Behalf Of Marius Dumitru Florea
 Sent: 09 January 2012 10:12
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 As I said, if XWiki.WysiwygEditorConfig page was broken (bad
 permission or invalid configuration) then the WYSIWYG editor wouldn't
 load at all. I don't see how it can affect only the Recently Modified
 and Search tabs of the link to wiki page feature.

 The code that is called when you open those tabs is in GWT-RPC
 services, so Java classes, which can't be affected by a XAR import
 (at least I don't see how). There's no wiki/Java macro. All the code is
 in the WYSIWYG server jar.
 Can you insert an image or a macro? If these features work (they also
 use GWT-RPC services) then the problem is strictly related to the
 code that queries the database. But if you say that the code I pasted
 works fine then I don't have any clues..

 On Mon, Jan 9, 2012 at 11:15 AM, goldring, richard
 richard.goldr...@uk.thalesgroup.com  wrote:
 Wondering if it's a permission problem - when I visit the
 XWiki.WysiwygEditorConfig page (as Admin) I get the following
 displayed: This configuration cannot be displayed because it was
 last edited by Admin who doesn't have permission to edit this
 page.XWiki.WysiwygEditorConfig:

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
 Behalf Of goldring, richard
 Sent: 09 January 2012 08:39
 To: 'XWiki Users'
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 Yes - the code seemed to work fine and listed sall recent page edits
 ... So I'm not sure where to look next ...what code get's called by
 the Link dialog My recent changes abd Search tabs ... Is it a macro?
 Which one? All I can think is it might be something to do with
 copying material from the my previous wiki installation???

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
 Behalf Of Marius Dumitru Florea
 Sent: 09 January 2012 08:30
 To: XWiki Users
 Subject: Re: [xwiki-users] Insert link on wysiwyg editor

 On Mon, Jan 9, 2012 at 10:09 AM, goldring, richard
 richard.goldr...@uk.thalesgroup.com  wrote:
 Could importing the wiki pages from my older version of Xwiki have
 overwritten wiki pages that could be causing this issue? (The
 previous version was the standalone version using Jetty and HSQL).

 I don't see how. You can break the WYSIWYG editor by messing up its
 configuration (XWiki.WysiwygEditorConfig) but then 

Re: [xwiki-users] Configuration to change the default space i.e main space to user created space?

2012-01-09 Thread Marius Dumitru Florea
Some search results:

http://www.xwiki.org/xwiki/bin/view/FAQ/Howtochangethehomepagedestinationwhenyouenterhttplocalhost8080xwiki
http://www.mail-archive.com/users@xwiki.org/msg06003.html
http://lists.xwiki.org/pipermail/users/2008-June/008546.html

Hope this helps,
Marius

On Mon, Jan 9, 2012 at 7:02 PM, mohit gupta motgu...@gmail.com wrote:
 Hi All,

 As soon as l gets login , i enter to main space  webhome page . I want to
 change this default main space to some user created space (Basically what i
 need is as soon as user logs in, he should enter to user created
 space instead of main space)  Is it configurable? 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] Fwd: Migrated Xwiki to latest 'stable' release - Login user pic is now covering the first letter in title

2012-01-09 Thread Guillaume Fenollar
Hi Kaya,

Yes, you surely missed to import default 3.1.1 xar! Importing theses pages
will upgrade the applications of your wiki, but you have to make sure you
won't lose any data. You need to import it carrefully, deselecting the
critial pages to keep (example:XWiki.XWikiPreferences). Check this page :
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradingwikidocuments
And of course, don't forget to make a backup before! (pg_dump command
should be the easiest)

Thanks,

-- 
Guillaume Fenollar
XWiki SysAdmin
Tel : +33 (0)1.83.62.65.97



2012/1/10 Marius Dumitru Florea mariusdumitru.flo...@xwiki.com

 On Tue, Jan 10, 2012 at 3:50 AM, Kaya Saman kayasa...@gmail.com wrote:
  Ok got this fixed!!!
 
  Simple fix: Refresh the page!
 
  Now all works :-)
 
  The 'memory leak' I experienced also seems to be fixed:
 
 
  Mem: 837M Active, 197M Inact, 2575M Wired, 110M Cache, 408M Buf, 107M
 Free
  Swap: 2327M Total, 109M Used, 2218M Free, 4% Inuse
 
   PID JID USERNAME   THR PRI NICE   SIZERES STATE   C   TIME   WCPU
  COMMAND
  86474  22 www 45  440  3543M   335M ucond   2   1:48  0.00%
 java
  14615  14 www 43  440  3509M   425M ucond   2   0:38  0.00%
 java
 
 
  which is how I believe that the Xwiki instances should work ;-)
 
 
  Just a little strange thing with the WYSIWYG editor. on pages where I
  have HTML content it doesn't seem to want to work. I get the little
 animated
  circle, cycling forever and not doing anything??

 What do you mean by HTML content? What's the syntax of those pages?

 Also, what version did you upgrade from? And did you import the 3.1.1 XAR?

 Thanks,
 Marius

 
  On static Xwiki coded pages it works fine though!
 
 
  Good job guys on the current stable Xwiki 3.1.1 :-) it is performing much
  better then the previous version. - I like it
 
 
  Regards,
 
 
  Kaya
 
 
   Original Message 
  Subject:Migrated Xwiki to latest 'stable' release - Login user
 pic
  is now covering the first letter in title
  Date:   Mon, 09 Jan 2012 22:01:54 +0200
  From:   Kaya Saman kayasa...@gmail.com
  To: XWiki Users users@xwiki.org
 
 
 
  Hi guys,
 
  whew, a lot of work today :-)
 
 
  I upgraded my main www site to Xwiki 3.1.1 in doing so I performed these
  steps:
 
   * cp old hibernate.cfg.xml file across to new xwiki dir
   * cp old xwiki.cfg file across to new xwiki dir
   * cp postgresql-8.3-603.jdbc4.jar to new xwiki dir
   * cp skins/toucan to new xwiki dir
 
 
 
  Now when I login, my login pic covers the first letter of the Title on
 the
  page.?
 
 
  Is this because the CSS or cfg files have been altered in the new
 release?
 
  Meaning I need to re-add my previous customizations to the new format?
 
 
  Regards,
 
 
  Kaya
 
  ___
  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