Marcel Reutegger | 30 Jun 08:54 2015
Picon

[ANNOUNCE] Apache Jackrabbit Oak 1.0.16 released

The Apache Jackrabbit community is pleased to announce the release of
Apache Jackrabbit Oak 1.0.16. 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.16

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.16 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.

New configuration options since Oak 1.0.15
------------------------------------------

The DocumentNodeStore has a new system property, which controls the time a
commit tries to acquire the merge lock: -Doak.maxLockTryTimeMultiplier=30
The default value is 30 and roughly translates to 60 seconds. See OAK-2762
and OAK-2823 for more details.
(Continue reading)

Davide Giannella | 25 Jun 15:43 2015
Picon

[ANNOUNCE] Apache Jackrabbit Oak 1.3.1 released

The Apache Jackrabbit community is pleased to announce the release of
Apache Jackrabbit Oak 1.3.1. 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.3.1

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.3.1 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.2.x
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.3.1
--------------------

Sub-task

    [OAK-2410] - [sonar]Some statements not being closed in
(Continue reading)

Frederic Gilbart | 21 Jun 17:49 2015
Picon

Oak <at> PreDestroy : dispose and close DocumentNodeStore or SegmentNodeStore with same interface

Hi all,

I try to close all Oak resources when my webapp stops using a  <at> PreDestroy.

I either use a DocumentNodeStore or a SegmentNodeStore for the application, and I keep a reference using NodeStore.

For DocumentNodeStore I believe the .dispose() is right.

On the opposite SegmentNodeStore does not offer such a dispose() (nor a .getBlobStore() as the
DocumentNodeStore does which seems handy).
So I also keep another reference on the underlying BlobStore which requires a cast to implementation to be
closed : DataStore interface offers the .close() but BlobStore doesn't, so I can't close any 
AbstractBlobStore, FileBlobStore; etc...

When I stop webapp using Tomcat8 manager (Stop/Start), then start it I find following log :

Caused by: java.io.IOException: Could not remove broken tar file C: \DEV\repository\oak\data00021a.tar
        at
org.apache.jackrabbit.oak.plugins.segment.file.TarReader.backupSafely(TarReader.java:179) ~[oak-core-1.2.2.jar:1.2.2]
        at org.apache.jackrabbit.oak.plugins.segment.file.TarReader.open(TarReader.java:132) ~[oak-core-1.2.2.jar:1.2.2]
        at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.<init>(FileStore.java:359) ~[oak-core-1.2.2.jar:1.2.2]
        at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.<init>(FileStore.java:82) ~[oak-core-1.2.2.jar:1.2.2]
        at
org.apache.jackrabbit.oak.plugins.segment.file.FileStore$Builder.create(FileStore.java:292) ~[oak-core-1.2.2.jar:1.2.2]
        at fr.capsiel.startup.config.OakConfiguration.getRepository(OakConfiguration.java:60) ~[aladin-oak-3.0.0-SNAPSHOT.jar:na
]
        at
fr.capsiel.startup.config.OakConfiguration$$EnhancerBySpringCGLIB$$ca54aa3d.CGLIB$getRepository$0(<generated>) ~[spri
ng-core-4.0.9.RELEASE.jar:na]
        at fr.capsiel.startup.config.OakConfiguration$$EnhancerBySpringCGLIB$$ca54aa3d$$FastClassBySpringCGLIB$$e557a109.invoke(
(Continue reading)

lukasz wyspianski | 19 Jun 18:02 2015
Picon

jackrabbit-webapp-2.10.1.war issue with tomcat7

Hi,

I am having an issue deploying *jackrabbit-webapp-2.10.1.war on tomcat7*
(pls see the trace below). I didn't have any problems deploying
*jackrabbit-webapp-2.10.1.war
on tomcat6* nor deploying *jackrabbit-webapp-2.8.1.war on tomcat7* (but
probably because 2.8.1 does not contain protectedHandlers.properties in
web.xml).

The class protectedHandlers.properties points to can be found in
jackrabits' lib - any ideas?

Bregards,
Lukasz

*015-06-19 17:47:09.095 ERROR [localhost-startStop-1]
ProtectedRemoveManager.java:97
/WEB-INF/protectedHandlers.propertiesjava.lang.ClassNotFoundException:
/WEB-INF/protectedHandlers.properties*
        at java.lang.Class.forName0(Native Method) ~[na:1.7.0_79]
        at java.lang.Class.forName(Class.java:191) ~[na:1.7.0_79]
        at
org.apache.jackrabbit.server.remoting.davex.ProtectedRemoveManager.createHandler(ProtectedRemoveManager.java:91)
[jackrabbit-jcr-server-2.10.1.jar:na]
        at
org.apache.jackrabbit.server.remoting.davex.ProtectedRemoveManager.<init>(ProtectedRemoveManager.java:63)
[jackrabbit-jcr-server-2.10.1.jar:na]
        at
org.apache.jackrabbit.server.remoting.davex.JcrRemotingServlet.init(JcrRemotingServlet.java:275)
[jackrabbit-jcr-server-2.10.1.jar:na]
(Continue reading)

Frederic Gilbart | 19 Jun 15:38 2015
Picon

Oak Node and Blog storages Repository samples

Hi all,

I'm trying Oak 1.2 after years on Jackrabbit, and I'm not sure to fully understand some of new concepts.

So I work on jUnit test to check all implementations: Segment and Document + BlogStore.
Should be easy but...I miss some points. I'm not using OSGi nor Mongodb.

Tests try to get a javax.jcr.Repository object for each combination, then, to be short:
. Login/logout
. Register CND/namespace
. Add a node hierarchy
. Add a File with properties
. Query with available languages (Jack had many (XPATH, SQL2..,) not yet on this step for Oak)

If I well-read documentation I have first to choose a NodeStore implementation either Segment or
Document, then optionally a BlogStore, depending of first choice, lot of possibilities, but can't
really find how to create each of them.

From http://jackrabbit.apache.org/oak/docs/plugins/blobstore.html, could someone help providing
some information how with java code:
. Create a DocumentNodeStore using FileDataStore and FileBlobStore
. Create a DocumentNodeStore using S3DataStore

I got this for SegmentNodeStore, but can't find a way for DocumentNodeStore :

         <at> Test
        public void testSegmentNodeStoreWithFileBlobStore()
                        throws RepositoryException, IOException {
                File directory = new File("./target/SegmentStore");
                SegmentStore store = FileStore.newFileStore(directory)
(Continue reading)

prasad | 19 Jun 13:24 2015

Is there a way/path to move from Model2 to Model1 with out loosing the data?

Hi All,

I am trying to find a way to move from my existing database from Model2 to
Model1. Currently I have two workspaces in the existing environment admin
and workflow. The global table names starts with "PBVP_" and workspace table
names start with "PBVP_workflow" and "PBVP_admin". When I move to new to
Model1 I have two repositories admin and workflow each have their own
repository.xml and their own global database names. For example for admin
the global database names starts with "Admin_".

When I switched to Model1, I lost all my old data because the table names
are changed now. 

Is there a way/path  to move from Model2 to Model1 with out loosing the
data?  

Thanks,
Prasad

--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Is-there-a-way-path-to-move-from-Model2-to-Model1-with-out-loosing-the-data-tp4662593.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Davide Giannella | 15 Jun 16:05 2015
Picon

[ANNOUNCE] Apache Jackrabbit Oak 1.3.0 released

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

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

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

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.3.0 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.2.x
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.3.0
-----------------------

Sub-task

    [OAK-1860] - unit tests for concurrent DocumentStore access
    [OAK-2630] - Cleanup Oak jobs on buildbot
    [OAK-2700] - Cleanup usages of mk-api
    [OAK-2701] - Move oak-mk-api to attic
    [OAK-2702] - Move oak-mk to attic
    [OAK-2713] - High memory usage of CompactionMap
(Continue reading)

Thorsten Ottosen | 10 Jun 18:28 2015

QueryObjectModelFactory and query that tests for child node existence

Hi all,

I've been trying to test if a node P has a child node called C since I 
need to get a list of P nodes that either has no child node C or a child 
node C with a certain property. I think I got the last part correct, but 
the first part is tricky.

   QueryObjectModelFactory.childNode()

is difficult to use since it wants an absolute path.

   QueryObjectModelFactory.propertyExistence()

is fine for properties, but there seem to be no equivalent for child nodes.

Does anyone on this list have any ideas?

Thanks in advance

Thorsten

Davide Giannella | 4 Jun 15:37 2015
Picon

[ANNOUNCE] Apache Jackrabbit 2.8.1 released

The Apache Jackrabbit community is pleased to announce the release of
Apache Jackrabbit Oak ${version}. 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 -- Version 2.8.1

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

This is Apache Jackrabbit(TM) 2.8.1, a fully compliant implementation of the
Content Repository for Java(TM) Technology API, version 2.0 (JCR 2.0) as
specified in the Java Specification Request 283 (JSR 283).

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

Security advisory (JCR-3883 / CVE-2015-1833)
--------------------------------------------

This release fixes an important security issue in the jackrabbit-webdav
module
reported by Mikhail Egorov.

When processing a WebDAV request body containing XML, the XML parser can be
instructed to read content from network resources accessible to the host,
identified by URI schemes such as "http(s)" or  "file". Depending on the
(Continue reading)

Mehmood | 2 Jun 19:12 2015
Picon

Reading synonym list

Hi All,

 I am trying to implement a synonym search, so I have configured
PropertySynonymProvider and synonym.properties for the SearchIndex object,
my ~query works, but I want to know what are the synonym list it's being
search against when I pass ~query.

 I am currently using JCR through springmodules jcr, and digging into the
code I realize that query parser gets the matched synonyms list, but is
there way to get these synonyms list alone or part of the result set ?

 or should I initialize my own PropertySynonymProvider object and use
getSynonym(term) to get the synonym list separately ?

Any help would be greatly appreciated.

Thanks,
--

-- 
<!-- Mehmood.Z -->
hsp | 29 May 20:13 2015
Picon

Exclude some properties from fulltext index

I would to know how to configure in indexing-configuration.xml to certain
properties from certain nodes to NOT be fulltext indexed (they are string,
they can be indexed, but not fulltext), and all anothers String properties
from that node type and descendants to remains with fulltext.
I am trying to reduce the index size and performance for searching in
general, but I just see this point to adjust, but I did not find this kind
of config...

Thanks.
Helio.

--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Exclude-some-properties-from-fulltext-index-tp4662524.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Gmane