Re: Is using jcr:path in a query a performance bottleneck?

2009-01-26 Thread Marcel Reutegger
Hi, sbarriba wrote: I've included some background below but my question is. is using jcr:path in a query to be avoided due to performance? I'd say, it depends on the query and the content structure you have. but in general, path constraints are more expensive than constraints on

Re: Search changed after upgrading from 1.4 to 1.5

2009-01-26 Thread Marcel Reutegger
Hi, is there anything you can see in the logs that would indicate what the problem is? regards marcel Jop Zinkweg - Initworks B.V. wrote: Hi, I haven't touched the workspace configuration file. After upgrading an exisiting repository (by replacing all the jar's + adding dependencies),

AW: child node definition found for {}importxml

2009-01-26 Thread Christofer Dutz
Hi, thanks fort hat info. Unfortunately when using the file type, I get different errors: javax.jcr.nodetype.ConstraintViolationException: no definition found in parent node's node type for new node: no matching child node definition found for

Re: JCA and JBoss:Problem with ItemStateCache

2009-01-26 Thread Moritz Rebbert
Hi, Done: JCR-1953 Regards Moritz

Re: Temp File Semantics

2009-01-26 Thread Thomas Müller
Hi, Sorry for the delay. Since we have a very fast pipe to the DB, it sounds like increasing the pool size may be a better alternative. Can you confirm? Yes, it should be better. Also, is it possible to use a container-managed pool or control the behavior of the built-in pool at a more

Re: child node definition found for {}importxml

2009-01-26 Thread Stefan Guggisberg
On Mon, Jan 26, 2009 at 9:20 AM, Christofer Dutz c.d...@upw.de wrote: Hi, thanks fort hat info. Unfortunately when using the file type, I get different errors: who said you should use nt:file? i suggested using nt:unstructured... cheers stefan

RE: Is using jcr:path in a query a performance bottleneck?

2009-01-26 Thread Ard Schrijvers
Hello Shaun, Regarding avoiding path constraints queries taking long, you might (will) also win a lot by making the where clause only a little more specific. So, if you keep you where path constraint, but, at the same time, add at you 'category nodes' like '/sport' or '/entertainment' a mixin for

AW: child node definition found for {}importxml

2009-01-26 Thread Christofer Dutz
Hi Stefan, but using this was my initial problem. As soon as I add an nt:unstructured node as child of my nt:folder field, i get the original no matching child node definition found for {}importxml Error. I even tried adding a nt:file node and adding a nt:unstructured node called content to this

OCM Search problem

2009-01-26 Thread Kurz Wolfgang
Hi everyone, I am useing OCM to store things in Jackrabbit. I have a problem building my filter: My Class is called JCR Content and looks something like this: @Node public class JCRContent implements Serializable { /** * Reference to the unique ContentId */

AW: child node definition found for {}importxml

2009-01-26 Thread Christofer Dutz
Hi Stefan, forget my last posting ;-) After reading your initial post again for one or two times, I found out what you suggested to do .. not to change the type oft he child I am adding, but the type of node I am adding to. After changing my folder node type to nt:unstructured everything works

RE: Is using jcr:path in a query a performance bottleneck?

2009-01-26 Thread sbarriba
Thanks Ard, Marcel. RE the comments on memory usage...we're seeing some pretty aggressive heap usage with lots of these queries going on - the heap can consume 50 to 100MB every few seconds and then GC'ing back down. We've tuned the GC but are there any memory settings we should be looking at

Re: Problem with JackRabbit 1.4 and temporary bin*tmp files

2009-01-26 Thread Thomas Müller
Hi, I'm using JackRabbit 1.4.7 with a transient repository configured 'by default' (Derby, FS persistence manager). I'm not sure if I understand... Could you post the repository.xml and workspace.xml files? When my app browses a(n nt:)folder with many files (say 200 or 300) or when it

AW: OCM Search problem

2009-01-26 Thread Kurz Wolfgang
Oh i forgot to post the error i get using XPath with ocm: org.apache.jackrabbit.ocm.exception.IncorrectPersistentClassException: Node type: nt:unstructured has no descriptor. at

Re: Problem with JackRabbit 1.4 and temporary bin*tmp files

2009-01-26 Thread Fabián Mandelbaum
Thomas Müller escribió: Hi, I'm using JackRabbit 1.4.7 with a transient repository configured 'by default' (Derby, FS persistence manager). I'm not sure if I understand... Could you post the repository.xml and workspace.xml files? My repository.xml is 'standard': ?xml

Re: searching in OCRed pdf

2009-01-26 Thread Paco Avila
You can make a text extractor which perform an OCR. On Mon, Jan 26, 2009 at 5:25 PM, Péterfi Balázs b.pete...@i-deal.hu wrote: Hello, I'm developing an application that uses jackrabbit and have some problem with searching in pdf files. When I search in a pdf that was generated from a word

Re: searching in OCRed pdf

2009-01-26 Thread Péterfi Balázs
I think it has already OCRed because as I wrote I can search in the pdf with adobe reader and it also selects the result. But what I see is a scanned paper and I guess there is a text layer behind it. Is it possible? Paco Avila írta: You can make a text extractor which perform an OCR. On

Re: searching in OCRed pdf

2009-01-26 Thread Paco Avila
Jackrabbit PDF text extractor uses PDFBox. If Adobe Reader can search the text then PDFBox should be capable of extract this text, but I only is my opinion. On Mon, Jan 26, 2009 at 5:47 PM, Péterfi Balázs b.pete...@i-deal.hu wrote: I think it has already OCRed because as I wrote I can search in

RE: Problem binding RMI in standalone jackrabbit 1.5.2

2009-01-26 Thread MARTINEZ Antonio
When starting jackrabbit I'm getting an error Caused by: java.lang.ClassNotFoundException: org.apache.jackrabbit.rmi.server.ServerRepository_Stub Apparently this issue was flagged already in this thread http://www.mail-archive.com/jackrabbit-...@incubator.apache.org/msg03635 .html, and we get