jackrabbit

How do you backup an apache Jackrabbit repository without shutting Jackrabbit down?

When running Apache Jackrabbit JCR as an embedded service in your app, is there a quick way to get a sound and consistent backup of the contents of the Jackrabbit repository without shutting Jackrabbit down? If so how? ...

What is the best way to save my POJOs into Jackrabbit JCR?

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 proven time consuming and labor intensive (had to write and run a lot of ugly automated tests) though quite flexible. Using Graffito has been a...

Is there a tool to directly edit the contents of a Jackrabbit repository ?

I have a file system based Jackrabbit repository which I would like to view and edit directly. Is there an existing tool that allows me to view/edit/delete/add nodes directly? ...

Best way to import/export a Apache Jackrabbit repository

What is the best way to import/export data from a Apache Jackrabbit repository? Right now, I have a website based on a repository with over 100GB data in a server but I frequently need to take a subset of this data in my notebook for in-loco demonstrations. How can I do this in the easiest and fastest way? ...

ATG taglibs on OSGI problems

We're currently creating an app that needs ATG taglibs on SLING/OSGI, we have created a bundle with these taglibs and uploaded it, of course these taglibs call ATG classes, so we are including them in the bootdelegation, using sling.properties file. sling.bootdelegation.simple=atg.nucleus sling.bootdelegation.class.atg.nucleus.Nucleus=a...

Why is skipping nodes from a query very slow in jackrabbit?

When I perform a simple query like this: select * from nodeType Calling skip(N) on the range iterator is slow. What am I doing wrong? ...

JCR 170 Data modeling: Node names

The situation: Lets say we are implementing a blog engine based on JCR with support for localization. The content structure looks something like this /blogname/content/[node name] The problem: What is the best way to name the content nodes (/blogname/content/[nodename]) to satisfy the following requirements: The node name must be us...

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 with Jetty and want to be able to easily set-up and tear-down a test repository. ...

How do I register a server in the default RMI registry for JBoss and access it from a client running in another JVM?

I am trying to access a Jackrabbit repository deployed on a JBoss application server via RMI. I am getting the following exception when I try to connect to the factory using ClientRepositoryFactory.getRepository('rmi://xxx.xxx.xxx.xxx:1099/imageserver'). But if I create a web application that starts a new RMI registry on the server with...

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

Hello! 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 informed correctly, Jackrabbit does not support annotations or other convenienc...

Does anybody know a good and easy JCR UI management Tool?

I'm importing massive data into a JackRabbit JCR repository. A good UI management tool to visualize the JCR repository would be great to check if the imported data is in a good layout, and also would make my life as developer easier. ...

CMS vs Filesystem storage id scalability

Hi, 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 variables: client document type image folder actual image See below: C:\<client_id>\<doc_type_id>\i...

Handle InvalidItemStateException in jackrabbit

We are now experiencing a number of InvalidItemStateException in our web application caused by 2 or more users updating the same content. As far as I understood it is in design of JackRabbit to throw javax.jcr.InvalidItemStateException in such situation and that's ok, but I wanted to ask about the common way to handle that. We are fairly...

Is it possible to assess Jackrabbit repository using plain HTTP?

As I understand it should be natively available in Jackrabbit 1.6 (I've found this blog entry http://dev.day.com/microsling/content/blogs/main/jrnativehttp.html) but I can not find any example configuration. ...

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, making it an infinite loop. Is there something I can do about it? ...

Java JCR how to change order of nodes?

Hi, I am using Jackrabbit with JCR, how can I change the order of the nodes? ...

Extend JackRabbit or build up from Lucene?

I've been working on a site idea the general concept is a full text search of documents that also allows user ratings based on these rating I wanted to boost the item's value in the Lucene index. But I'm trying to find if I should extend JackRabbit or just build from the Lucene base. Is there any good way to extend JackRabbit in this way...

Jackrabbit Observation with Spring

Hi All, I am new to observation, although the repository supports observation, onEvent() is never invocked. Here're the details: I created a Param class, and it's just a POJO with setters and getters hasing properties that each represents a parameter for: ObservationManager.addEventListener() I careted an interface XListener that e...

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 it can (really??) be considered save regarding concurrency. My problem is that everythin...

Any good reference for JQOM?

Apache Jackrabbit includes some sort of database/archive query mechanism called JQOM. Where is a good place to start learning about what it is and how it works? Thanks in advance. ...