You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Tim Williams <wi...@gmail.com> on 2006/01/29 06:00:56 UTC

Dispatcher quickstart and Photogallery

I've followed the quickstart[1] with the Photogallery plugin and get
either OutOfMemory exceptions or (if I get silly with a memory
increase) get a StackOverflowError exception.  I can use the
Dispacther successfully on a simple seed site though.  I'm not asking
for anyone to expend resources fully troubleshooting this but if
someone could confirm/deny the errors I'd appreciate it.

Set up the Photogallery to use dispatcher (structurer&&themer) plugins
and do forrest run in the Photogallery plugin dir, go to
localhost/index.html.  If you get that far it's further than I was
able to make it.  I've even tried *not* including the Photogallery
plugin to see if that would work but it doesn't.

Thanks,
--tim

[1] - http://forrest.apache.org/docs_0_80/howto/howto-dispatcher-quickstart.html

Usage of site: within site.xml and dispatcher (was: Re: Dispatcher quickstart and Photogallery)

Posted by Thorsten Scherler <th...@apache.org>.
El dom, 29-01-2006 a las 12:57 +0100, Thorsten Scherler escribió:
> El dom, 29-01-2006 a las 18:23 +1100, David Crossley escribió:
> > Tim Williams wrote:
> > > I've followed the quickstart[1] with the Photogallery plugin and get
> > > either OutOfMemory exceptions or (if I get silly with a memory
> > > increase) get a StackOverflowError exception.  I can use the
> > > Dispacther successfully on a simple seed site though.  I'm not asking
> > > for anyone to expend resources fully troubleshooting this but if
> > > someone could confirm/deny the errors I'd appreciate it.
> > 
> > I get the same error trying to Dispatcher-enable the
> > PhotoGallery plugin's own website.
> > 
> > I do have a site that actually uses the plugin.
> > When i try to Dispatcher-enable that site, it fails on
> > the Gallery parts with "No pipeline matched request: gallery/practice/index_1.xml"
> > 
> 
> Actually that becomes a faq for v2. ;-)
> http://marc.theaimsgroup.com/?l=forrest-dev&m=113775018214915&w=2
> 
> and
> 
> http://issues.apache.org/jira/browse/FOR-738
> 
> First I thought that maybe as well FOR-725 but does not seems like it
> (it worked for me after the following).
> 
> When I commend 
> <!--<forrestPlugins label="Plugins Index" href="site:forrest/plugins"
> description="Index of Forrest Plugins"/>-->
> 
> Then it is working fine. I tried with the new plugins but the site: is
> still broken there. Meaning the jx:stuff is again broken and we need to
> fix Davids workaround. :(
> 
> Help greatly appreciated.
> 

Actually I played a bit with it but I guess it needs a real good debug.

One observation I made is that:
<forrestPlugins label="Plugins Index" href="site:forrest/plugins"
description="Index of Forrest Plugins"/>

should actually be
<forrestPlugins label="Plugins Index" href="ext:forrest/plugins"
description="Index of Forrest Plugins"/>

because the referenced link is in the 
<external-refs>
 <forrest href="http://forrest.apache.org/">
  <plugins href="docs/plugins"/>
 </forrest>
</external-refs>

but still I get an java.lang.OutOfMemoryError :(

I removed all indirections and still java.lang.OutOfMemoryError.

IMO this bug is related again to jx and the linkrewritter.

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Re: Dispatcher quickstart and Photogallery

Posted by Thorsten Scherler <th...@apache.org>.
El lun, 30-01-2006 a las 08:09 +1100, David Crossley escribió:
> Thorsten Scherler wrote:
> > David Crossley escribi??:
> > > Tim Williams wrote:
> > > > I've followed the quickstart[1] with the Photogallery plugin and get
> > > > either OutOfMemory exceptions or (if I get silly with a memory
> > > > increase) get a StackOverflowError exception.  I can use the
> > > > Dispacther successfully on a simple seed site though.  I'm not asking
> > > > for anyone to expend resources fully troubleshooting this but if
> > > > someone could confirm/deny the errors I'd appreciate it.
> > > 
> > > I get the same error trying to Dispatcher-enable the
> > > PhotoGallery plugin's own website.
> > > 
> > > I do have a site that actually uses the plugin.
> > > When i try to Dispatcher-enable that site, it fails on
> > > the Gallery parts with "No pipeline matched request: gallery/practice/index_1.xml"
> > 
> > Actually that becomes a faq for v2. ;-)
> > http://marc.theaimsgroup.com/?l=forrest-dev&m=113775018214915&w=2
> > 
> > and
> > 
> > http://issues.apache.org/jira/browse/FOR-738
> 
> Thorsten is referring to Tim's original error and not to
> this new one that i reported. I will report it elsewhere
> as it is not related.
> 
> -David

No, wait David just read the next line (where I refer to this
error): ;-)

> 
> > First I thought that maybe as well FOR-725 but does not seems like it
> > (it worked for me after the following).
> > 


That is the underscore bug, but funny enough it seems to be gone in the
new dispatcher. Further it did not happen to me in the PhotoGallery
anymore, after I commented the site: stuff in the site.xml.  

We still need further testing  
https://issues.apache.org/jira/browse/FOR-725
with the new dispatcher.

salu2

> > When I commend 
> > <!--<forrestPlugins label="Plugins Index" href="site:forrest/plugins"
> > description="Index of Forrest Plugins"/>-->
> > 
> > Then it is working fine. I tried with the new plugins but the site: is
> > still broken there. Meaning the jx:stuff is again broken and we need to
> > fix Davids workaround. :(
> > 
> > Help greatly appreciated.
> > 
> > HTH
> > thorsten
> > -- 
> > thorsten
> > 
> > "Together we stand, divided we fall!" 
> > Hey you (Pink Floyd)
> > 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Re: Dispatcher quickstart and Photogallery

Posted by David Crossley <cr...@apache.org>.
Thorsten Scherler wrote:
> David Crossley escribi??:
> > Tim Williams wrote:
> > > I've followed the quickstart[1] with the Photogallery plugin and get
> > > either OutOfMemory exceptions or (if I get silly with a memory
> > > increase) get a StackOverflowError exception.  I can use the
> > > Dispacther successfully on a simple seed site though.  I'm not asking
> > > for anyone to expend resources fully troubleshooting this but if
> > > someone could confirm/deny the errors I'd appreciate it.
> > 
> > I get the same error trying to Dispatcher-enable the
> > PhotoGallery plugin's own website.
> > 
> > I do have a site that actually uses the plugin.
> > When i try to Dispatcher-enable that site, it fails on
> > the Gallery parts with "No pipeline matched request: gallery/practice/index_1.xml"
> 
> Actually that becomes a faq for v2. ;-)
> http://marc.theaimsgroup.com/?l=forrest-dev&m=113775018214915&w=2
> 
> and
> 
> http://issues.apache.org/jira/browse/FOR-738

Thorsten is referring to Tim's original error and not to
this new one that i reported. I will report it elsewhere
as it is not related.

-David

> First I thought that maybe as well FOR-725 but does not seems like it
> (it worked for me after the following).
> 
> When I commend 
> <!--<forrestPlugins label="Plugins Index" href="site:forrest/plugins"
> description="Index of Forrest Plugins"/>-->
> 
> Then it is working fine. I tried with the new plugins but the site: is
> still broken there. Meaning the jx:stuff is again broken and we need to
> fix Davids workaround. :(
> 
> Help greatly appreciated.
> 
> HTH
> thorsten
> -- 
> thorsten
> 
> "Together we stand, divided we fall!" 
> Hey you (Pink Floyd)
> 

Re: Dispatcher quickstart and Photogallery

Posted by Thorsten Scherler <th...@apache.org>.
El dom, 29-01-2006 a las 18:23 +1100, David Crossley escribió:
> Tim Williams wrote:
> > I've followed the quickstart[1] with the Photogallery plugin and get
> > either OutOfMemory exceptions or (if I get silly with a memory
> > increase) get a StackOverflowError exception.  I can use the
> > Dispacther successfully on a simple seed site though.  I'm not asking
> > for anyone to expend resources fully troubleshooting this but if
> > someone could confirm/deny the errors I'd appreciate it.
> 
> I get the same error trying to Dispatcher-enable the
> PhotoGallery plugin's own website.
> 
> I do have a site that actually uses the plugin.
> When i try to Dispatcher-enable that site, it fails on
> the Gallery parts with "No pipeline matched request: gallery/practice/index_1.xml"
> 

Actually that becomes a faq for v2. ;-)
http://marc.theaimsgroup.com/?l=forrest-dev&m=113775018214915&w=2

and

http://issues.apache.org/jira/browse/FOR-738

First I thought that maybe as well FOR-725 but does not seems like it
(it worked for me after the following).

When I commend 
<!--<forrestPlugins label="Plugins Index" href="site:forrest/plugins"
description="Index of Forrest Plugins"/>-->

Then it is working fine. I tried with the new plugins but the site: is
still broken there. Meaning the jx:stuff is again broken and we need to
fix Davids workaround. :(

Help greatly appreciated.

HTH
thorsten
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Re: Dispatcher quickstart and Photogallery

Posted by David Crossley <cr...@apache.org>.
Tim Williams wrote:
> I've followed the quickstart[1] with the Photogallery plugin and get
> either OutOfMemory exceptions or (if I get silly with a memory
> increase) get a StackOverflowError exception.  I can use the
> Dispacther successfully on a simple seed site though.  I'm not asking
> for anyone to expend resources fully troubleshooting this but if
> someone could confirm/deny the errors I'd appreciate it.

I get the same error trying to Dispatcher-enable the
PhotoGallery plugin's own website.

I do have a site that actually uses the plugin.
When i try to Dispatcher-enable that site, it fails on
the Gallery parts with "No pipeline matched request: gallery/practice/index_1.xml"

-David

> Set up the Photogallery to use dispatcher (structurer&&themer) plugins
> and do forrest run in the Photogallery plugin dir, go to
> localhost/index.html.  If you get that far it's further than I was
> able to make it.  I've even tried *not* including the Photogallery
> plugin to see if that would work but it doesn't.
> 
> Thanks,
> --tim
> 
> [1] - http://forrest.apache.org/docs_0_80/howto/howto-dispatcher-quickstart.html