Questions tagged [jackrabbit]

The Apache Jackrabbit™ content repository is a fully conforming implementation of the Content Repository for Java Technology API (JCR, specified in JSR 170 and 283). A content repository is a hierarchical content store with support for structured and unstructured content, full text search, versioning, transactions, observation, and more.

The Apache Jackrabbit content repository is a fully conforming implementation of the Content Repository for Java Technology API (JCR, specified in JSR 170 and 283).

A content repository is a hierarchical content store with support for structured and unstructured content, full text search, versioning, transactions, observation, and more.

Useful Links:

665 questions
0
votes
1 answer

create durable jcr session

Is there a way to create a durable jcr session which is kept alive during the whole application lifecycle ? The background is that I want to use this session for a JCR EventListener which updates my view on any incoming event. Therefore this…
nico1510
  • 606
  • 9
  • 29
0
votes
1 answer

What are the needed jars to work via RMI with a Jackrabbit repository?

What jars are needed to work via RMI with a Jackrabbit repository? When RMI is used via JcrUtils.getRepository("http://$SERVER_ADDRESS:$PORT/$CONTEXT"), what jars are needed in the classpath to be able to work with all JCR & Jackrabbit features?…
DaveX
  • 147
  • 1
  • 4
0
votes
1 answer

Need help for jackRabbit helloworld example

i am new to JackRabbit and i am trying to run FirstHop.java but iam getting following error. code import javax.jcr.Repository; import javax.jcr.Session; import org.apache.jackrabbit.core.TransientRepository; public class FirstHop { public…
MRX
  • 1,611
  • 8
  • 33
  • 55
0
votes
1 answer

Upload / Download BLOBs Jackrabbit

I'm looking for a way to provide upload/download mechanism for blob files. These files should be stored in a jackrabbit datasource repository. I already discovered apache Sling framework for this task but it seems that this is not applicable for…
nico1510
  • 606
  • 9
  • 29
0
votes
2 answers

Use Jackrabbit with glassfish and jcr-2.0.jar lib

I'm trying to access a jackrabbit repository from within my glassfish server. Therefore i pasted the jcr-2.0.jar into my domains/{$mydomain}/lib/ directory. When I try to set up a Repository instance in netbeans, I can't find the import…
nico1510
  • 606
  • 9
  • 29
0
votes
2 answers

Jackrabbit lucene ItemNotFoundException - how to reproduce/what causes corrupt index

It appears our lucene index is becoming corrupt as we see these exceptions suddenly occurring. We fix it by deleting the index folders so that the index gets rebuilt. Problem is, we haven't been able to reliably reproduce this exception making it…
TedTrippin
  • 3,525
  • 5
  • 28
  • 46
0
votes
1 answer

jackrabbit error: can't create folder

I am using Jackrabbit version 1.6 on IBM AIX. It is similiar to Linux operating system. Jackrabbit is used to store files being uploaded by the users of my application. I get an error "can't create a folder" when the JCR has stored more than 32767…
0
votes
1 answer

Apache jackrabbit: Error while retrieving repository using JNDI

I am setting up Apache jackrabbit repository on Linux machine and while my server is starting up, I get the following error message ERROR RepositoryAccessServlet: Error while retrieving repository using JNDI (name=jackrabbit.repository)…
Bagira
  • 2,149
  • 4
  • 26
  • 55
0
votes
1 answer

Best/quickest way of checking for updated node tree, excluding certain properties

I have a document, represented as a node tree in Jackrabbit. When saving a document, I want to first check if certain properties have changed. Whats the best/quickest way of doing this? I want the quickest, but not at the expense of being…
TedTrippin
  • 3,525
  • 5
  • 28
  • 46
0
votes
2 answers

Does Jackrabbit support the XPath union (|) operator?

I am trying to search under 2 different nodes for a specific name. This works /jcr:root/db067409/libraries/bd0b868d/_x0030_//*[@name="FIRST"] But when I try to OR it with the second node like…
TedTrippin
  • 3,525
  • 5
  • 28
  • 46
0
votes
1 answer

Search by an inputstream property

I have a question about making a xpath expression for filtering resources by a property of type inputStream called data. How can I do a text search, for example this is working: String xpath1 = "//element(*, nt:resource)…
Victor
  • 3,841
  • 2
  • 37
  • 63
0
votes
1 answer

JCR - Jackrabbit - Xpath expression for search content text of a file contained inside a node

i am having a headache working with JackRabbit JCR in java. It's about making a xpath expression for searching for entities in my repository. Let's do a brief synopsis of what kind of data is stored, we have 3 a node class called "Entry", that…
Victor
  • 3,841
  • 2
  • 37
  • 63
0
votes
2 answers

How to disable jackrabbit.log_IS_UNDEFINED in jackrabbit-standalone-2.4.2.jar

I have created a code using jackrabbit-standalone-2.4.2.jar and i am getting jackrabbit.log_IS_UNDEFINED.log file in the project directory. This log file is very huge(close to 1 GB). I want to disable it but i dont know how. Does anybody have any…
abhijeet
  • 849
  • 2
  • 19
  • 54
0
votes
1 answer

PROPFIND Box.com and WebDav (JackRabbit)

In an attempt to bypass Box file/folder IDs and supporting a number of other services as well I decided to implement with WebDAV since I'm somewhat familiar with it on my linux box. I chose a library based on JackRabbit modified to work on Android…
Quint Stoffers
  • 790
  • 8
  • 23
0
votes
2 answers

How do I setup log4j so that jackrabbit does not produce a "jackrabbit.log_IS_UNDEFINED" file

Forewarning: I am new to log4j logging and well logging in general and apologize for my ignorance. When ever I run my program from a .jar I get a "jackrabbit.log_IS_UNDEFINED" file in the directory where my program was ran. This log file is…
Archangel33
  • 496
  • 8
  • 22