Uploaded image for project: 'Forrest'
  1. Forrest
  2. FOR-431

"Could not find component for role" when using Lucene search

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.7
    • Component/s: Core operations
    • Labels:
      None
    • Environment:
      Tested on Debian Sarge with Linux 2.6.8 and JDK 1.4.2_01

      Description

      When using Lucene-based searching, the following error occurs whenever "/lucene-search.html" is requested:

      Internal Server Error
      Message: null
      Description: No details available.
      Sender: org.apache.cocoon.servlet.CocoonServlet
      Source: Cocoon Servlet
      Request URI
      lucene-search.html
      cause
      Could not find component for role: [org.apache.cocoon.components.search.LuceneCocoonSearcher] (Key='org.apache.cocoon.components.search.LuceneCocoonSearcher')
      request-uri
      /lucene-search.html

      This is due to a misconfiguration in Forrest's Cocoon xconf file (main/webapp/WEB-INF/xconf/forrest-core.xconf).

      The problem only affects Lucene *searching*; indexing works fine.

      This issue also blocks FOR-246.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              f.g.haas Florian G. Haas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: