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

Adding a node into Jackrabbit Repository which has a HashMap Object as a property

I want to add a node in jackrabbit Repository which has a property holding a HashMap object. What property type should be used and how It should be done?
Vaibhav Raj
  • 2,214
  • 4
  • 23
  • 39
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

Modeshape 2.8 programmatic configuration

Hi i what to do a programmatic configuration of repository, because most of the parameter for configuration in repository can only determine in run time. Seems like i am unable to use anonymous credential when im try to print the session it throws…
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
1 answer

Modeshape querying mixinTypes

I'm using Modeshape and modeshape-connector-jdbc-metadata. I want to get all nodes representing tables in the storage. That nodes have [mj:catalog] mixin type. I'm querying storage using next code: public List getDatabases() throws…
Gregory Kalabin
  • 1,760
  • 1
  • 19
  • 45
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

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

Purging Jackrabbit data

After a couple of months of using our application (which internally uses Jackrabbit 1.6.4 to store documents), the customer's database (Oracle) already has more than 6 million rows in the VERSION_BUNDLE table - some of our data is using the…
nwinkler
  • 52,665
  • 21
  • 154
  • 168
0
votes
2 answers

Application Design Document DB

I must develop an application that uses a un DB, and that is structured in this mode: there are metadata tables(Document Type, Document Attributes...) starting from Metadata Tables are created/modified (also during the normal application- lifecycle…
0
votes
1 answer

How can I query delimited text content using Modeshape?

I've read through the reference guide and the forums looking for a way to get to the data stored in a delimited (CSV) file using JCR and haven't found a solution yet. I've read that it's possible to access the underlying data as well as the…
max
  • 2,346
  • 4
  • 26
  • 34
0
votes
1 answer

jcr sorting and pagination based on name, file size,etc

We are using apache jackrabbit to store content (html,image,pdfs) as follows: /folder1 (nt:unstructured) /content1(nt:unstructured) /file(nt:folder) /test.html(nt:file) /test.html-contents…
sfbay
  • 23
  • 1
  • 8
-1
votes
1 answer

What is a Resource Resolver API interface in AEM? What is it's significance

What exactly are resources and resource resolvers. Can you please elaborate the same and essential terms relating to it? Wanted to know how resource resolver works and if possible it's usage with an example.
Manasi
  • 3
  • 1
-1
votes
1 answer

Jackrabbit oak : Not able to set VersionGCOptions

I am using JackRabbit Oak(1.22.3) implementation for deleting nodes using Version garbage collection. I am setting below custom values for garbage collection. VersionGCOptions versionGCOptions = new…
abn
  • 41
  • 1
  • 8