jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Providing RMI access for a model 2 - shared deployment
Date Thu, 15 Feb 2007 08:16:59 GMT
Hi,

On 2/14/07, Shaun Barriball <sbarriba@yahoo.co.uk> wrote:
> So I don't actually have a deployed webapp based on the
> JackRabbit-webapp.war

OK, understood.

>  1) do I need to deploy the JackRabbit-webapp and configure its JNDI and RMI
> settings such that it "replaces" the configuration in the server.xml?, or
>
>  2) do I need to deploy the JackRabbit-webapp such that uses JNDI to lookup
> the repository configured in the server.xml and then just exposes via RMI?,
>
>  3) can I improve my server.xml and add the RMI library to common/lib to get
> JackRabbit registered in both JNDI and RMI WITHOUT the need to deploy
> JackRabbit-webapp?

Option 2 is the best for you. You need to remove the
"RepositoryStartup" servlet configuration in the jackrabbit-webapp
web.xml descriptor and modify the "Repository" servlet configuration
to load the repository from JNDI and to expose it via RMI.

BR,

Jukka Zitting

Mime
View raw message