RE: Unable to lock global revision table (repository unstable)

2008-10-29 Thread MARTINEZ Antonio
Any input on this matter is greatly appreciated :) Thanks, Antonio -Original Message- From: MARTINEZ Antonio [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 5:47 PM To: users@jackrabbit.apache.org Subject: Unable to lock global revision table (repository unstable) Hello, I'm u

RE: Snapshot of local data (in sync with DB)

2008-10-29 Thread MARTINEZ Antonio
Thanks Thomas! I'll try that Antonio -Original Message- From: Thomas Müller [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2008 2:07 AM To: users@jackrabbit.apache.org Subject: Re: Snapshot of local data (in sync with DB) Hi, > Currently we lock the MySql DB before taking backu

Re: Result of VERSION-CONTROL request

2008-10-29 Thread Dave Fried
Julian Reschke wrote: Angela Schreiber wrote: but i don't have any strong feelings about the change, if the current behaviour turns out to be problematic. in this case you may open an issue in jira. I'd be in favor to change it without an actual bug report. Problems like these can be hard to

Re: Result of VERSION-CONTROL request

2008-10-29 Thread Julian Reschke
Angela Schreiber wrote: hi julian I'd be in favor to change it without an actual bug report. why? i prefer to have issues attached to modifications made in the source in order to be able to track changes and mention the changes in the release notes. Of course. I meant "bug report" the the

Re: Result of VERSION-CONTROL request

2008-10-29 Thread Angela Schreiber
hi julian I'd be in favor to change it without an actual bug report. why? i prefer to have issues attached to modifications made in the source in order to be able to track changes and mention the changes in the release notes. What we need is a WebDAV test case... in addition. but not inste

Re: Result of VERSION-CONTROL request

2008-10-29 Thread Julian Reschke
Angela Schreiber wrote: ... as far as i know that is the default behaviour defined in JSR 170 if a node is made mix:versionable. see section "8.2.4 Initializing the Version History". if this turns out to be a problem with dav clients, we should add the line you suggest. the only drawback of the

Re: WebDAV servlets and locking

2008-10-29 Thread Angela Schreiber
hi dave [...] AFAIK, from a WebDAV perspective (or as you pointed out, from a JCR 2.0 perspective), there is nothing wrong with sometimes revealing lock tokens. no. but currently it is simply not possible unless the dav-server either remembers the token/owner-id pair OR doesn't logout the ses

Re: Result of VERSION-CONTROL request

2008-10-29 Thread Angela Schreiber
hi dave The WebDAV standard seems to indicate that the result of a VERSION-CONTROL request should be a resource which is in the checked-in state: "If the request-URL identified a versionable resource at the time of the request, the request MUST have created a new version histo

xpath: how to node.getName() from row?

2008-10-29 Thread Marc Speck
I have a query like //*[jcr:contains(.,"whatever")/(@jcr:name | @jcr:primaryType | @f:myProperty) to retrieve some excerpts. I need a RowIterator for the excerpt (=can't use NodeIterator) and some custom properties in the result table (= no default properties in the table). Unfortunatelly, current

Re: File search order by jcr:content properties

2008-10-29 Thread Jop Zinkweg - Initworks B.V.
Hi, Is ordering by subnode properties in any way supported? no, this is currently not supported. see [0] and [1] Forgot to check for existing Jira issues, thanks for the info. (I know subpath lookups are a bad idea performance wise, it's something that'll be changed later on) do

Re: File search order by jcr:content properties

2008-10-29 Thread Marcel Reutegger
Hi, Jop Zinkweg - Initworks B.V. wrote: > Hi, > > We're currently developing a web application which (will) use Jackrabbit > to store all of its correspondence. > > What I'm trying to do is to search through a subtree containing files, > and return these in a specific order based on a property i

Re: properties declaration in CND

2008-10-29 Thread Julian Reschke
Blanco Emanuele wrote: It worked. Thanks a lot. And my namespace is something I really own, but I just changed it for posting here :) ... OK, so apologies for the false alarm. Recommendation: in example namespace names use domain names which are reserved for the purpose of examples, such as

RE: properties declaration in CND

2008-10-29 Thread Blanco Emanuele
It worked. Thanks a lot. And my namespace is something I really own, but I just changed it for posting here :) Thank you. -- Emanuele Blanco -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Guggisberg Sent: mercoledì 29 ottobre 2008 9.41 To: use

File search order by jcr:content properties

2008-10-29 Thread Jop Zinkweg - Initworks B.V.
Hi, We're currently developing a web application which (will) use Jackrabbit to store all of its correspondence. What I'm trying to do is to search through a subtree containing files, and return these in a specific order based on a property in the jcr:content subnode. For testing purposes

Re: Snapshot of local data (in sync with DB)

2008-10-29 Thread Thomas Müller
Hi, > Currently we lock the MySql DB before taking backup with FLUSH TABLES WITH > READ LOCK, which closes all open tables and locks all tables for all > databases with a read lock until you explicitly release the lock by executing > UNLOCK TABLES. > > Can we guarantee that while we have this l

Re: properties declaration in CND

2008-10-29 Thread Stefan Guggisberg
On Wed, Oct 29, 2008 at 9:05 AM, Blanco Emanuele <[EMAIL PROTECTED]> wrote: > I'm customizing an application. > > My CND is: > > http://www.jboss.org/drools-repository/1.0'> > http://www.jcp.org/jcr/nt/1.0'> > http://www.jcp.org/jcr/mix/1.0'> > http://www.mynamespace.org/1.0'> > > [ns:tipologia] >

Re: properties declaration in CND

2008-10-29 Thread Julian Reschke
Blanco Emanuele wrote: ... http://www.mynamespace.org/1.0'> ... Unrelated to your problem, but still important: this is not a good namespace name (unless you own the domain "mynamespace.org"). BR, Julian

RE: properties declaration in CND

2008-10-29 Thread Blanco Emanuele
I'm customizing an application. My CND is: http://www.jboss.org/drools-repository/1.0'> http://www.jcp.org/jcr/nt/1.0'> http://www.jcp.org/jcr/mix/1.0'> http://www.mynamespace.org/1.0'> [ns:tipologia] > 'nt:hierarchyNode','mix:referenceable' - ns:figli (reference) multiple - ns:padre (referenc