Questions tagged [jcr]

JCR is an acronym for Java Content Repository: an API and object database of hierarchical data mainly used by content management systems. Apache Jackrabbit is an open source implementation; there are several commercial products.

JCR is an acronym for Java Content Repository: an API and object database of hierarchical data mainly used by content management systems. Apache Jackrabbit and ModeShape are open source implementations. There are several commercial products such as Adobe CRX

Links

784 questions
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

How much does CMIS specification cover JCR specification?

I'm planning to use openCMIS (apache chemistry project) with my JCR repository via JCR bridge. But there is a lack of documentation for this. Apart from CRUD of files from/to JCR repository which I just did, what about Node properties ? JCR mixins,…
lisak
  • 21,611
  • 40
  • 152
  • 243
4
votes
1 answer

JCR SQL2 query: binding of ISDESCENDANTNODE param

I'm writing a JCR SQL2 query that lists all the nodes of given type that are descendants of a certain path. When I write my query like this: Query query = queryManager.createQuery( "SELECT * FROM [cq:PageContent] where…
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
4
votes
1 answer

Persisting various types of documents (ods, ms office, pdf) into Jackrabbit repository

I'm not sure what approach to choose for storing those types of documents because the key requirement is to gather as much metadata as possible and pdf, ods and MS office documents have various types of metadata ... So that if the node tree has a…
lisak
  • 21,611
  • 40
  • 152
  • 243
4
votes
3 answers

JCR-SQL - contains function doesn't escape special characters?

I have the following query string: SELECT jcr:title, jcr:created, jcr:description FROM cq:PageContent WHERE jcr:path LIKE '/content/.../%' AND CONTAINS (., '*') ORDER BY date ASC The problem is that the query is returning all nodes from the given…
4
votes
4 answers

CMS - Alfresco, Magnolia, Drupal and Joomla Comparison

I am comparing Alfresco, Magnolia & Joomla especially specific to following features: a. Ease of Integration of user created templates. b. JCR (JSR-170?) or CMIS compliance. c. Scalability in architecture. d. Mobile site deployment. …
happyfeet
  • 133
  • 1
  • 2
  • 8
4
votes
1 answer

How do I setup Jackrabbit Repository.xml for 2 Nodes with Shared NFS Mount?

I'm having a lot of trouble trying to get my repository.xml correct for a 2 node configuration using a shared NFS mount. Should I be using a DB persistence manager for both the PersistenceManager and Journal? I find the Apache Jackrabbit Wiki…
cmar
  • 161
  • 2
  • 6
4
votes
2 answers

AEM Query builder search where property 'does not' exist

I need o do a search in AEM query builder and tying to only fetch the tags that have not been moved to a new location. The only property added to the old tags is the "cq:movedTo" which has the path to the new location. But when I try to search the…
Riju Mahna
  • 6,718
  • 12
  • 52
  • 91
4
votes
2 answers

what is the JCR role in the AEM technology stack.?

I can see in AEM technology stack there are multiple frameworks like OSGi, JCR, CRX, Granite. but am unclear about the usage and the involvement of JCR vs CRX. Can anybody explain me whats the role of JCR & CRX in AEM?
krish
  • 469
  • 1
  • 15
  • 34
4
votes
1 answer

Jackrabbit unclosed session detected on AccessDeniedException but session is null

I'm working with Jackrabbit 2.13.1. Why AccessDeniedException causes session leak? try { session = repository.login(creds); //here are creds for user without permissions, just for testing } catch (Throwable t) { …
MGorgon
  • 2,547
  • 23
  • 41
4
votes
2 answers

Deploy Magnolia CMS without installing it

I'am just starting with magnolia and at the very beginning it surprised me that Magnolia needs to be installed after each .war deploy to tomcat. I do some changes in my project, deploy it with mvn tomcat7:deploy/redeploy. Tomcat automatically…
mickiewicz
  • 279
  • 2
  • 13
4
votes
1 answer

Adobe CQ6 - Runaway ContentFinder

Starting on 1/13, our Adobe CQ6.0 SP1 error logs started filling up with: GET /bin/wcm/contentfinder/product/view.json/etc/commerce/products HTTP/1.1] org.apache.jackrabbit.oak.plugins.index.property.strategy.ContentMirrorStoreStrategy Traversed…
Shanti
  • 61
  • 5
4
votes
2 answers

Debugging Sling/Sightly server-side JavaScript

I am trying to debug JavaScript that is stored in the JCR and run on the server with Rhino, by the Sightly templating language's JavaScript UseAPI. As per the instructions provided in sling.properties: # To enable the current server side debugging…
Alasdair McLeay
  • 2,572
  • 4
  • 27
  • 50