forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin" <ga...@16degrees.com.au>
Subject RE: [jira] Commented: (FOR-1108) Dispatcher, Cocoon 2.1 and Windows
Date Tue, 21 Oct 2008 01:52:29 GMT


> -----Original Message-----
> From: Thorsten Scherler [mailto:thorsten@apache.org]
> Sent: Tuesday, 21 October 2008 3:37 AM
> To: dev@forrest.apache.org
> Subject: Re: [jira] Commented: (FOR-1108) Dispatcher, Cocoon 2.1 and
> Windows
> 
> On Fri, 2008-10-17 at 20:18 -0700, Gavin (JIRA) wrote:
> > [ https://issues.apache.org/jira/browse/FOR-
> 1108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
> tabpanel&focusedCommentId=12640742#action_12640742 ]
> >
> > Gavin commented on FOR-1108:
> > ----------------------------
> >
> > I altered those map mounts to read :-
> >
> >     <map:pipeline>
> > <!-- businessHelper -->
> > <map:mount uri-prefix=""
> src="{forrest:forrest.plugins}/org.apache.forrest.plugin.internal.dispatch
> er/dataModel.xmap" check-reload="yes"
> >         pass-through="true" />
> >     </map:pipeline>
> > <!-- linkmap -->
> >    <map:pipeline>
> >            <map:mount uri-prefix=""
> src="{forrest:forrest.plugins}/org.apache.forrest.plugin.internal.dispatch
> er/ls.xmap" check-reload="yes"
> >         pass-through="true" />
> >     </map:pipeline>
> >     <map:pipeline>
> >             <map:mount uri-prefix=""
> src="{forrest:forrest.plugins}/org.apache.forrest.plugin.internal.dispatch
> er/themes.xmap" check-reload="yes"
> >         pass-through="true" />
> >     </map:pipeline>
> >
> > and we now get a different error message :-
> >
> > dispatcherError: 500 - Internal server error
> > The contract "siteinfo-meta-navigation" has thrown thrown an exception
> by resolving raw data from "cocoon://index.navigation.xml".
> >
> 
> Ok, we now know that is indeed the mounting of the different sidemaps
> that is failing. However we need to actually determine the difference
> between mounting core plugins and whiteboard plugins.
> 
> The above tells us that http://localhost:8888/index.navigation.xml is
> not resolved. I reckon there are still some mounts in the dataModel.xmap
> that would need your described hack and the whiteboard plugins will work
> again.
> 
> However like pointed out that is a hack and the real problem is still
> open, what is the difference between the mounting.

Its further than that, maybe I wasn’t clearer before, it is not the difference between the
released plugins and the whiteboard plugins. It is the difference between the PDF plugin and
ALL of the rest of the plugins, whether they are in whiteboard or not - the Text, POD plugins
etc also do not work, the ONLY one that does is the PDF.

I looked at the locationmap.xml of the PDF and compared it against the .Text plugin, the only
difference was an extra match to choose from.

    <match pattern="pdf.transform.*.*">
      <select>
        <location src="resources/stylesheets/{1}-to-{2}.xsl"/>
        <location
          src="{forrest:forrest.plugins}/org.apache.forrest.plugin.output.pdf/resources/stylesheets/{1}-to-{2}.xsl"/>
      </select>
    </match>

The second one is not in any other plugin that I can find. (So I thought I was on to a winner)
Unfortunately adding that equivalent match into the Text plugin made no difference.

I don’t know where else to look

Gav...

> 
> salu2
> 
> > dispatcherErrorStack:
> >  org.apache.excalibur.source.SourceNotFoundException: Exception during
> processing of cocoon://index.navigation.xml
> >
> > > Dispatcher, Cocoon 2.1 and Windows
> > > ----------------------------------
> > >
> > >                 Key: FOR-1108
> > >                 URL: https://issues.apache.org/jira/browse/FOR-1108
> > >             Project: Forrest
> > >          Issue Type: Bug
> > >          Components: Core operations, Plugin: internal.dispatcher
> > >    Affects Versions: 0.9-dev
> > >            Reporter: Ross Gardler
> > >            Priority: Blocker
> > >             Fix For: 0.9-dev
> > >
> > >         Attachments: core.log, test.log, test_dispatcher_site.zip,
> testRunWithDebug.log
> > >
> > >
> > > Since the update to Cocoon 2.1 Forrest and Dispatcher have broken on
> windows.
> >
> --
> Thorsten Scherler
> thorsten.at.apache.org
> Open Source Java                      consulting, training and solutions
> 
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.549 / Virus Database: 270.8.1 - Release Date: 10/15/2008
> 12:00 AM


Mime
View raw message