Ivaylo Kalatchev | 20 Nov 23:29 2014

Memory consumption in JackRabbit 2.9 during workspace.clone()/copy()‏


Hi guys,
I'm evaluating JackRabbit (2.9) for developing a Web Content Management System.
One common scenario would be for end users to create a project (workspace in JCR), make some changes there,
preview, etc. and eventually merge the changes back into the default JCR workspace a few days later. Full versioning.
I'm seeing OutOfMemory errors like below when trying to clone/copy the default workspace. And after
several minutes it fails w/o being able to clone it. Plenty of memory allocated (4GB) to the JVM, noting
else going on there besides this test. The repository itself is not very big, about 100K nodes or so, Oracle
DB used as a back end. The tree is not very flat (less than 100 immediate children per node), 4 levels deep
from the root, each node is 1KB-2KBs in total size, 15 properties or so.
If I change the code to do the workspace clone by copying not the whole tree in one pass but each of the
immediate children of root one by one - it succeeds easily in 5-6 minutes.
Has anyone had good experience with "workspace.copy()" or "workspace.clone()"? How do people usually
create parallel workspaces for concurrent changes in long-lived projects? JCR's workspaces seem like
the obvious choice but issues like these shake my confidence in JackRabbit... And there is no
implementation for deleting work-spaces through the APIs so it doesn't seem to me that people feel the
need for using workspaces that much. Is there a better way to model concurrent projects using JCR (maybe
copying a part of the tree inside of the default workspace and not using multiple workspaces at all?).
As for the OOM errors - I can play with the GC options of the JVM during my evaluation (like
-XX:-UseGCOverheadLimit) to avoid the OOM errors but won't have that luxury in a Production env.
We will have repositories with one to ten million nodes if we reach production with this project. Will
JackRabbit+Oracle backend be up to the task or would Oak+MongoDB be a better choice?
Thx!-------------Exceptions:Exception in thread "jackrabbit-pool-4"
java.lang.OutOfMemoryError: GC overhead limit exceeded	at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.addConditionWaiter(AbstractQueuedSynchronizer.java:1857)	at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2073)	at
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1090)	at
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:807)	at
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)Exception:
java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "jackrabbit-pool-4"
(Continue reading)

mrik009 | 19 Nov 22:23 2014
Picon

Branching

Hi

I am new to Jackrabbit and using it to maintain versioning for collaborative
purposes. Has anyone implemented branching since i have been trying to but
without avail.

Steps
1. checkout a node and wait
2. checkout the same node and checkin the node with some changes
3. now try to checkin the node in step 1

Am i doing it wrong.

--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Branching-tp4661714.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

tessa | 18 Nov 20:45 2014
Picon

when will jackrabbit 2.8.1 be released

Are there any plans to release a version of jackrabbit 2.8.1.
I am asking because 2.8.0 was released May 12th, 2014 and there are lots of
oak versions released.
kind regards for any further information
Tessa

--
View this message in context: http://jackrabbit.510166.n4.nabble.com/when-will-jackrabbit-2-8-1-be-released-tp4661708.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

connuser1 connuser1 | 17 Nov 13:04 2014
Picon

Fetching token key from token node

Hi

If I have the token node in jcr, how can I get the token-key from it? I see
it stored in sha1. For context, I have to authenticate a user using token
credentials.

Thanks
Tarek Jarraya | 12 Nov 11:51 2014
Picon

How to change the admin pwd in declarative way

Hi All,

I am looking how to change the password of the admin user by configuration?

I am using the Jackrabbit 2.8, with web app exposition mode.

Thanks in advance,

Tarek
Amit Jain | 12 Nov 04:54 2014
Picon

[ANNOUNCE] Apache Jackrabbit Oak 1.1.2 released

The Apache Jackrabbit community is pleased to announce the release of
Apache Jackrabbit Oak 1.1.2. The release is available for download at:

  http://jackrabbit.apache.org/downloads.html

See the full release notes below for details about this release.

Release Notes -- Apache Jackrabbit Oak -- Version 1.1.2

Introduction
------------

Jackrabbit Oak is a scalable, high-performance hierarchical content
repository designed for use as the foundation of modern world-class
web sites and other demanding content applications.

Apache Jackrabbit Oak 1.1.2 is an unstable release cut directly from
Jackrabbit Oak trunk, with a focus on new features and other improvements.
For production use we recommend the latest stable 1.0.7 release.

The Oak effort is a part of the Apache Jackrabbit project.
Apache Jackrabbit is a project of the Apache Software Foundation.

Changes in Oak 1.1.2
---------------------

Sub-task

    [OAK-2122] - Make LuceneIndex implement AdvanceQueryIndex
    [OAK-2196] - Implement sorting based on Lucene sorting
(Continue reading)

mmjose26 | 8 Nov 01:07 2014
Picon

File not found after adding a file to repository

Hi, 
I'm facing a strange issue, 

On active/active cluster configuration, I'm trying to configure the
repository with FileJournal as follow:
	
"*node.name*" is different in each cluster node, and "*rep.home*" is a
common NFS visible for all cluster nodes.

a randomly behaviour  occurs (only in cluster mode):

*server1*
[DEBUG - oct/31/14 18:59:10]
[org.apache.jackrabbit.core.ItemManager.cacheItem - 934] caching item
16d9a149-efa6-4b9a-ac8a-b11f3b284a94
[DEBUG - oct/31/14 18:59:10]
[org.apache.jackrabbit.core.ItemManager.cacheItem - 934] caching item
16d9a149-efa6-4b9a-ac8a-b11f3b284a94/{http://www.jcp.org/jcr/1.0}created
[DEBUG - oct/31/14 18:59:11]
[org.apache.jackrabbit.core.ItemManager.cacheItem - 934] caching item
16d9a149-efa6-4b9a-ac8a-b11f3b284a94/{http://www.jcp.org/jcr/1.0}createdBy
[DEBUG - oct/31/14 18:59:11]
[jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.putBundle
- 769] Storing bundle 16d9a149-efa6-4b9a-ac8a-b11f3b284a94
...
*Server2*
[DEBUG - oct/31/14 19:16:32]
[apache.jackrabbit.core.session.SessionState.perform - 213] Performing
item.getPath()
[DEBUG - oct/31/14 19:16:32]
(Continue reading)

Fabián Mandelbaum | 6 Nov 13:23 2014
Picon

JackRabbit website down?

Hello,

I was trying to browse JR website today and it seems to be "down", I cannot
access content, I get a list of files instead.

Known issue? Programmed maintenance? Hack? Something else?

TIA for your answers.

--

-- 
Fabián Mandelbaum
IS Engineer
Herrick, Rick | 5 Nov 15:14 2014
Picon

Jackrabbit site and prospects

We're in the process of working on an archive management system for our medical imaging data platform
(XNAT, http://www.xnat.org). Currently we just manage files on the hosting file system, with all the
issues that implies. We've been considering using Jackrabbit to manage all of the data resources (MRI,
CT, PET and similar imaging data, synthetic data from processing and analysis pipelines, research
subject data, etc.), but we have a few concerns.

There doesn't seem to have been too much activity on this list, most of the articles on the Jackrabbit
articles page are from 2011 and earlier, and most of the Jackrabbit news is actually about Oak.

So is Jackrabbit still an on-going and supported platform? Should we be looking at Oak instead? Basically
we don't want to embark on a full-blown development effort on something that may not be maintained. Or is
just that, because this is a back-end technology, there's just not that much traffic and that's actually a
GOOD thing (i.e. it's basically done and it works and no one complains)?

Any thoughts on this would be very helpful and greatly appreciated. Thanks!

--
Rick Herrick
Sr. Programmer/Analyst
Neuroinformatics Research Group
Washington University School of Medicine
(314) 740-5961

________________________________

The material in this message is private and may contain Protected Healthcare Information (PHI). If you are
not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of
any action in reliance on the contents of this information is strictly prohibited. If you have received
this email in error, please immediately notify the sender via telephone or return mail.
(Continue reading)

Alex Parvulescu | 4 Nov 15:46 2014
Picon

[ANNOUNCE] Apache Jackrabbit Oak 1.0.8 released

The Apache Jackrabbit community is pleased to announce the release of
Apache Jackrabbit Oak 1.0.8. The release is available for download at:

    http://jackrabbit.apache.org/downloads.html

See the full release notes below for details about this release.

Release Notes -- Apache Jackrabbit Oak -- Version 1.0.8

Introduction
------------

Jackrabbit Oak is a scalable, high-performance hierarchical content
repository designed for use as the foundation of modern world-class
web sites and other demanding content applications.

Apache Jackrabbit Oak 1.0.8 is a patch release that contains fixes and
improvements over Oak 1.0. Jackrabbit Oak 1.0.x releases are considered
stable and targeted for production use.

The Oak effort is a part of the Apache Jackrabbit project.
Apache Jackrabbit is a project of the Apache Software Foundation.

Changes in Oak 1.0.8
--------------------

New Features

   [OAK-1915] TarMK Cold Standby
   [OAK-2005] Use separate Lucene index for performing property related
(Continue reading)

Tom Barber | 29 Oct 10:24 2014

Writing from Webdav with mixins

Hi guys

I tried this a while ago, but I'll ask again to see if I can get some 
pointers.

I use Jackrabbit with Mixins to help provide search functionality and 
file segregation, but I'm also interested in offering power users Webdav 
access to make their lives easier.

If you create a Webdav servlet is it possible to write files to the 
repository with a mixin applied?

Thanks

Tom
--

-- 
*Tom Barber* | Technical Director

meteorite bi
*T:* +44 20 8133 3730
*W:* www.meteorite.bi | *Skype:* meteorite.consulting
*A:* Surrey Technology Centre, Surrey Research Park, Guildford, GU2 7YG, UK

Gmane