Greg Schueler | 1 Oct 01:42 2009

Re: webdav webapp is not relinquishing disk space

Ok, for installations that have already been configured to use the
FileDataStore, what is the simplest solution to invoking the garbage
collection?  It's not clear to me how I can go about doing that.
Do I have to modify the existing webapp/servlet code to add this custom
service and rebuild it? or is it possible to do this via RMI?
On Wed, Sep 30, 2009 at 2:58 PM, Alexander Klimetschek <aklimets <at> day.com>wrote:

> On Wed, Sep 30, 2009 at 22:04, Greg Schueler <greg <at> dtosolutions.com>
> wrote:
> > I see, so as it stands the webdav webapp cannot really be used
> "standalone"
> > as a simple file based WebDAV repository solution, because it requires
> > custom code to in actualy delete files?
>
> You don't have to use the data store - you can use a bundle
> persistence manager only, with eg. blob store option on. The data
> store is optimized for the typical content repository case, where
> deletions are seldom and things are kept/archived for a long(er) time.
>
>
> Regards,
> Alex
>
> --
> Alexander Klimetschek
> alexander.klimetschek <at> day.com
>
Marcel Reutegger | 1 Oct 11:02 2009
Picon
Picon

Re: Memory issues with jackrabbit/lucene

Hi,

On Fri, Sep 25, 2009 at 14:24, Muguet Bradbury <M.Bradbury <at> fortent.com> wrote:
> Is there a way to add content to a jackrabbit repo without making it
> searchable, thus avoiding the TermBuffer objects being created?

you can define indexing rules for certain node types and let
jackrabbit only index certain properties.

see: http://wiki.apache.org/jackrabbit/IndexingConfiguration

regards
 marcel

Marcel Reutegger | 1 Oct 11:16 2009
Picon
Picon

Re: Query mixin and nt:resource nodes

Hi,

On Mon, Sep 28, 2009 at 23:54, Michael Shoener
<mshoener <at> softwareapps.net> wrote:
> I tried your suggestion to use  <at> jcr:data and still get nothing.

see: http://jackrabbit.apache.org/frequently-asked-questions.html

"Why doesn't //*[jcr:contains( <at> jcr:data, 'foo')] return matches for
binary content?"

> What exactly does the "." in the jcr:contains search in relation to the
> node?

it means that the XPath context node is searched using the
jcr:contains() function. In jackrabbit jcr:contains will search all
properties on that node unless otherwise configured in the indexing
configuration.

see: http://wiki.apache.org/jackrabbit/IndexingConfiguration

> Any other suggestions?

you could separate the resource from the file. e.g. have the
description property on a node that is distinct from the node where
you have the jcr:data on.

using built in node types that would be:

//element(*, nt:file)[jcr:contains(jcr:content, 'example')]
(Continue reading)

Marcel Reutegger | 1 Oct 11:19 2009

Re: Nodes not returned in query when indexing?

Hi,

On Tue, Sep 29, 2009 at 10:38, Dennis van der Laan
<d.g.van.der.laan <at> rug.nl> wrote:
> Hi,
>
> I believe file nodes get 'hidden' somehow when their contents get indexed.
> I create a file in a repository, and set a custom property 'myns:id' on
> the jcr:content node. Directly after creating the file, I perform an
> XPath query retrieving the file node based on the id-property.
> Sometimes, especially with (larger) PDF-files, the node can not be found
> by this id-property.
>
> I changed my code, by executing the query over and over again and
> waiting for 2 seconds between each try. Eventually the node is returned,
> mostly after 4-6 seconds (so 2 to 3 tries). In the log file, when the
> query does not return the node, I see the message "MultiIndex: updating
> index with 1 nodes from indexing queue. (MultiIndex.java, line 1210)",
> letting me believe the node is somehow hidden or locked when it is being
> indexed.
>
> I have seen this behavior when using a direct repository and when using
> RMI. It happens when using a local filesystem and when using a database
> store, with Java Derby and with Oracle 10.
>
> My questions:
> - Is this 'normal' behavior or is it a bug?

this sounds like a bug. what version of jackrabbit are you using?

(Continue reading)

Marcel Reutegger | 1 Oct 11:23 2009
Picon
Picon

Re: Selected files to backup

Hi,

On Tue, Sep 29, 2009 at 17:29, freak182 <eman.nollase <at> gmail.com> wrote:
> side question: how can i page the query result?

http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/RangeIterator.html#skip(long)

regards
 marcel

mitziuro | 1 Oct 12:13 2009
Picon

Cloning Workspace

I'm trying to clone a workspace and i get "no ancestor at degree 1: {}".
Is there a way to clone a workspace including the root node ?
Muguet Bradbury | 1 Oct 14:03 2009

RE: Memory issues with jackrabbit/lucene

Marcel,

I'm very interested in this solution, but the link you gave does not
work.

-----Original Message-----
From: mreutegg <at> day.com [mailto:mreutegg <at> day.com] On Behalf Of Marcel
Reutegger
Sent: Thursday, October 01, 2009 5:03 AM
To: users <at> jackrabbit.apache.org
Subject: Re: Memory issues with jackrabbit/lucene

Hi,

On Fri, Sep 25, 2009 at 14:24, Muguet Bradbury <M.Bradbury <at> fortent.com>
wrote:
> Is there a way to add content to a jackrabbit repo without making it
> searchable, thus avoiding the TermBuffer objects being created?

you can define indexing rules for certain node types and let
jackrabbit only index certain properties.

see: http://wiki.apache.org/jackrabbit/IndexingConfiguration

regards
 marcel

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________
(Continue reading)

Nebojsa Ristin | 1 Oct 14:18 2009
Picon

Re: Binvalues stroed in the database even though i have configured a Datastore.


Thomas Müller-2 wrote:
> 
> You need to use a Bundle Persistence manager.
> 

You were right, putting
org.apache.jackrabbit.core.persistence.bundle.OraclePersistenceManager
instead of
org.apache.jackrabbit.core.persistence.db.OraclePersistenceManager solved
the problem. Thanks!
--

-- 
View this message in context: http://www.nabble.com/Binvalues-stroed-in-the-database-even-though-i-have-configured-a-Datastore.-tp23942846p25696832.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Alexander Klimetschek | 1 Oct 14:48 2009

Re: Memory issues with jackrabbit/lucene

Yes, wiki.apache.org is down. http://monitoring.apache.org/status/
gives red for eos.apache.org. So we all have to wait a moment until
it's up again.

Regards,
Alex

--

-- 
Alexander Klimetschek
alexander.klimetschek <at> day.com

freak182 | 1 Oct 15:03 2009
Picon

Re: Selected files to backup


Marcel Reutegger wrote:
> 
> Hi,
> 
> On Tue, Sep 29, 2009 at 17:29, freak182 <eman.nollase <at> gmail.com> wrote:
>> side question: how can i page the query result?
> 
>>http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/RangeIterator.html#skip(long)
> 
> I think it is broken..nwei, how about the main question :)
> 
> thanks a lot.
> cheers.
> 
> regards
>  marcel
> 
> 

--

-- 
View this message in context: http://www.nabble.com/Selected-files-to-backup-tp25665236p25696864.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Gmane