jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ippon <christian.m...@tomcat.de>
Subject How to access a standalone Oak Server from a webapp?
Date Thu, 21 Aug 2014 14:05:18 GMT

Another (assumably quite stupid) question:
How can I get a connection to a standalone Oak repository from a webapp?

I tried to retrieve a javax.jcr.Repository via "(new
OakRepositoryFactory()).getRepository(parameters)", passing in the URI of
the started Oak repository using the key
"org.apache.jackrabbit.repository.uri"; the problem is just that the
OakRepositoryFactory simply ignores this URI an returns only a "default
repository" within RAM by calling "new Jcr().createRepository()"... :-/

I couldn't find any other(?) way how to access a remote Oak repository, so a
short hint (or - even better - an example) would be very helpful!

Thanks in advance,

View this message in context: http://jackrabbit.510166.n4.nabble.com/How-to-access-a-standalone-Oak-Server-from-a-webapp-tp4661269.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message