Hello!

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,
Christian



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

Reply via email to