I put in the "Optional step: exposing the repository through WebDAV" according to the following article.
http://ctpjava.blogspot.com/2008/09/adding-jcr-support-to-your-existing-web.html I can connect via my web browser using the following url. http://localhost:8080/jcrweb04/repository/default/ It looks like rmi is exposed as well. If I try to access http://localhost:8080/jcrweb04/rmi it seems to respond, yet I am not completely clear. If I try to connect with the following: ```java Repository repository; Session session; repository = new URLRemoteRepository("http://localhost:8080/jcrweb04/rmi"); session = repository.login( new SimpleCredentials("admin", "admin".toCharArray())); ``` I get the following exception. ``` Aug 28, 2021 10:00:37 PM gov.ca.brea.jackrabbit.DumpIt main SEVERE: null javax.jcr.RepositoryException: Repository not found: Attribute javax.jcr.Repository does not exist in servlet context jcrweb04 ``` Any tips? -- 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
