jcr Questions

5

Solved

I just downloaded and started Jackrabbit using: java -jar jackrabbit-standalone-2.4.0.jar When I call the populate.jsp, I get this error: Error while accessing the repository: LoginModule ig...
Meill asked 2/4, 2012 at 15:8

2

Working with a JCR-SQL2 query I noticed that the CONTAINS operator finds nodes which do not have exactly the same string that was in the condition. Example The following query: SELECT * FROM [n...
Detestable asked 3/1, 2018 at 12:37

1

I am investigating a slow login time and some profile synchronisation problems of a large enterprise AEM project. The system has around 1.5m users. And the website is served by 10 publishers. The ...
Puryear asked 23/3, 2019 at 13:0

2

I'm sorry if this sounds stupid, but what's the difference between Jackrabbit and Oak? I'm looking into JCR170, specifically how to migrate content between two jackrabbit installations, and I've co...
Nunhood asked 29/3, 2018 at 13:27

3

What is the significance of having 2 separate last modified dates(jcr:lastModified and cq:lastModified)? Is there a scenario where one of the dates gets updated and second one not. Cant we live wit...
Elfriedeelfstan asked 15/4, 2016 at 9:10

2

Solved

I read a lot of articles like JCR vs Apache Sling and I'm confused about what to use. Some authors advise to use JCR API like more performance optimized and the rest are on the side of Apache Sling...
Blasting asked 28/7, 2017 at 14:45

3

Solved

I just familiarized myself with Apache JackRabbit. I've done a little multi-user repository for document management. If anybody used both of them, could you please answer these questions ? Is Mo...
Handlebar asked 17/6, 2011 at 23:32

3

Solved

I have a Sling Resource object. What is the best way to set or update its property?
Obala asked 9/7, 2014 at 20:17

3

I know how to search for something in the JCR via JCR SQL2 queries. However, I would like to use Java in certain cases, using the JCR API: javax.jcr.Node, javax.jcr.NodeIterator and the like. I'm...
Hollenbeck asked 21/12, 2016 at 16:11

1

I am attempting to grab multiple nodes of the same type from different areas in the jcr and order them by a date. SELECT * FROM [social:asiResource] WHERE [sling:resourceType] = 'social/qna/compo...
Eadwina asked 15/3, 2017 at 21:38

2

Solved

I'm ussing the Appache Jackrabbit JCA 2.7.5, the problem is that files .docx and .xlsx is not indexed. My steps : Deploy the Jackrabbit JCA as resource adapter on glassfish create a Connector C...
Vertumnus asked 12/10, 2015 at 14:51

2

Solved

I have a component with properties as follows. @Component(immediate = true, metatype = true, label = "Conf Details") @Service(value = { LocationConfigurationUtil.class }) @Properties({ @Property(...
Bursar asked 1/3, 2016 at 6:41

1

I'm aware of how AEM creates cookie called "login-token" after successful authentication . My question is how AEM validates this cookie in each request? Is there any filter available to intercept ...
Asp asked 12/2, 2016 at 9:6

2

Solved

I have component hierarchy parsys -> parentcomp -> childcomp parentcomp node has some properties. I am trying to access parent parentcomp properties at childcomp level. I am not sure how to...
Tetrode asked 28/12, 2015 at 19:34

0

I'm trying to get full-text search working with modeshape. I'm particularly interested in ranked results based on lucene index. Here is my repository configuration "indexProviders": { "lucene": ...
Gipsy asked 3/12, 2015 at 7:22

2

Solved

I wanted to know if there is a way to get the rendered HTML output of a Page node in CQ5 without hitting the actual url. I have the Page node and I want to get the rendered HTML output of that Page...
Inveteracy asked 21/9, 2015 at 8:18

3

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 propert...
Equidistant asked 22/5, 2013 at 17:33

1

Solved

I'm working with sling models for a project in AEM. I have my sling model setup to inject values to variables. I can setup getters to retrieve properties from the adapted resource as long as the pr...
Carpus asked 5/2, 2015 at 23:43

3

Solved

I am just curious to know what is the difference between jcr:primaryType and jcr:mixinTypes, and why exactly does jcr:mixinTypes is used ? what does it signifies ? If you check /content/dam folder ...
Mohler asked 15/4, 2014 at 9:34

1

Solved

I have created and deployed a bundle(Servlet) successfully that accepts username and password from user, now I want to save it in JCR Repository under /content/mydata/ I am getting Exception java....
Heinrich asked 3/4, 2014 at 5:20

1

Solved

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. B...
Triceps asked 12/3, 2014 at 3:0

1

Solved

I am new to Apache Sling, CQ5, etc. In our codebase, we have a code snippet similar to this: void perform(SlingHttpServletRequest request, SlingHttpServletResponse response) { ResourceResolver r...
Candycecandystriped asked 12/2, 2014 at 0:11

2

Solved

I use an application where we can manipulate JCR nodes, typically you would rename, remove, delete, or else move them. Using the JCR API, I can access the nodes in my repository and return a set o...
Tinker asked 7/6, 2013 at 8:54

5

Solved

In Jackrabbit I have experienced two ways to save my POJOs into repository nodes for storage in the Jackrabbit JCR: writing my own layer and using Apache Graffito Writing my own code has pro...
Clangor asked 16/12, 2008 at 6:0

2

Solved

I have created the node and created 3 versions. String path = "/my111"; MyClass m1 = new MyClass(); m1.setPath(path); m1.setName("Myname"); m1.setLanguage("English"); ocm.create(m1); ocm.save(); ...
Hellbox asked 20/12, 2012 at 8:30

© 2022 - 2024 — McMap. All rights reserved.