Hi,

On 2/14/07, Shaun Barriball <[EMAIL PROTECTED]> 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

Reply via email to