Uploaded image for project: 'Forrest (Retired)'
  1. Forrest (Retired)
  2. FOR-932

forrest war error: Cannot get variable 'dispatcher.theme-ext'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8
    • 0.9
    • None

    Description

      A dispatcher-enabled site does work okay with 'forrest run'. However, not with 'forrest war' deploying to a servlet container. It seems that Dispatcher is missing the setup of properties. Yes i do have forrest.properties.xml settings.

      The Forrest error.log has this ...

      ERROR (2006-09-20) 10:53.57:909 [core.modules.mapper.lm] (/varietee/index.html) http-8080-Processor5/MountNode: Failure processing LocationMap.
      org.apache.cocoon.sitemap.PatternException: Cannot get variable 'dispatcher.theme-ext' in expression '{properties:resources}/structurer/url/{1}{properties:dispatcher.theme-ext}'
              at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.processModule(PreparedVariableResolver.java:250)
              at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.resolve(PreparedVariableResolver.java:197)
              at org.apache.forrest.locationmap.lm.LocationNode.locate(LocationNode.java:65)
              at org.apache.forrest.locationmap.lm.SelectNode.locate(SelectNode.java:110)
              at org.apache.forrest.locationmap.lm.MatchNode.locate(MatchNode.java:131)
      ...
      ... [snip] ... see attachment error.log

      Attachments

        1. error.log
          21 kB
          David Crossley
        2. provoke.error.diff
          2 kB
          Thorsten Scherler

        Activity

          People

            Unassigned Unassigned
            crossley David Crossley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: