Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-4767

Jackrabbit 2.18.0, fails to get Respository Session on Tomcat9, where as everything works fine on Tomcat7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • None
    • None
    • config
    • None

    Description

      Need help to suggest, how to resolve the below issue, after migrating the application to Tomcat9.

      Please help suggest, if any additional configurations required when we migrate from TOmcat7 to Tomcat9

      JackRabbit Version Being used: 2.18.0

       

      Error: 

      Caused by: javax.servlet.ServletException: Repository access configuration is not valid.
                      at org.apache.jackrabbit.j2ee.RepositoryAccessServlet.getConfig(RepositoryAccessServlet.java:171)
                      at org.apache.jackrabbit.j2ee.RepositoryAccessServlet.getRepositoryByJNDI(RepositoryAccessServlet.java:203)
                      at org.apache.jackrabbit.j2ee.RepositoryAccessServlet.getRepository(RepositoryAccessServlet.java:303)
                      ... 50 more
      22-Feb-2022 06:51:24.483 SEVERE [http-nio-127.0.0.1-27100-exec-7] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [JCRWebdavServer] in context with path [/jackrabbit] threw exc
      eption
              java.lang.IllegalStateException: The repository is not available. Please check RepositoryAccessServlet configuration in web.xml.
                      at org.apache.jackrabbit.j2ee.RepositoryAccessServlet.getRepository(RepositoryAccessServlet.java:314)
                      at org.apache.jackrabbit.j2ee.RepositoryAccessServlet.getRepository(RepositoryAccessServlet.java:328)
                      at org.apache.jackrabbit.j2ee.JcrRemotingServlet.getRepository(JcrRemotingServlet.java:31)
                      at org.apache.jackrabbit.webdav.jcr.JCRWebdavServerServlet.getDavSessionProvider(JCRWebdavServerServlet.java:161)
                      at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.service(AbstractWebdavServlet.java:316)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

      Attachments

        Activity

          People

            Unassigned Unassigned
            grephari Hari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: