jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karsten Priegnitz <k...@petoria.de>
Subject get default Repository from webapp in my servlet
Date Tue, 11 Aug 2015 19:21:22 GMT
Hi,

I deployed the jackrabbit-webapp in tomcat, created a repo named 
"jackrabbit" in the web ui. The I added a startup servlet. When I do 
this ...

     public class StartupServlet extends JackrabbitRepositoryServlet {

         private final Repository repo = new ServletRepository(this);

... then automatically a new repository named "jackrabbit-repository" is 
created and returned.

How to get hold of the already existing default repo named "jackrabbit"?

Thx in advance
Karsten



Mime
View raw message