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.
Best regards, Julian