On Tue, Aug 31, 2021 at 08:04:53AM +0200, Julian Reschke wrote: > Am 31.08.2021 um 02:09 schrieb Brian E. Lavender: > > I am still attempting to connect my webapp to a remote repository > > I still keep getting a null reference. :( And, the log > > messages doesn't seem to indicate what I am missing. > > > > I am thinking that I need to copy the jars into the Tomcat lib folder > > for my application to connect to a remote repository based upon the > > following. What jars do I need besides the following? > > > > jackrabbit-jcr-rmi-2.20.3.jar > > > > https://jackrabbit.apache.org/jcr/repository-server-howto.html > > > > The instructions state the following. > > > > Place the JCR-RMI jar file and its dependencies (including the JCR API > > jar) under $CATALINA_HOME/webapps/_your app_/WEB-INF/lib. > > > > Any ideas on this? > > > > Does someone have a sample project that has a context.xml that connects > > to a remote repository? > > I can't help you with RMI, I have never used it. What I know though is > that it hasn't got any attention for many years, and is known not to > support certain operations. > > I would recommend connecting using WebDAV.
How would I do that? Is there a jndi connection binding or something? Brian -- Brian Lavender http://www.brie.com/brian/ "There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies." Professor C. A. R. Hoare The 1980 Turing award lecture
