kailasapu murali krishna | 31 Aug 09:29 2015
Picon

Retrieving the data without using jackrabbit from the database

Hi,

I need a small help. I have integrated database with jackrabbit, it's
created around 16 tables and data are stored successfully.
Unfortunately, jackrabbit folder is deleted from server. Now i tried with
deploying new war file and creating a jackrabbit folder once again. When I
try to fetch the records from the database its showing UUID is not
available.

Can we retrieve the data directly from the database using any
Java framework.
Please help me guys.
mike osterhout | 28 Aug 09:36 2015
Picon

jackrabbit with mysql

Hello,

I am trying to get mysql going with jackrabbit but I am seeing the logs
listed below. My jackrabbit server can be successfully accessed from
localhost/8080/jackrabbit and I have placed the
mysql-connector-java-5.1.36-bin.jar in /usr/share/tomcat6/lib directory.
What should I be checking for? How can I debug this? I followed this
tutorial to the T in an attempt to get this running
https://github.com/jackalope/jackalope/wiki/Running-jackrabbit-in-tomcat-with-mysql

Thanks in advance

2015-08-28 07:05:21.047 INFO  [main] RepositoryImpl.java:1060
 Shutting down repository...
2015-08-28 07:05:21.049 INFO  [main] RepositoryImpl.java:1165
 Repository has been shutdown
2015-08-28 07:05:21.049 ERROR [main] RepositoryStartupServlet.java:250
RepositoryStartupServlet initializing failed:
org.apache.jackrabbit.j2ee.ServletExceptionWithCause: Error while creating
repository
org.apache.jackrabbit.j2ee.ServletExceptionWithCause: Error while creating
repository
at
org.apache.jackrabbit.j2ee.RepositoryStartupServlet.initRepository(RepositoryStartupServlet.java:415)
[RepositoryStartupServlet.class:na]
at
org.apache.jackrabbit.j2ee.RepositoryStartupServlet.startup(RepositoryStartupServlet.java:242)
[RepositoryStartupServlet.class:na]
at
org.apache.jackrabbit.j2ee.RepositoryStartupServlet.init(RepositoryStartupServlet.java:215)
(Continue reading)

Amit Jain | 27 Aug 11:32 2015
Picon

[ANNOUNCE] Apache Jackrabbit Oak 1.2.4 released

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

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.2.4 is a patch release that contains fixes and
improvements over Oak 1.2. Jackrabbit Oak 1.2.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.2.4
--------------------

Bugs

    [OAK-2827] - [oak-blob-cloud] Test Failures: Add joda-time dependency
explicitly with definite version range
(Continue reading)

Murali Kailasapu | 24 Aug 10:37 2015

Need some help

Hi Every one,

I need small help, I am storing the  data in database  using jackrabbit.
Accidentally i had removed the jack rabbit folder which is created  using
jack rabbit web-app war file, I have stored all the UUID's in some table
externally.

I want to take the files, which are stored in the database (BLOB format).
Can any one suggest me, how can get the data.

*Regards,*
*Murali.Kailasapu.*
ajuran | 24 Aug 16:30 2015

JCR-SQL2 query doesn't respect document order in JCR

Hello,
we have this problem: Two equivalent queries (SQL and JCR-SQL2) return 
results in different order. Result of SQL query respects document order 
in JCR, but result of JCR-SQL2 query doesn't. Property 
respectDocumentOrder in workspace.xml for given workspace is set to 
'true'. We use Jackrabbit ver. 2.8.0.
Thanks for response, best regards
Antonin Juran
Atif Manzoor | 24 Aug 19:07 2015
Picon

Access control

I am new to Jackrabbit and after going through the first hops and little
bit of documentation, I was trying to configure Access Control for the
repository nodes. I was extending ThirdHop tutorial for that purpose and
was following access control wiki
http://wiki.apache.org/jackrabbit/AccessControl and had the following code.

Session session = repository.login(new SimpleCredentials("username",
"password"
.toCharArray()));
Node node = session.getRootNode();
String path = node.getPath();
AccessControlManager acm = session.getAccessControlManager();

Privilege[] privileges = new Privilege[] { acm
.privilegeFromName(Privilege.JCR_ALL) };
AccessControlList acl;
try {
acl = (AccessControlList) acm.getApplicablePolicies(path)
.nextAccessControlPolicy();
} catch (NoSuchElementException e) {
acl = (AccessControlList) acm.getPolicies(path)[0];
}
for (AccessControlEntry e : acl.getAccessControlEntries()) {
acl.removeAccessControlEntry(e);
}
acl.addAccessControlEntry(EveryonePrincipal.getInstance(), privileges);
acm.setPolicy(path, acl);
session.save();

My problem is that I could not get AccessControlList with this code. Both
(Continue reading)

Davide Giannella | 24 Aug 15:04 2015
Picon

[ANNOUNCE] Apache Jackrabbit Oak 1.0.19 released

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

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.19 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 in Oak 1.0.19
---------------------------------------

Changes in Oak 1.0.19
---------------------

This release of Oak includes an improvement to the DocumentNodeStore,
(Continue reading)

Davide Giannella | 21 Aug 15:14 2015
Picon

[ANNOUNCE] Apache Jackrabbit Oak 1.3.4 released

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

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

New configuration options in Oak 1.3.4
--------------------------------------

For DocumentNodeStore based deployments a new check has been introduced
which compares
oak-local clocks with the one from the DocumentStore-server. If the
(Continue reading)

Davide Giannella | 17 Aug 10:38 2015
Picon

[ANNOUNCE] Apache Jackrabbit 2.11.0 released

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

Release Notes -- Apache Jackrabbit -- Version 2.11.0

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

This is Apache Jackrabbit(TM) 2.11.0, 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.11.0 is an unstable release cut directly from
Jackrabbit trunk, with a focus on new features and other
improvements. For production use we recommend the latest stable 2.10.x
release.

Changes in Jackrabbit 2.11.0
----------------------------

Bug

    [JCR-3888] - Possible dead lock in SharedItemStateManager in
    clustered environment

(Continue reading)

Karsten Priegnitz | 13 Aug 12:21 2015
Picon

Problem adding Principal-based ACLs

Hallo group,

I'm trying to add Principal-based ACLs as described here: 
http://wiki.apache.org/jackrabbit/AccessControl. But using that code I 
get an ArrayIndexOutOfBoundsException.

I have the jackrabbit-webapp-2.10.1 running from sources in Eclipse. 
Works. Next I wrote a servlet that does init stuff: add 2 users adam & 
eve and grant them ACL_ALL (all privileges) on the root node.

Code:

public class MyInitServlet extends HttpServlet {

      <at> Override
     protected void doGet(HttpServletRequest req, HttpServletResponse 
resp) throws ServletException,
             IOException {

         super.doGet(req, resp);

         try {
             // get the repo from context

             ServletContext context = this.getServletContext();
             Repository repo = (Repository) 
context.getAttribute(Repository.class.getName());

             // login as admin

(Continue reading)

CJ | 12 Aug 00:59 2015
Picon

javax.jcr.RepositoryException: Unable to aquire read lock.

I am trying to setProperty on a javax.jcr.Node when I get the read lock 
exception.  I tried setting the following property in the workspace file.

<ISMLocking class="org.apache.jackrabbit.core.state.FineGrainedISMLocking"/>

I still get the same read lock exception.

Any suggestions to change this?

Thanks.


Gmane