[xwiki-users] Wysiwyg editor not working in forms

2009-03-01 Thread Yishay Mor
On
http://patternlanguagenetwork.myxwiki.org/
We have several sections which use bespoke classes  templates. these have
some fields which are defined as multi-line texts, and the wyswyg editor is
selected in the class descriptor. for example -
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/

when I edit regular wiki pages, the editor works fine. but when I try to
edit the special (template based) pages, it doesn't.


___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] security concern: XWikiGuest rolling back

2009-02-24 Thread Yishay Mor
 I don't think this is correct since you're not saving the  
 modifications... They'll be in the cache when but they go out of the  
 cache you'll have lost your changes.
 
 See http://code.xwiki.org/xwiki/bin/view/Snippets/SettingRightsSnippet
 
 -Vincent

Thanks Vincent. I thought I need to save, but then when I do, I get -

Exception while saving document Patterns.ObjectsToTalkWith
Wrapped Exception: Row was updated or deleted by another transaction (or 
unsaved-value mapping was incorrect): xpn.xwiki.objects.String Property#?xml 
version=1.0 encoding=UTF-8?


dead-field/dead-field

See:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/scripts/fixrights

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


Re: [xwiki-users] security concern: XWikiGuest rolling back

2009-02-23 Thread Yishay Mor
 This has happened a few times on
  http://patternlanguagenetwork.myxwiki.org/,  and I can't explain it.
  I set the access rights to allow view by all, but edit is restricted.
 I'm
  seeing documents rolled back to older versions by XWikiGuest. Example:
 
 
 http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/tabletopconceptmapping
 
  On this document the guest has been granted edit rights. Look at the
  rights editing for it, and select Users, and you will see that
  Unregistered Users has set view, comment and edit.

 I still see edit selected... And as a guest I can indeed edit the
 document. Just to make sure we're on the same page, I'm looking at

 http://patternlanguagenetwork.myxwiki.org/xwiki/bin/edit/Patterns/tabletopconceptmapping?editor=rights


This is really puzzling. I don't understand how the guest user has obtained
edit rights on some objects and not on others. Just to be on the safe side,
I ran the script below:

#set ($hql = , BaseObject as obj where obj.name=doc.fullName and
obj.className='Patterns.PatternClass' and obj.name
'Patterns.PatternClassTemplate')
#set ($items= $xwiki.searchDocuments($hql))
#foreach ($item in $items)
* $item
  #set ($itemDoc = $xwiki.getDocument($item))
  #set ($rights = $itemDoc.getObject(XWiki.XWikiRights, true))
  #set ($result = $rights.set(levels, edit))
  #set ($result = $rights.set(users, XWiki.XWikiGuest))
  #set ($result = $rights.set(allow, 0))
#end


___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] security concern: XWikiGuest rolling back

2009-02-22 Thread Yishay Mor


 Yishay Mor wrote:
  This has happened a few times on
  http://patternlanguagenetwork.myxwiki.org/,  and I can't explain it.
  I set the access rights to allow view by all, but edit is restricted. I'm
  seeing documents rolled back to older versions by XWikiGuest. Example:
 
 http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/tabletopconceptmapping

 On this document the guest has been granted edit rights. Look at the
 rights editing for it, and select Users, and you will see that
 Unregistered Users has set view, comment and edit.

 --


That's strange: I see view and comment ticked, but not edit
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] security concern: XWikiGuest rolling back versions

2009-02-21 Thread Yishay Mor
This has happened a few times on
http://patternlanguagenetwork.myxwiki.org/,  and I can't explain it.
I set the access rights to allow view by all, but edit is restricted. I'm
seeing documents rolled back to older versions by XWikiGuest. Example:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/tabletopconceptmapping


___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Myxwiki Programming rights required

2009-02-19 Thread Yishay Mor
Tip: use a different user name for different xwiki domains. :)
___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737


On Feb 18, 2009, at 6:08 PM, Ajdin Brandic wrote:

 
  I really think my programming rights on myxwiki are corrupt.
  Can someone PLEASE remove me then add me again!!

 I know I already asked you to check but once more (just in case): are
 you really sure you're using the user from myxwiki.org and not from
 patternlanguagenetwork.myxwiki.org?

 The one you must use to get programming rights is:
 http://myxwiki.org/xwiki/bin/view/XWiki/AjdinBrandic

 The one that doesn't have programming rights is:
 http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/AjdinBran
 dic

 Thanks
 -Vincent

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


Re: [xwiki-users] problems editing group members in XWiki 1.8?

2009-02-12 Thread Yishay Mor
Thanks Jerome.

I updated the administration app, as you suggested, only maybe not as
carefully as you suggested :)
I should learn to read instructions.

I did update the group pages. That, as you predicted, went OK apart from the
XWikiAllGroup. Can you run the script to restore that for
http://patternlanguagenetwork.myxwiki.org/ ?
As a side note, it would be nice to have an option to perform bulk
operations on a group's member list, by using a list of all members with
checkboxes. Not instead of the current interface, but in a addition.

One more thing that seems to be broken is the smart table I use on several
pages, e.g.
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/

I don't think I customised the XWiki.XWikiPreferences, unless I did it
unknowingly..

2009/2/11 users-requ...@xwiki.org

 From: Jerome Velociter jer...@xwiki.com

 There should be no problem if you take care. If you don't want to
 upgrade the whole XE, you can take just the administration application
 from here

 http://maven.xwiki.org/releases/com/xpn/xwiki/platform/applications/xwiki-application-administration/1.6/
 to solve this issue

  - specifically, it says that all group memberships will be broken. We
 have a
  lot of groups with a lot of users, is there any migration script I can
 use?

 Just make sure you exclude the group documents (XWikiAdminGroup and
 XWikiAllGroup) from the list by un-checking their boxes. Beware if you
 forget this is not that easily reversible (but your XWikiAllGroup can be
 re-created by script, though, you'll have to do the AdminGroup manually).
 For all other groups you created yourself, you have nothing to worry
 about, they are kept safe.

 What the upgrade will do is update the group sheet
 (XWiki.XWikiGroupSheet) so that it asks for the proper javascript
 library to be loaded.

 Don't forget to exclude XWiki.XWikiPreferences, too, as you probably
 customized it.

 Jerome.

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


Re: [xwiki-users] problems editing group members in XWiki 1.8?

2009-02-11 Thread Yishay Mor
 You should import the xwiki-administration xar, as the group sheet was
 updated to pull the required JS/CSS files, which are no longer included
 by default in the HTML head.


Thanks Sergiu.

I looked for it at:
http://www.xwiki.org/xwiki/bin/view/Main/Download
and
http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/

but couldn't find it. any tips?

___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737


2009/2/11 users-requ...@xwiki.org

 Subject: Re: [xwiki-users] problems editing group members in XWiki
1.8?
 To: XWiki Users users@xwiki.org
 Message-ID: 49915e3c.6010...@xwiki.com
 Content-Type: text/plain; charset=ISO-8859-1

 Sergiu Dumitriu wrote:
  Yishay Mor wrote:
  On http://patternlanguagenetwork.myxwiki.org/ (hosted on the
 MyXwiki.org
  farm)
 
  I'm having problems editing group memberships.
  From the admin page, if I try to enter groups, it hangs.
  I can navigate to
  http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki
 /XWikiGroups
  But then, when I try to enter a specific group, it hangs.
 
 
  It seems that a .js file is missing. Looking into it.

 You should import the xwiki-administration xar, as the group sheet was
 updated to pull the required JS/CSS files, which are no longer included
 by default in the HTML head.

 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/

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


Re: [xwiki-users] problems editing group members in XWiki 1.8?

2009-02-10 Thread Yishay Mor
Thanks Thomas,

Sorry - I somehow missed that announcement. But I'm confused:
- it says that It is also strongly recommended to upgrade to the latest
wiki version. do I have privileges to do that?
-
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradingwikidocumentshas
some warnings about potential hazards of the upgrade process. Is there
a
way to roll-back a failed upgrade?
- specifically, it says that all group memberships will be broken. We have a
lot of groups with a lot of users, is there any migration script I can use?

thanks!!
___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737


2009/2/10 users-requ...@xwiki.org

 From: Thomas Mortagne thomas.morta...@xwiki.com
 Subject: Re: [xwiki-users] problems editing group members in XWiki
1.8?
 To: XWiki Users users@xwiki.org
 Message-ID:
a8e97d9c0902100259y3e4e327bsd00a2cee79138...@mail.gmail.com
 Content-Type: text/plain; charset=UTF-8

 The is a complete refactor of js, css, etc... files in 1.8M2. See
 http://markmail.org/message/hcnatg6cwsb67fyi

 On Tue, Feb 10, 2009 at 11:28, Yishay Mor yish...@gmail.com wrote:
  On http://patternlanguagenetwork.myxwiki.org/ (hosted on the MyXwiki.org
  farm)
 

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


Re: [xwiki-users] myxwiki.org down?

2009-02-09 Thread Yishay Mor
..and it's back! thanks, guys!

2009/2/9 Yishay Mor yish...@gmail.com

 I'm getting a dead tone from http://www.myxwiki.org/..

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


[xwiki-users] [MYXWIKI] access rights issue

2009-01-26 Thread Yishay Mor
I have a couple of pages on an xwiki I manage on the mywiki farm with a
strange access rights situation:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/Classroomdisplay
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/TryOnceRefineOnce

Although I am an admin of the site, I can't admin these pages. In the rights
editor, I get columns for edit, comment, view and delete but not admin. When
I try to change any values I get an error. I can admin all other similar
pages in the space.

Perhaps one of the myxwiki superusers can restore admin rights on these
pages to the Administrators group?

thanks

- Yishay

___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [MYXWIKI] access rights issue

2009-01-26 Thread Yishay Mor
Thanks Jean-Vincent,

Yes, I notice now that I only have the admin column in the space rights
editor, not per page. Still, I can assign access rights for any other page
in this space, but for these two I get:
 an exception occured while trying to save current modifications.
please check if you have the proper rights to preform these modifications.


 Date: Mon, 26 Jan 2009 17:33:32 +0100
 From: Jean-Vincent Drean jean-vinc...@drean.org
 Subject: Re: [xwiki-users] [MYXWIKI] access rights issue
 To: XWiki Users users@xwiki.org
 Message-ID:
c58832290901260833l618f3336k713b10e1b5e8d...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1

 On Mon, Jan 26, 2009 at 5:25 PM, Yishay Mor yish...@gmail.com wrote:
  I have a couple of pages on an xwiki I manage on the mywiki farm with a
  strange access rights situation:
 
 http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/Classroomdisplay
 
 http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/TryOnceRefineOnce
 
  Although I am an admin of the site, I can't admin these pages. In the
 rights
  editor, I get columns for edit, comment, view and delete but not admin.
 When
  I try to change any values I get an error. I can admin all other similar
  pages in the space.

 Hi,

 There's no admin rights for wiki pages, the admin right can be granted
 at the space and wiki levels.

 JV.


 --


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


Re: [xwiki-users] index out of range exception

2009-01-23 Thread Yishay Mor
ok, I've made some progress here. the page mentioned calls a script from:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/scripts/Bibsonomy

Which is also available here:
http://code.xwiki.org/xwiki/bin/view/Macros/BibsonomyMacro

that script pulls data from bibsonomy.org using RSS and parses the feed:
#set($feed = $xwiki.feed.getFeeds(
http://www.bibsonomy.org/publrssN/tag/${tag}?items=1000;))
#foreach ($entry in $feed.entries)
#set($val = $entry.getDescription().value)
## get title
#set($index = $val.indexOf(bmtitle) +10)
#set($val = $val.substring($index))
#set($index = $val.indexOf(/div))
#set($headline = $val.substring(0, $index))
#set($index = $index +6)
#set($val = $val.substring($index))

ugly hack, but I was in a rush to get the feature out..

As was bound to happen at some point, the format of the feed content has
changed, and the code is now broken. As a quick fix, I replaced it with:
#set($feed = $xwiki.feed.getFeeds(
http://www.bibsonomy.org/publrssN/tag/${tag}?items=1000;))
#foreach ($entry in $feed.entries)
$entry.getDescription().value)

I don't know if the change in the feed format is on the provider's side
(i.e. bibsonomy) or on XWiki's side. In any case, I should use bibsonomy's
API instead: http://www.bibsonomy.org/help/doc/api.html

Anyone interested in helping?
___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737


2009/1/22 Yishay Mor yish...@gmail.com

 This:

 http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/scripts/BibsonomyDemo
 used to work, now it throws a vicious exception - I can't even track down
 the line number. any ideas?

 org.apache.velocity.exception.MethodInvocationException: Invocation of
 method 'exists' in class com.xpn.xwiki.api.XWiki threw exception
 java.lang.StringIndexOutOfBoundsException: String index out of range: -16 @
 scripts.BibsonomyDemo31,15?


 ___
  Yishay Mor, Researcher, London Knowledge Lab
   http://www.lkl.ac.uk/people/mor.html
   http://www.google.com/calendar/embed?src=yishaym%40gmail.com
   +44-20-7837 x5737

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


[xwiki-users] index out of range exception

2009-01-22 Thread Yishay Mor
This:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/scripts/BibsonomyDemo
used to work, now it throws a vicious exception - I can't even track down
the line number. any ideas?

org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'exists' in class com.xpn.xwiki.api.XWiki threw exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -16 @
scripts.BibsonomyDemo31,15?


___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] myxwiki.org down?

2009-01-19 Thread Yishay Mor
Anyone know what's happening with myxwiki.org?
___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] removing spam

2009-01-06 Thread Yishay Mor
My XWiki has recently been hit by spam. I found a discussion of this issue
on:
http://markmail.org/message/yq6kbwyxznk7nezd

However, since my XWiki is on the farm, I don't have programming rights.
Luckily, the spam was localized to specific pages, so I edited those, added
the code below, ran in and deleted to code:
  #set($comments = $doc.getComments())
  #foreach($comment in $comments)
   $doc.removeObject($comment)
  #end
  $doc.save()

But I was thinking, would it be worth adding some generic spam control? Or
at least bulk comment control?
e.g.:
* integrate http://sourceforge.net/projects/akismet-java/
* support captcha for user registration / anonymous comments
* provide an interface in the admin area for selecting multiple comments 
deleting them with one button

___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] interesting opportunity?

2009-01-06 Thread Yishay Mor
One of my main concerns with XWiki has been the difficulty in getting a
reasonably priced Java hosting service. Ideally, I want a service provider
that gives me the web server stack, but spares me the admin headache. This
may be just what I need:

http://www.cloudfoundry.com/
Cloud Foundry provides automated, outsourced data center management for
Java applications. It eliminates the expense and distraction of building and
operating your own data center for your production applications and QA
environments. And, with no long term contracts, you simply use Cloud Foundry
for as long as you need. 

With just a few clicks of the mouse, you deploy your application to a
load-balanced cluster running on Amazon EC2. Cloud Foundry monitors and
manages your applications and automatically handles auto-scaling and
failover. We insulate you from the messy details of using the cloud and
leave you free to focus on your business.

Cloud Foundry supports the Apache, Tomcat and MySQL stack. It configures
MySQL for master/slave replication and uses Apache to load balance across
one or more Tomcat servers.

___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] chicken egg / catch 21 problem

2008-12-29 Thread Yishay Mor
In several sections of our XWiki site, we want to use the following
workflow:1. any registered user can create a new object.
2. upon creation, the user will be taken to a form for editing the new
object.
3. the user who created the object will be able to assign co-editors.

The problem is, I don't want to give all users edit rights to the whole
section. I have a form for creating a new object, but if I don't give edit
rights on the whole space to all registered users, the form results in a
you are not allowed to edit this page. If I do, then users will be able to
edit others' pages, or mess up the space structure. I'm not worried
about malice, I just want to protect users from their own mistakes, and
avoid spam.

Ideally, I would like to either:
* have a separatecreate column in the rights editor, which will allow
users to create a new object and give them edit rights over it.
* have a script attached to the current create form which would do the same.
Currently that doesn't work unless the user invoking the form already has
edit rights.

See example here:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/

___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] chicken egg / catch 21 problem

2008-12-29 Thread Yishay Mor
Thanks Guillaume,

You're right - I don't. I suspected that might be the issue, but hoped
there's a way around it. Shall I send someone the list of pages that needs
to be saved with programming rights? Or is there a way I can programming
obtain rights for myself?
Also, I think there may be another issue - the code that sets privileges on
the pages is common to several sections, so I refactored it into a script
page I include in the classSheets for various classes:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/scripts/DesObjClassSheet
I'm worried that the macros on this page are not evaluated when a new page /
object is created.

I have a feeling that the right way to go about this is by adding some
helper classes in Java, rather than hacking it in Velocity. But again, I do
not have the privileges to do that. If other people find this issue
relevant, I'm happy to contribute my time towards a generic, stable
solution.

A reminder: the core of the problem is that I want to allow users to create
objects (and respective pages) in a space, and to have ownership over those
objects / pages, but without giving them overall edit rights on the space.

___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737

--
 From: Guillaume Lerouge guilla...@xwiki.com
 Subject: Re: [xwiki-users] chicken  egg / catch 21 problem
 To: XWiki Users users@xwiki.org
 Message-ID:
1c35d2320812291005l5bbdccfnd9e75af1778cf...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1

 On Mon, Dec 29, 2008 at 6:59 PM, Sergiu Dumitriu ser...@xwiki.com wrote:

  Yishay Mor wrote:
  
   Ideally, I would like to either:
   * have a separatecreate column in the rights editor, which will allow
   users to create a new object and give them edit rights over it.
   * have a script attached to the current create form which would do the
  same.
   Currently that doesn't work unless the user invoking the form already
 has
   edit rights.
  
 
  Hint: saveWithProgrammingRights
 

 You'll probably need to help him sicne I'm not sure Yishay is an Admin on
 the master wiki on myxwiki.org, thus he probably cannto save the page with
 programming rights, can he Sergiu ?

 Guillaume



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


Re: [xwiki-users] generic XML API snippet, and SOS

2008-12-19 Thread Yishay Mor
 From: Vincent Massol vinc...@massol.net

  I've posted a snippet:
  http://code.xwiki.org/xwiki/bin/view/Snippets/GenericXMLapiSnippet


I see you've moved it to:
http://code.xwiki.org/xwiki/bin/view/Snippets/GenericXMLApiSnippet


 In case you didn't know about it, all xwiki pages can be viewed as XML
 right [..]

The snippet looks cool but it's quite hard to understand what it does.


I know, but I wanted to provide client with a simple to use API that allows
them to browse and retrieve the data. The content produced by ?xpage=xml is
too rich :)
I'll document the snippet

 the first problem is that is seems like this API can deliver protected
 data

 It's already blocked by the permission system and for password fields you
 shouldn't be able to see the value.


That's what I thought. But have a look at:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/YishayMor
vs.
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/api/genericXML?xpage=rdftargetClass=XWiki.XWikiUserstargetObject=XWiki.YishayMor



  Here is the corrupted class:
  http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/CaseClass

 I've never seen that :) Something is indeed deeply broken since the
 rendering is failing to display but I don't know why.


The problem started when I renamed a property to .unused. I thought I
could then add something like:
#if (!$propertyName.startsWith(.))
to hide unused properties.
I think what happened is this:
The class definition is stored (or processed) in XML, and having a property
name starting with '.' confuses the parser.
For example,
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/api/genericXML?xpage=rdftargetClass=Cases.CaseClasstargetObject=fields=Name
provokes this:

org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'getDocument' in class com.xpn.xwiki.api.XWiki threw exception
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document Cases.Woodforthetrees
Wrapped Exception: Error number 3202 in 3: Exception while reading document
Cases.CaseClass
Wrapped Exception: Error number 2002 in 2: Error parsing xml

___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] generic XML API snippet, and SOS

2008-12-19 Thread Yishay Mor

 From: Sergiu Dumitriu ser...@xwiki.com

 Yishay Mor wrote:
  That's what I thought. But have a look at:
  http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/YishayMor
  vs.
 
 http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/api/genericXML?xpage=rdftargetClass=XWiki.XWikiUserstargetObject=XWiki.YishayMor

 The problem is not that the user profile is not readable, but that the
 sheet that displays the profile is protected. This is a false
 protection, as the user profile is readable, it simply isn't displayed.
 What you can get in your XML respects the access rights.


I thought that might be the case. This is the default setting on the XWiki
farm. Perhaps it is a bit misleading? Also, how do I change access rights on
all XWiki.XWikiUser objects to fix this?


  Here is the corrupted class:
 
 http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/CaseClass
  I've never seen that :) Something is indeed deeply broken since the
  rendering is failing to display but I don't know why.


Yes, that is the problem. And any action you want to perform requires that
the document is first loaded, which fails. The only way around this is a
direct database change (which I just did, now the class displays fine). I
created http://jira.xwiki.org/jira/browse/XWIKI-3026 to remember this issue,
and it will need to be solved some time later.

Thanks! you saved me.

___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737


2008/12/19 users-requ...@xwiki.org

 Send users mailing list submissions to
users@xwiki.org

 To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
 or, via email, send a message with subject or body 'help' to
users-requ...@xwiki.org

 You can reach the person managing the list at
users-ow...@xwiki.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of users digest...


 Today's Topics:

   1. Re: Can't log on in Internet Explorer (Esbach, Brandon)
   2. Re: Can't log on in Internet Explorer (Mike A.)
   3. Re: ldap + xwiki.authentication.ldap.user_group (Thomas Mortagne)
   4. Re: generic XML API snippet, and SOS (Sergiu Dumitriu)
   5. Re: Can't log on in Internet Explorer (Sergiu Dumitriu)
   6. Re: Can't log on in Internet Explorer (Nick Watts)


 --

 Message: 1
 Date: Fri, 19 Dec 2008 08:18:41 -0500
 From: Esbach, Brandon esba...@tycoelectronics.com
 Subject: Re: [xwiki-users] Can't log on in Internet Explorer
 To: XWiki Users users@xwiki.org
 Message-ID:

 b7266b04487707449a3919731a7dba7810ef1...@us358mx02.tycoelectronics.net

 Content-Type: text/plain;   charset=us-ascii

 Any cookie restrictions setup on the IE options?

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
 Of Nick Watts
 Sent: 19 December 2008 12:15
 To: XWiki Users
 Subject: [xwiki-users] Can't log on in Internet Explorer

 I have XWiki 1.6.1.13621 installed on Tomcat 6.0.18.  I am having some
 problems logging in when using IE 7.  I'm putting in what I know is a
 valid username and password, but after submitting the login form I am
 brought back to the login screen.  I found a closed issue in Jira that
 may be the same problem I'm running into
 (http://jira.xwiki.org/jira/browse/XWIKI-2211).  I have never had a
 problem with Firefox or Safari, only IE.  Something to add to the mix
 though is that I was able to login with IE from within the LAN where
 XWiki is installed using my work laptop.  If I try to login with IE on
 the same laptop, but across the Internet, the login fails.  Does anyone
 have any insight into this problem?

 --
 Nick Watts
 blog: thewonggei.wordpress.com
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


 --

 Message: 2
 Date: Fri, 19 Dec 2008 15:23:10 +0200
 From: Mike A. _m...@inbox.lv
 Subject: Re: [xwiki-users] Can't log on in Internet Explorer
 To: XWiki Users users@xwiki.org
 Message-ID: 1229692990.494ba03ea8...@www.inbox.lv
 Content-Type: text/plain; charset=UTF-8

 In xwiki.cfg, have you specified the login name name (bind_dn) as
 domainusername (in xwiki.cfg it would be domain\{0})?
 Firefox can authentificate using only username, but IE needs to
 specify domain also.
  Quoting Nick Watts : I have XWiki 1.6.1.13621 installed on Tomcat
 6.0.18.  I am having some
  problems logging in when using IE 7.  I'm putting in what I know is
 a valid
  username and password, but after submitting the login form I am
 brought back
  to the login screen.  I found a closed issue in Jira that may be the
 same
  problem I'm running into
 (http://jira.xwiki.org/jira/browse/XWIKI-2211).  I

[xwiki-users] saving page creates an Error 3201 ... Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect)

2008-12-08 Thread Yishay Mor
)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at 
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at 
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:866)
at 
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:837)
at 
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:580)
at 
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at 
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1270)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)



___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] corrupted links, failed rollback

2008-12-03 Thread Yishay Mor
(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)





___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] strange access rights phenomena

2008-11-28 Thread Yishay Mor
I have a few pages in my wiki, that insist on denying view rights from
registered users.
These pages are generated by form, using a template, following the todo app
example.
they should be created with view for all. edit rights are set by calling:
#setEditors($obj)

 permissions 
 allowEdit #
## set rights to allow creator and contributors to edit
#macro(allowEdit $users)
  #if($xwiki.checkAccess($doc.getFullName(),edit))
   !-- allowEdit (desObj) $doc $users --
   #set ($rights = $doc.getObject(XWiki.XWikiRights, true))
   #set ($result = $rights.set(levels, edit))
   #set ($result = $rights.set(users, $users))
   #set ($result = $rights.set(allow, 1))
   $doc.save()
  #end
#end

## setEditors ##
## set owner, contributors, and edit rights
#
#macro(setEditors $obj)
  #set ($ownr = $obj.Owner)
  #if ((!$ownr || $ownr ==  )  !$doc.getURL.endWith(ClassSheet))
#set ($needRefresh = true)
#set ($ownr = $doc.getCreator())
#if (!$ownr || $ownr == )
  #set ($ownr = $context.user)
#end
$doc.set(Owner,$ownr,$obj)
  #end
  #set ($contributors = $obj.Contributors)
   ##if ($context.user == $ownr)
  #set($editors = $contributors+,+$ownr)
  !-- Editors: $editors --
  #allowEdit($editors)
   ##end
#end
## setEditors ##

For some reason this doesn't always work.
Furthermore, for some pages (but not all), view rights are denied. I try to
set them right, and they revert to their problem state.
For example, in
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/VisualNarrative
I set view on for all, but when I leave the page and come back, that right
has disappeared.
___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] macros not executed?

2008-11-19 Thread Yishay Mor
Thanks Sergio,

yes - since I use the same macros in several templates, I thought I should
collect them in a single page and include that.
I've tried includeInContext, includeMacros, and includeForms - but I always
get the same problem.


Date: Wed, 19 Nov 2008 03:31:09 +0100
From: Sergiu Dumitriu [EMAIL PROTECTED]
Subject: Re: [xwiki-users] macros not executed?

Yishay Mor wrote:
 At
 http://patternlanguagenetwork.myxwiki.org/
 I'm seeing a strange phenomena. Some macros ocasionaly appear literally in
 the rendered page, and are only evaluated when I refresh.

Where are the macros defined? Is it scripts.IndexPage? There is a
problem in the way macros are included, caused by the way the Velocity
engine works with what it calls macro libraries.

--
Sergiu Dumitriu
http://purl.org/net/sergiu/


___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] macros not executed?

2008-11-18 Thread Yishay Mor
At
http://patternlanguagenetwork.myxwiki.org/
I'm seeing a strange phenomena. Some macros ocasionaly appear literally in
the rendered page, and are only evaluated when I refresh.
e.g., on -
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Scenarios/
I have this code:
===

 1: #includeInContext(scripts.IndexPage)
 2:
 3: A scenario is a description of a speculative event, describing a
 4: problem / issue / desired function in a well-defined context, and a
 5: possible manner of addressing it. It is similar to a case study, except
 6: that it is a-priori rather than a-posteriori, and should have a more
 7: detailed justification of the proposed solution.
 8:
 9: 
 10:
 11: #fullCreateForm(Scenarios.WebHome  Scenario scenario)
 12: #set($fields = [Group, Status])
 13: #dataTable(Scenario Scenario Summary $fields)
 14:

===
I see -
===

 A scenario is a description of a speculative event, describing a problem /
 issue / desired function in a well-defined context, and a possible manner of
 addressing it. It is similar to a case study, except that it is a-priori
 rather than a-posteriori, and should have a more detailed justification of
 the proposed solution.

 --

 #fullCreateForm(Scenarios.WebHome  Scenario scenario)
 #dataTable(Scenario Scenario Summary Group, 
 Status?http://patternlanguagenetwork.myxwiki.org/xwiki/bin/edit/Scenarios/Group%2C+Status?parent=Scenarios.WebHomeeditor=wysiwyg
 )

===
I refresh, and see -
===

A scenario is a description of a speculative event, describing a problem /
issue / desired function in a well-defined context, and a possible manner of
addressing it. It is similar to a case study, except that it is a-priori
rather than a-posteriori, and should have a more detailed justification of
the proposed solution.

--

   *New scenario*:

 Name[image: 
↓]http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Scenarios/#
Create[image: 
↓]http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Scenarios/#
By[image: 
↓]http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Scenarios/#
Edit[image: 
↓]http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Scenarios/#
By[image: 
↓]http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Scenarios/#
Group[image: 
↓]http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Scenarios/#
Status[image: 
↓]http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Scenarios/#
avatiachhttp://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Scenarios/avatiach
18 Nov 2008  Yishay
Morhttp://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/YishayMor
18 Nov 2008  Yishay
Morhttp://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/YishayMor

 --

___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] looking for an XWiki developer in London

2008-11-17 Thread Yishay Mor
Hi,

I hope this isn't inappropriate. I need some help with XWiki development on
http://patternlanguagenetwork.myxwiki.org, roughly half-time for 4 months.
All code / components developed will be open source and will be contributed
back to the community when useful. Please email me if interested in more
details, or if you have any suggestions where I can find someone.

thanks,

- Yishya

___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] wiki farm down?

2008-07-07 Thread Yishay Mor
I don't seem to be getting any response from http://www.myxwiki.org/ today..

-- 
___
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.html
http://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] performance issues on myxwiki.org?

2008-07-06 Thread Yishay Mor
my wiki, http://patternlanguagenetwork.myxwiki.org/, on the wiki farm, is
suffering from very poor performance today. Is this local or general?

- Yishay

-- 
___
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.html
http://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] problem with code macro

2008-06-20 Thread Yishay Mor
On
http://code.xwiki.org/xwiki/bin/view/Macros/BibsonomyMacro
I tried to display the code from
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/scripts/Bibsonomy?viewer=codeshowlinenumbers=0
using the code macro, but some parts of the code are interpreted as wiki
syntax, and so the snippet gets messed up.

- Yishay

-- 
___
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.html
http://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [Bibsonomy-discuss] bibsonomy hack for XWiki

2008-06-18 Thread Yishay Mor
thanks Vincent,

Would love to do that - but I can't find the form. I assume its only visible
after logging in, but I can't see how to register on code.xwiki.org either.

cheers,

- Yishay

2008/6/18 Vincent Massol [EMAIL PROTECTED]:

 Hi Yishay,

 This is very cool, thanks for sharing.

 IMO the best is that you go to http://code.xwiki.org and add a new
 Snippet or Macro page there (there are forms to do that on the home
 page).

 Thanks
 -Vincent

 ___
 Bibsonomy-discuss mailing list
 [EMAIL PROTECTED]
 https://mail.cs.uni-kassel.de/mailman/listinfo/bibsonomy-discuss




-- 
___
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.html
http://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [Bibsonomy-discuss] bibsonomy hack for XWiki

2008-06-18 Thread Yishay Mor
thanks! Added it here:
http://code.xwiki.org/xwiki/bin/view/Macros/BibsonomyintegrationMacro

Hope I did it properly.



2008/6/18 Vincent Massol [EMAIL PROTECTED]:


 You should register on http://xwiki.org

 Yes the form will appear when you're logged in.

 Thanks
 -Vincent

 2008/6/18 Vincent Massol [EMAIL PROTECTED]:

 Hi Yishay,

 This is very cool, thanks for sharing.

 IMO the best is that you go to http://code.xwiki.org and add a new
 Snippet or Macro page there (there are forms to do that on the home
 page).

 Thanks
 -Vincent




-- 
___
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.html
http://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] bibsonomy hack for XWiki

2008-06-17 Thread Yishay Mor
I've created a quick hack for integrating XWiki and bibsonomy. It allows you
to display publications on an XWiki page based on their tag in bibsonomy,
and also to discuss individual entries.
You can see a demo here:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/scripts/BibsonomyDemo
and the code here:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/scripts/Bibsonomy?viewer=codeshowlinenumbers=0

Its a very crude piece of code, I needed something for a project ASAP, and
didn't have the time to do a decent job. But it works, and its a good proof
of concept. If anyone is up to writing a cleaner, more efficient version -
please do, and share.

Also, what would be the best way to share this with the XWiki and Bibsonomy
commuities?

cheers,

- Yishay

-- 
___
 Yishay Mor, Researcher, London Knowledge Lab
  http://www.lkl.ac.uk/people/mor.html
  http://www.google.com/calendar/embed?src=yishaym%40gmail.com
  +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] no WYSWYG on Wiki farm?

2008-06-04 Thread Yishay Mor
I'm working on
http://patternlanguagenetwork.myxwiki.org/

This morning, the WYSWYG editor mode seems to be disabled. I opened various
pages in FireFox 3  IE 7, and the WYSWYG editor defaults to wiki mode.
Could this be a result of the migration to 1.5?

-- 
___
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.html
http://yishaym.wordpress.com
https://www.linkedin.com/in/yishaymor
http://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] permitting programming

2008-05-22 Thread Yishay Mor
Thanks Sergio.

My wiki is on the farm (http://patternlanguagenetwork.myxwiki.org/). Does
that mean its a virtual wiki, and I cannot have programming rights? That
means I can't write or install any groovy code, and can't access
$context.context. Very limiting!

- Yishay


 Date: Fri, 16 May 2008 15:22:54 +0200
 From: Sergiu Dumitriu [EMAIL PROTECTED]
 Subject: Re: [xwiki-users] permitting programming

 Yishay Mor wrote:
  the adminstration panel does not include a column for programming. How
 do
  I grant a user programming rights?
 

 That appears only in the global rights (not on space or document
 rights), and only in the main wiki (virtual wikis can't have programming
 rights for the moment, for security reasons).

 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/



___
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.html
http://yishaym.wordpress.com
https://www.linkedin.com/in/yishaymor
http://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] permitting programming

2008-05-22 Thread Yishay Mor
Ok, how do I contact the administrator?

thanks.


 From: Sergiu Dumitriu [EMAIL PROTECTED]
 Subject: Re: [xwiki-users] permitting programming


 Yishay Mor wrote:
  Thanks Sergio.
 
  My wiki is on the farm (http://patternlanguagenetwork.myxwiki.org/).
 Does
  that mean its a virtual wiki, and I cannot have programming rights? That
  means I can't write or install any groovy code, and can't access
  $context.context. Very limiting!
 

 You can quickly install a standalone distribution on your computer,
 where you can write the scripts you need, testing that they work, then
 you can put them on the public wiki and ask an administrator to review
 and save them.



___
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.html
http://yishaym.wordpress.com
https://www.linkedin.com/in/yishaymor
http://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] removing / editing class property type

2008-05-19 Thread Yishay Mor
How can I remove a property from a class or change its type?

thanks,

- Yishay

-- 
___
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.html
http://yishaym.wordpress.com
https://www.linkedin.com/in/yishaymor
http://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] access rights puzzles

2008-05-16 Thread Yishay Mor
I'm having some strange issues with access rights on
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/

Issue 1
==
I configured the space to permit view for unauthorized users. Yet when
loggen out I get:
Error number 4001 in 4: Error while parsing velocity page Cases.WebHome
Wrapped Exception: Failed to evaluate content with id
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/Web
Homehttp://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/
the root exception seems to be:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'formatDate' in class com.xpn.xwiki.api.XWiki threw exception
java.lang.NullPointerException @ Cases.WebHome74,17?
When logged in, the page displays fine:
Existing Case Studies
Name[image: ↓]http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/#
Owner[image: 
↓]http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/#
Created[image: 
↓]http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/#
Modified[image:
↓]http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/#
By[image: ↓]http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/#
Summary[image: 
↓]http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/#
Status[image: 
↓]http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/#
Woodforthetreeshttp://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/Woodforthetrees
 Steven
Warburtonhttp://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/stevenwarburton
15 May 2008 16 May 2008  Yishay
Mor http://localhost/xwiki/bin/view/XWiki/yish
 seed  Virtual World
Communicationshttp://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/VirtualWorldCommunications
 Jim
Hensmanhttp://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/JimHensman
15 May 2008 15 May 2008  Jim
Hensmanhttp://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/JimHensman
 seed  Team 
Communicationshttp://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/TeamCommunications
 john
grayhttp://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/JohnGray
14 May 2008 14 May 2008  john
grayhttp://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/JohnGray
What goes in here? seed
test http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/test
 Yishay
Mor 
(local)http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/YishayMor
16 May 2008 16 May 2008  Yishay
Mor 
(local)http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/YishayMor


The troublesome code is probably this:
td $xwiki.formatDate($caseDoc.getCreationDate(),dd MMM ) /td
td $xwiki.formatDate($caseDoc.getDate(),dd MMM ) /td


issue 2
=
I use this code to create new pages in the space:
#if ($xwiki.hasAccessLevel(edit))
/pform action= id=newdoc method=post
div
input name=parent value=XWiki.CaseClass type=hidden
input name=template value=Cases.CaseClassTemplate type=hidden
input name=sheet value=1 type=hidden
input name=webname value=Cases size=8 type=hidden
Name: input name=name value=Name of your case study type=text
size=20
input value=Create onclick='if (updateName(this.form.name))
{this.form.action=../../inline/ + this.form.webname.value + / +
this.form.name.value; this.form.submit(); }' type=button
/div
/formp
#else
sorry, you have to log in to enter a case study.
#end

It works fine, users can create new pages, but then they can't edit them!
In my desperation, I added this to the class sheet:
## set rights to allow creator and contributors to edit
## THIS DOESN'T WORK: CHICKEN  EGG PROBLEM = TURNED OFF SAVE
#macro(allowEdit $user)
#set ($rights = $doc.getObject(XWiki.XWikiRights, true))
#set ($result = $rights.set(levels, edit))
#set ($result = $rights.set(users, $user))
#set ($result = $rights.set(allow, 1))
## $doc.save()
#end
#allowEdit($doc.getCreator())
#foreach($contributor in $doc.getObject(Cases.CaseClass).contributors)
#allowEdit($contributor)
#end
but as you can see in the comment, it fails because if a user doesn't have
edit rights to begin with, save fails.

-- 
___
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.html
http://yishaym.wordpress.com
https://www.linkedin.com/in/yishaymor
http://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] permitting programming

2008-05-16 Thread Yishay Mor
the adminstration panel does not include a column for programming. How do
I grant a user programming rights?

-- 
___
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.html
http://yishaym.wordpress.com
https://www.linkedin.com/in/yishaymor
http://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] performance on the farm? editing documentation?

2008-05-13 Thread Yishay Mor
Hello all, and apologies for the n00b questions.

I'm running a wiki on the wiki farm at:
http://patternlanguagenetwork.myxwiki.org/
For the last few days, I've noticed a significant degradation in
performance. I suspect this is not specific to my wiki, but affecting the
whole farm (http://www.myxwiki.org/ is also a bit slow to respond). The
documentation recommends some measures for boosting performance, but as far
as I can see they all require access to the underlying system, e.g. indexing
the SQL tables.

Also, when I do learn something about XWiki, I'd like to give something back
by updating the documentation. I couldn't find a register link there.

thanks,

- Yishay

-- 
___
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.html
http://yishaym.wordpress.com
https://www.linkedin.com/in/yishaymor
http://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] performance on the farm? editing documentation?

2008-05-13 Thread Yishay Mor
 Date: Tue, 13 May 2008 17:35:32 +0200
 From: Vincent Massol [EMAIL PROTECTED]

 I've checked the farm status on
 http://myxwiki.org/xwiki/bin/view/XWiki/RequestsStatus


see - I already learnt something: first check the status!

  Also, when I do learn something about XWiki, I'd like to give something
 back
  by updating the documentation. I couldn't find a register link
  there.

 there = xwiki.org or myxwiki.org?


good question.
I was thinking of
http://platform.xwiki.org/xwiki/bin/view/Main/Documentation
but perhaps for question specific to the farm, like this one, its better to
create a Help section on http://www.myxwiki.org/?

cheers,

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


Re: [xwiki-users] installation problems

2008-03-16 Thread Yishay Mor
Thanks Glenn,

I *think* I did that - any idea how I could test it? Is there some sort of
status / troubleshooting page for XWiki, where I can see what's working and
what's not?

From: Glenn Everitt [EMAIL PROTECTED]
 Subject: Re: [xwiki-users] installation problems

 You also have to manually create the xwiki user in MySql.  Don't forget to
 give the user all required permissions. - Glenn Everitt




___
  Yishay Mor, Researcher, London Knowledge Lab
   http://www.lkl.ac.uk/people/mor.html
   http://yishaym.wordpress.com
   https://www.linkedin.com/in/yishaymor
   http://www.google.com/calendar/embed?src=yishaym%40gmail.com
   +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] installation problems

2008-03-15 Thread Yishay Mor
(
CoyoteAdapter.java:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
:447)
at java.lang.Thread.run(Thread.java:613)
java.lang.NoClassDefFoundError
at com.jhlabs.image.WholeImageFilter.init(WholeImageFilter.java)
at com.jhlabs.image.WaterFilter.init(WaterFilter.java)
at
com.octo.captcha.engine.image.gimpy.DefaultGimpyEngine.buildInitialFactories
(DefaultGimpyEngine.java:503)
at com.octo.captcha.engine.image.ListImageCaptchaEngine.init(
ListImageCaptchaEngine.java:493)
at com.octo.captcha.engine.image.gimpy.DefaultGimpyEngine.init(
DefaultGimpyEngine.java:494)
at com.octo.captcha.service.image.DefaultManageableImageCaptchaService
.init(DefaultManageableImageCaptchaService.java:32)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.octo.captcha.module.config.CaptchaModuleConfig.validate(
CaptchaModuleConfig.java:193)
at com.octo.captcha.module.struts.CaptchaServicePlugin.init(
CaptchaServicePlugin.java:64)
at org.apache.struts.action.ActionServlet.initModulePlugIns(
ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(
StandardWrapper.java:1161)
 [...]

On 13/03/2008, Yishay Mor [EMAIL PROTECTED] wrote:

 I'm afraid I can't access the firewall - its centrally managed. I only
 have admin rights to this particular server. I'll have a look at the log
 files.


 Date: Thu, 13 Mar 2008 12:12:27 +0100
  From: [Ricardo Rodriguez] Your EPEC Network ICT Team  
  [EMAIL PROTECTED]
  Subject: Re: [xwiki-users] installation problems
  To: XWiki Users users@xwiki.org
 
  Hi,
 
  Yishay Mor wrote:
   Thanks Ricardo,
  
   My server's 8080 is behind a firewall, but I can see it and have no
   problem running other JSP / servlets.
 
  If you can manage your network, could you try by stopping the firewall?
  I am guessing it could be easy for you if xwiki and MySQL are running on
  the same server and you have an administrative account there. It is
  weird that you don't get errors if you had not hibernate.cfg.xml
  configured and a MySQL drivers in place.
 
  Could you also take a look to your catalina.out and/or the console of
  your server? There must be useful information there.
  
   thanks for reminding me about hibernate.cfg.xml
   I also realized that I hadn't installed a MySql driver in WB-INF.
   However, even though I fixed these two issues, I'm still getting a
   blank page.
  
   Also, I wasn't sure with settings to use in hibernate:
 
  Use always the uncommented lines from your current release as the base
  for your configuration. Documentation is mostly manually updated, so
  there could be changes not reflected there. This is a wiki, so our
  contribution will be welcome... when we know what we are doing :-)
 
  Thanks!
 
  Ricardo
 
  --
  Ricardo Rodr?guez
  Your EPEC Network ICT Team
 
 
 
 ___
   Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.html
http://yishaym.wordpress.com
https://www.linkedin.com/in/yishaymor
http://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-7837 x5737




-- 
___
  Yishay Mor, Researcher, London Knowledge Lab
   http://www.lkl.ac.uk/people/mor.html
   http://yishaym.wordpress.com
   https://www.linkedin.com/in/yishaymor
   http://www.google.com/calendar/embed?src=yishaym%40gmail.com
   +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] installation problems

2008-03-13 Thread Yishay Mor
Thanks Ricardo,

My server's 8080 is behind a firewall, but I can see it and have no problem
running other JSP / servlets.

thanks for reminding me about hibernate.cfg.xml
I also realized that I hadn't installed a MySql driver in WB-INF.
However, even though I fixed these two issues, I'm still getting a blank
page.

Also, I wasn't sure with settings to use in hibernate:

!-- settings commented out in original file --

property name=connection.url
jdbc:mysql://localhost/xwiki?useServerPrepStmts=falseamp;sessionVariables=sql_mode=''/property
property name=connection.usernamexwiki/property
property name=connection.passwordxwiki/property
property name=connection.driver_classcom.mysql.jdbc.Driver
/property
property name=dialectorg.hibernate.dialect.MySQLDialect/property
property name=connection.provider_class
com.xpn.xwiki.store.DBCPConnectionProvider/property
property name=connection.pool_size2/property
property name=statement_cache.size2/property
mapping resource=xwiki.hbm.xml/
mapping resource=feeds.hbm.xml/

!-- instructions from
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL --

property name=connection.urljdbc:mysql://localhost/xwiki/property
property name=connection.usernamexwiki/property
property name=connection.passwordxwiki/property
property name=connection.driver_classcom.mysql.jdbc.Driver
/property
property name=dialectorg.hibernate.dialect.MySQLDialect/property



Date: Wed, 12 Mar 2008 01:29:07 +0100
 From: [Ricardo Rodriguez] Your EPEC Network ICT Team
 [EMAIL PROTECTED]
 Subject: Re: [xwiki-users] installation problems
 To: XWiki Users users@xwiki.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 Hi, Yishay,

 Yishay Mor wrote:
  Hi all,
 
  I'm trying to install xwiki 1.3 on a Mac XSERVE Leopard (osx 1.5)
  server, and I'm not getting very far.
 
  I downloaded the war, opened http://localhost:8080/manager/html, and
  deployed.
  My manager shows XWiki up and running.
  I click http://localhost:8080/xwiki and get redirected to
  http://localhost:8080/xwiki/bin/view/Main/WebHome
  and then I get a blank page.
  same for http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences

 Just to be sure, have you edited your hibernate.cfg.xml? It is a bit
 strange that you get a blank page instead of an error, but...

 Another doubt, does XServe Leopard has a firewall? Is port 8080
 accessible?

 My 2 c.,

 Ricardo

 --
 Ricardo Rodr?guez
 Your EPEC Network ICT Team


___
  Yishay Mor, Researcher, London Knowledge Lab
   http://www.lkl.ac.uk/people/mor.html
   http://yishaym.wordpress.com
   https://www.linkedin.com/in/yishaymor
   http://www.google.com/calendar/embed?src=yishaym%40gmail.com
   +44-20-7837 x5737
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] installation problems

2008-03-11 Thread Yishay Mor
Hi all,

I'm trying to install xwiki 1.3 on a Mac XSERVE Leopard (osx 1.5) server,
and I'm not getting very far.

I downloaded the war, opened http://localhost:8080/manager/html, and
deployed.
My manager shows XWiki up and running.
I click http://localhost:8080/xwiki and get redirected to
http://localhost:8080/xwiki/bin/view/Main/WebHome
and then I get a blank page.
same for http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences

I'm including the server status dump below, in case that's any help.

Thanks in advance for any advice,

- Yishay

-- 
___
  Yishay Mor, Researcher, London Knowledge Lab
   http://www.lkl.ac.uk/people/mor.html
   http://yishaym.wordpress.com
   https://www.linkedin.com/in/yishaymor
   http://www.google.com/calendar/embed?src=yishaym%40gmail.com
   +44-20-7837 x5737

___




  [image: The Apache Software Foundation] http://www.apache.org/ [image:
The Tomcat Servlet/JSP Container] http://tomcat.apache.org/
--
  Complete Server Status
 Manager  List Applications HTML Manager Help Manager Help Server Status
 Server Information  Tomcat Version JVM Version JVM Vendor OS Name OS
Version OS Architecture  Apache Tomcat/6.0.14 1.5.0_13-b05-237 Apple Inc. Mac
OS X 10.5.2 i386
JVM

Free memory: 4.60 MB Total memory: 19.13 MB Max memory: 63.31 MB
http-8080

Max threads: 40 Current thread count: 2 Current thread busy: 1
Max processing time: 5732 ms Processing time: 13.731 s Request count: 55
Error count: 8 Bytes received: 72.21 MB Bytes sent: 0.17 MB
StageTimeB SentB RecvClientVHostRequest*R* ??*S*5 ms0 KB0 KB127.0.0.1
localhostGET /manager/status/all HTTP/1.1

P: Parse and prepare request S: Service F: Finishing R: Ready K: Keepalive
jk-8013

Max threads: 200 Current thread count: 4 Current thread busy: 1
Max processing time: 0 ms Processing time: 0.0 s Request count: 0 Error
count: 0 Bytes received: 0.00 MB Bytes sent: 0.00 MB
StageTimeB SentB RecvClientVHostRequest

P: Parse and prepare request S: Service F: Finishing R: Ready K: Keepalive
Application list

localhost/JSPWiki
localhost/manager
localhost/host-manager
localhost/axis
localhost/examples
localhost/
localhost/docs
localhost/xwiki
localhost/JSPWiki

Start time: Wed Feb 27 16:22:27 GMT 2008 Startup time: 44 ms TLD scan time:
641 ms
Active sessions: 0 Session count: 0 Max active sessions: 0 Rejected session
creations: 0 Expired sessions: 0 Longest session alive time: 0 s Average
session alive time: 0 s Processing time: 80 ms
JSPs loaded: 0 JSPs reloaded: 0
AttachmentServlet [ /attach/* ]

Processing time: 0.0 s Max time: 0 ms Request count: 0 Error count: 0 Load
time: 0 ms Classloading time: 0 ms
XMLRPC

Processing time: 0.0 s Max time: 0 ms Request count: 0 Error count: 0 Load
time: 0 ms Classloading time: 0 ms
ATOM

Processing time: 0.0 s Max time: 0 ms Request count: 0 Error count: 0 Load
time: 0 ms Classloading time: 0 ms
XMLRPC-UTF8

Processing time: 0.0 s Max time: 0 ms Request count: 0 Error count: 0 Load
time: 0 ms Classloading time: 0 ms
WikiServlet [ /wiki/* ]

Processing time: 0.0 s Max time: 0 ms Request count: 0 Error count: 0 Load
time: 4 ms Classloading time: 4 ms
default [ / ]

Processing time: 0.0 s Max time: 0 ms Request count: 0 Error count: 0 Load
time: 9 ms Classloading time: 9 ms
com.metaparadigm.jsonrpc.JSONRPCServlet [ /JSON-RPC ]

Processing time: 0.0 s Max time: 0 ms Request count: 0 Error count: 0 Load
time: 0 ms Classloading time: 0 ms
DAVServlet

Processing time: 0.0 s Max time: 0 ms Request count: 0 Error count: 0 Load
time: 0 ms Classloading time: 0 ms
jsp [ *.jsp , *.jspx ]

Processing time: 0.0 s Max time: 0 ms Request count: 0 Error count: 0 Load
time: 16 ms Classloading time: 2 ms
localhost/manager

Start time: Wed Feb 27 16:22:39 GMT 2008 Startup time: 18 ms TLD scan time:
86 ms
Active sessions: 1 Session count: 1 Max active sessions: 1 Rejected session
creations: 0 Expired sessions: 0 Longest session alive time: 0 s Average
session alive time: 0 s Processing time: 70 ms
JSPs loaded: 1 JSPs reloaded: 1
default [ / ]

Processing time: 0.0 s Max time: 0 ms Request count: 2 Error count: 0 Load
time: 1 ms Classloading time: 1 ms
Status [ /status/* ]

Processing time: 0.182 s Max time: 55 ms Request count: 7 Error count: 1
Load time: 5 ms Classloading time: 4 ms
Manager [ /list , /sessions , /start , /stop , /install , /remove , /deploy
, /undeploy , /reload , /save , /serverinfo , /roles , /resources ]

Processing time: 0.0 s Max time: 0 ms Request count: 0 Error count: 0 Load
time: 0 ms Classloading time: 0 ms
JMXProxy [ /jmxproxy/* ]

Processing time: 0.0 s Max time: 0 ms Request count: 0 Error count: 0 Load
time: 0 ms Classloading time: 0 ms
HTMLManager [ /html/* ]

Processing time: 11.189 s Max time: 5732 ms Request count: 5 Error count: 0
Load time: 23 ms Classloading time: 11 ms
jsp [ *.jsp , *.jspx ]

Processing time: 0.0 s Max time: 0 ms Request count: 0 Error count: 0 Load
time: 1 ms Classloading time: 1