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
5
votes
0 answers

Unable to use full text search with oak lucene

I am trying out jackrabbit oak with lucene in a file node store. The index definition record is created successfully but it seems the index record is not created. The full project I am working on is here What I am doing in the code is initializa a…
Tan Wei Lian
  • 92
  • 1
  • 9
5
votes
1 answer

How can you change the name of a JCR node?

I'm trying to change the name of a JCR node, but I have no idea how? Has someone of you some hints? Many thanks.
joksy82
  • 405
  • 2
  • 6
  • 13
5
votes
1 answer

Unique Constraint Violation on Root Node Bundle, Apache Jackrabbit with Oracle

Currently in early stage of evaluating using Apache Jackrabbit with our Oracle DB. When testing initial setup of repository.xml configuration, getting this error: 15:18:32.281 [main] ERROR o.a.j.c.p.p.BundleDbPersistenceManager - FATAL error while…
rees
  • 1,566
  • 1
  • 12
  • 19
5
votes
0 answers

AEM with TarMK Cold Standby Not working

I am trying to configure AEM with TarMK Cold Standby. I have followed the below urls to…
Anupam Maiti
  • 1,570
  • 1
  • 19
  • 35
5
votes
1 answer

Jackrabbit repository locking for concurrent access

We have a REST layer and backend as Jackrabbit implementation. We have used TransientRepository with the default settings. When two requests (just for reading the nodes) are fired at the same time, we are facing with the following error…
averagejoe
  • 51
  • 5
5
votes
3 answers

How to run query on Apache Jackrabbit, explain with example

I am using Apache Jackrabbit as a database. In my case, root node has numbers of child nodes(only at depth 1). All child node has unique name, i.e., some Integer. Each child Node have some properties that I have used further. My task I have to take…
devsda
  • 4,112
  • 9
  • 50
  • 87
5
votes
1 answer

How i can add a node under a node using ObjectContentManager?

I want to add a node under a node using ObjectContentManager. I am able to add a single node using ObjectContentManager , using Pojo1 p1 = new Pojo1 (); p1 .setPath("/p1"); p1 .setName("p_3"); p1 .insert(p1); ocm.save(); Now under this node I want…
Thinker
  • 6,820
  • 9
  • 27
  • 54
5
votes
6 answers

Using which database technology could I persist objects? (Something that does NOT require me to take care of mapping objects to tables and back)?

I need to use an object oriented data repository for a project. It's going to be something between a wiki and a CMS. I'm not an expert in the field of persistence yet. I suppose Hibernate and Jackrabbit are the frameworks to go, right? As far as I'm…
ivan_ivanovich_ivanoff
  • 19,113
  • 27
  • 81
  • 100
4
votes
1 answer

Is it safe to turn off Jackrabbit's indexing feature?

We only use Jackrabbit for storing files, which we are later retrieving using their full path or UUID. Is it safe to turn off the Jackrabbit index in this case? What about Jackrabbit XPath queries, do they use the fulltext index?
nwinkler
  • 52,665
  • 21
  • 154
  • 168
4
votes
3 answers

JCR SQL2 query with dynamic date comparison

I need to query the jcr repository to find nodes where a date property (e.g. jcr:created) is younger than a specific date. Using SQL2, I do the check "jcr:created > date" like that (which works fine): SELECT * FROM [nt:base] AS s WHERE…
nik-8000
  • 113
  • 1
  • 5
4
votes
1 answer

Update content of node in JCR 2.0

I try to update node in JCR 2.0 InputStream content = node.getProperty("jcr:content").getProperty("jcr:data").getBinary().getStream(); //TODO same with stream Binary value = ...; Node contentNode =…
Prevail
  • 57
  • 2
  • 7
4
votes
5 answers

How do I configure custom node definitions in Apache Jackrabbit?

Is there a way that I can configure custom node types for Apache Jackrabbit to be registered when a new repository is instantiated? I am automating my build using Apache Maven and have some unit tests to run with JUnit and integration tests to run…
Brian Matthews
  • 8,506
  • 7
  • 46
  • 68
4
votes
4 answers

JCR Repository available for Junit tests

I have a code accessing to content repositories through JCR API. My code is being developed in OSGI environment. What I want is to have a JCR content repository which should be available while running the unit tests regardless from the environment.…
window
  • 67
  • 5
4
votes
1 answer

Apache Jackrabbit - Duplicate Node?

Using Apache Jackrabbit, I created two nodes at exactly the same path root.addNode("hello"); I was fully expecting the second addition to throw an ItemExistsException as described here, but it didn't. When I print out the path of the nodes to try…
Vinnie
  • 12,400
  • 15
  • 59
  • 80
4
votes
1 answer

JackRabbit persistence managers clarification

I'm trying to decide what type of persistence manager to use for my project. I read this wiki entry about persistenceManagers. First of all, due to JCR-2802 (all non-bundle PM deprecated), there are only…
lisak
  • 21,611
  • 40
  • 152
  • 243
1 2
3
44 45