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
3
votes
1 answer

Use of MixinTypes in JCR

I was trying to understand the concept of MixinTypes in JCR, What i red "Mixin node types usually specify additional properties or child nodes related to a capability being added to the node" but it seems some unclear, I am looking for simple…
Vivek Dhiman
  • 1,967
  • 6
  • 46
  • 82
3
votes
2 answers

How to escape dynamically generated String values in a JCR SQL2 query?

Let's pretend I have a JCR 2 query string that is made like this: String sql2Query = "SELECT * FROM [cq:PageContent] " + "WHERE [aProperty] <> \" + aValue + "\""; Are there helper methods using which I can escape aValue? By the…
Behrang
  • 46,888
  • 25
  • 118
  • 160
3
votes
2 answers

How to integrate login module with external user system exposed as RESTful API in AEM 6.0?

I'm researching how to integrate or custom login module in order to work with external user system exposed as RESTful API. I saw AuthenticationHandler interface but it seems that it only extracts credential from user request. Then build and send the…
Ha Doan
  • 135
  • 1
  • 11
3
votes
1 answer

How to create repository instance in JackRabbit Oak using MongoMK

I am trying to Create a Oak's JCR repository to store content with " Apache Oak over MongoDB". (which i have absolutely no idea) Here's what iv'e been doing. MongoClient connection = new MongoClient("127.0.0.1", 27017); DB db =…
chaty
  • 41
  • 8
3
votes
1 answer

How SlingAuthenticationHandler talks to CRXLogin module

I read about this point here. But after I could not figure out how the AuthenticationInfo object is passed to CRXLoginModule . What I have understood the flow of SlingAuthenticationHandler is as follows - SlingAuthenticator calls the…
Pakira
  • 1,951
  • 3
  • 25
  • 54
3
votes
1 answer

Set a CQ5 component to editable or not editable

Is it posible if i want to set a cq5 component editable in page A, but not editable in page B. For example: at page A, i have C component we allow authors to open dialog and edit the component. But we do not allow authors to open dialog to edit…
Tien Nguyen
  • 4,298
  • 9
  • 30
  • 44
3
votes
1 answer

Connect multiple JCR repositories to one database (and keep updated)

I am a little bit stuck in the moment because I don't know if my problem is solvable at all. I have one database (MySQL) where a JCR repo is stored. Secondly do I have two webapps (edit/live) that share this data. Live is designed to read only, so…
flos
  • 123
  • 1
  • 1
  • 9
3
votes
1 answer

JCR basic concepts

I have been recently working with Magnolia CMS which happens to use JCR. One of the problems I have face is JCR data corruption and I found that I had very little knowledge of how to troubleshoot the situation. My understanding of JCR is as…
Juan Antonio Gomez Moriano
  • 13,103
  • 10
  • 47
  • 65
3
votes
1 answer

How to switch workspace in jackrabbit-standalone command line (cli)?

How do I switch workspace in jackrabbit-standalone command line client? I have version 2.4.3. I connect like this: java -jar jackrabbit-standalone-2.4.3.jar --cli rmi://localhost:1100/jackrabbit It logs me as anonymous, so I switch to admin like…
Jan Święcki
  • 1,611
  • 2
  • 16
  • 28
3
votes
2 answers

Logging into Jackrabbit with custom LoginModule

I am trying to write a LoginModule that authenticates users with Jackrabbit repository. However, I want it to check the credentials that are stored in repository itself. So the problem is, in my LoginModule I have to connect to the repository again,…
pitr
  • 715
  • 1
  • 8
  • 25
3
votes
1 answer

How do I use Jackrabbit when it is part of a global transaction?

I am using Jackrabbit with datastore and a separate database for the rest of my data. I have deployed Jackrabbit JCA to JBoss 7.1.1. I have debugged the application and I see that the session instance is of type XASessionImpl. I am currently…
LuckyLuke
  • 47,771
  • 85
  • 270
  • 434
3
votes
4 answers

Accessing resource data from JCR repo

Using sling resource interface I am trying to get access the data saved as a binary property to my JCR node. Currently I am doing it in the following ways , which is returning me a null value. Resource dataResource =…
Raja
  • 305
  • 2
  • 4
  • 14
3
votes
1 answer

Jackrabbit locks up with many open ACEs

I am running into an issue where a lot of processes block due to having more than 1000 access control entries active at a time; this is a known issue in Jackrabbit; a work-around has been identified and rolled out into 2.4.1, but CQ 5.5 / CRX 2.3…
TML
  • 12,813
  • 3
  • 38
  • 45
3
votes
1 answer

apache camel jcr jackrabbit

I'm new in camel world and I have problems making a connection with the jcr component. look at my test code: import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.jcr.JcrConstants; import…
sjdms265
  • 157
  • 2
  • 9
3
votes
3 answers

CMS vs Filesystem storage id scalability

Please consider the following: I am storing around 1.2 Million TIF files ranging from 40 KB to 120 KB in size. These documents are stored on a windows server with NTFS file-system. The documents are stored using the following…
Koekiebox
  • 5,793
  • 14
  • 53
  • 88