Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-1214

RISearchServlet chrashes if stylesheets unaccessable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Fedora 3.7.1
    • Fix Version/s: Fedora 3.8.0
    • Component/s: legacy - Fedora
    • Labels:
      None
    • Environment:
      Debain 7 (32 bit), default Tomcat7
    • Roadmap Theme:
      Distribution/Installation

      Description

      Installation of Fedora to standard Debain Tomcat via deployment descriptor files (fedora.xml context description in /var/lib/tomcat7/conf/Catalina/localhost) doesn't set up the webapp directory in the way RISearchServlet (and probably other components) is expecting it. In particular the directory /ri (containing stylesheets) is missing.

      However, the set up of RISearchServlet doesn't check for existence/accessibility of these files on initialization.

      Part of the problem seems to be, that Trippi needs absolute File path to the stylesheet files, instead of resource URL (obtained by calling getResource).

      Maybe connected to this issue:
      https://jira.duraspace.org/browse/FCREPO-534

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                barmintor Benjamin Armintor
                Reporter:
                claussni Ralf Claussnitzer
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: