jackrabbit

Clustering Pentaho C.E. 5.x with Jackrabbit repository

好久不见. 提交于 2019-12-25 06:37:32
问题 I'm trying to run several Pentaho BI CE server instances atop of a clustered PostgreSQL Database. Pentaho Clustering guide on clustering(Cluster the Application Server) says that I should keep the contents of Jackrabbit per-node configurations the same Your application nodes all need the same configurations and BA deployments installed already in order for clustering to work. and then I only need to configure Jackrabbit's journal to specify unique node ids. <Cluster id="Unique_ID "> <Journal

Store Images to display in SOLR search results

早过忘川 提交于 2019-12-24 09:04:21
问题 I have built a SOLR Index which has the image thumbnail urls that I want to render an image along with the search results. The problem is that those images can run into millions and I think storing the images in index as binary data would make the index humongous. I am seeking guidance on how to efficiently store those images after rendering them from the URLs , should I use the plain file system and have them rendered by tomcat , or should I use a JCR repository like Apache Jackrabbit ? Any

Is there a way to format multi-valued properties vertically in a Jackrabbit filevault xml doc?

十年热恋 提交于 2019-12-24 07:48:42
问题 We use FileVault xml files in a git repo to configure our custom OSGi services running in our Adobe Experience Manager instance. This works out really well in many cases, but it seems like we have to list multi-valued properties horizontally, in a comma-only-separated string, like this: <?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="sling:OsgiConfig" aLongMultiValuedProperty="[first

Is there a way to format multi-valued properties vertically in a Jackrabbit filevault xml doc?

非 Y 不嫁゛ 提交于 2019-12-24 07:48:19
问题 We use FileVault xml files in a git repo to configure our custom OSGi services running in our Adobe Experience Manager instance. This works out really well in many cases, but it seems like we have to list multi-valued properties horizontally, in a comma-only-separated string, like this: <?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="sling:OsgiConfig" aLongMultiValuedProperty="[first

How to create repository instance in JackRabbit Oak using MicroKernel

半腔热情 提交于 2019-12-24 02:25:07
问题 According to JackRabbit Oak official documentation, one of the ways of creating Repository instance is to create a MicroKernel object and pass it to JCR's parameterized constructor like this: MicroKernel kernel = ...; Repository repository = new Jcr(kernel).createRepository(); But looking at the JCR class javadocs, i can't find any constructor which takes an object of type MicroKernel . So my questions is : How can we get a repository object using MicroKernel in JackRabbit Oak( not JackRabbit

How to make file READ ONLY when exposed through WebDAV

为君一笑 提交于 2019-12-22 18:24:44
问题 I'm using jackrabbit implementation of WebDAV. There is a user who doesn't have write permission to a folder. That user is able to open the file in desktop applications and able to edit. When the user does save, the server is rejecting the changes but the client is still having those changes, though after the re-mount, these changes will be gone. So, I'm looking for the answers to the following questions: Is there a way to make files/folders READ-ONLY when mounted through a WebDAV? Does

Clustering with Jackrabbit

孤者浪人 提交于 2019-12-22 13:53:22
问题 I am about to get started with clustering a jackrabbit repository run by hippocms in the community version . I got it up and running but some parts of configuration I don't understand. I understood the concept of clustering jackrabbit this way: You have e.g. two instances with two local repositories which get synched by a rocket-scienced journal via a shared database, but every node is using it's local repository. After reading the following pages I ended up with the following configuration.

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

痴心易碎 提交于 2019-12-22 04:24:06
问题 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? 回答1: See BackupAndMigration on the Jackrabbit Wiki for a list of options. I would recommend to use XML export (system view), as it is the simplest solution. Also, because it is part of the JCR standard, so it should work on other JCR implementations as well. Note that this

Transactions in Apache Jackrabbit and Spring

时光总嘲笑我的痴心妄想 提交于 2019-12-21 23:43:00
问题 I want to run transactions on my Spring webapp which uses Apache Jackrabbit repository. JackRabbit then uses relational database (MySQL/PgSQL) for text data. Binary data are stored to FileSystem. So far I have this functional configuration of Jackrabbit beans: <bean id="sessionFactory" class="com.example.MyJcrSessionFactory"> <constructor-arg index="0" ref="repository"/> <constructor-arg index="1" ref="jcrCredentials"/> </bean> <bean id="repository" class="org.apache.jackrabbit.core

jackrabbit-standalone-2.4.0.jar Populate does not work

雨燕双飞 提交于 2019-12-21 07:14:18
问题 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 ignored Credentials Check the configuration or use the easy setup wizard. When I click easy setup wizard link, I get this: HTTP ERROR 404 Problem accessing /admin/. Reason: NOT_FOUND Is there something wrong with this Jackrabbit build? 回答1: It appears that the implementation has changed but the documentation