You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Rasik Pandey <rb...@gmail.com> on 2005/08/01 21:21:49 UTC
Stacktrace from LinkStatusGenerator when generating stack site from command-line
Has anyone seen the stacktrace below before with Forrest 0.6? Basically I am
passing the LinkStatusGenerator my linkmap.html file so that it can crawl my
site. After which, I can transform the result into a format compatible with
google sitemaps. It works perfectly in a dynamic environment, but when
attempting to generate a static site, I encounter the problem below.
ava.net.MalformedURLException: unknown protocol: cli
at java.net.URL.<init>(URL.java:574)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at org.apache.cocoon.generation.LinkStatusGenerator.generate(
LinkStatusGenerator.java:342)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline
(AbstractProcessingPipeline.java:520)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline
(AbstractCachingProcessingPipeline.java:166)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(
AbstractProcessingPipeline.java:685)
at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(
SitemapSource.java:352)
at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:206)
at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(
SitemapSource.java:336)
at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:206)
at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java
:117)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline
(AbstractProcessingPipeline.java:535)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline
(AbstractCachingProcessingPipeline.java:166)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(
AbstractProcessingPipeline.java:478)
at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(
SerializeNode.java:134)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:54)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:112)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:76)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
PipelineNode.java:138)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:76)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:95)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:298)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:241)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
TreeProcessor.java:238)
at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(
MountNode.java:111)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:76)
at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(
SelectNode.java:82)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:76)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
PipelineNode.java:138)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:76)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:95)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:298)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:241)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
TreeProcessor.java:238)
at org.apache.cocoon.Cocoon.process(Cocoon.java:646)
at org.apache.cocoon.bean.CocoonWrapper.getPage(CocoonWrapper.java:441)
at org.apache.cocoon.bean.CocoonBean.processTarget(CocoonBean.java:493)
at org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:354)
at org.apache.cocoon.Main.main(Main.java:321)
--
Regards,
Rus
www.discountdracula.com <http://www.discountdracula.com>
"Your Bargain BloodSucka:
Suckin' the Best Deals Outta the Web"
Re: Stacktrace from LinkStatusGenerator when generating stack site
from command-line
Posted by Ross Gardler <rg...@apache.org>.
Rasik Pandey wrote:
> > > At first glance, this looks like a Cocoon related error to me.
> Hopefully
> > > someone more familiar with Cocoon will be able to help you out.
> >
> >
> > In addition we are now using a different version of Cocoon. If this is a
> > cocoon error (and it seems to be) it may be solved in 0.7 and/or head.
>
> I have a basic internal plugin built that works nicely in a dynamic
> environment with Forrest 0.7, although if your site has many pages it
> takes time to crawl all of them (maybe we could use a caching pipeline).
> I hope to post it to JIRA today!
>
> But, when attempting to generate a static site with a link to the google
> sitemap, I still get the same stacktrace which I posted in the original
> message, even when using Forrest 0.7...?
Having the code in Jira will help us address this, I'll take a look as
soon as I get chance.
Ross
Re: Stacktrace from LinkStatusGenerator when generating stack site from command-line
Posted by Rasik Pandey <rb...@gmail.com>.
> > At first glance, this looks like a Cocoon related error to me. Hopefully
> > someone more familiar with Cocoon will be able to help you out.
>
>
> In addition we are now using a different version of Cocoon. If this is a
> cocoon error (and it seems to be) it may be solved in 0.7 and/or head.
I have a basic internal plugin built that works nicely in a dynamic
environment with Forrest 0.7, although if your site has many pages it takes
time to crawl all of them (maybe we could use a caching pipeline). I hope to
post it to JIRA today!
But, when attempting to generate a static site with a link to the google
sitemap, I still get the same stacktrace which I posted in the original
message, even when using Forrest 0.7...?
--
Regards,
Rus
www.discountdracula.com <http://www.discountdracula.com>
"Your Bargain BloodSucka:
Suckin' the Best Deals Outta the Web"
Re: Stacktrace from LinkStatusGenerator when generating stack site
from command-line
Posted by Ross Gardler <rg...@apache.org>.
Diwaker Gupta wrote:
> Hi Rasik,
>
> I'm really interested in getting the Google sitemap functionality integrated
> with Forrest. Though I'm not upto speed with what you have been trying, so
> bear with me :)
>
> On Monday 01 August 2005 12:21 pm, Rasik Pandey wrote:
>
>>Has anyone seen the stacktrace below before with Forrest 0.6? Basically I
>>am passing the LinkStatusGenerator my linkmap.html file so that it can
>>crawl my site. After which, I can transform the result into a format
>>compatible with google sitemaps. It works perfectly in a dynamic
>>environment, but when attempting to generate a static site, I encounter the
>>problem below.
>
>
> [OT] there have been significant changes since Forrest 0.6 (we are currently
> at 0.8-dev). Perhaps you might want to upgrade and work with the latest
> version? That way its easier for us to push changes into Forrest.
>
> At first glance, this looks like a Cocoon related error to me. Hopefully
> someone more familiar with Cocoon will be able to help you out.
In addition we are now using a different version of Cocoon. If this is a
cocoon error (and it seems to be) it may be solved in 0.7 and/or head.
Ross
Re: Stacktrace from LinkStatusGenerator when generating stack site from command-line
Posted by David Crossley <cr...@apache.org>.
Diwaker Gupta wrote:
>
> Like I said, I'm really intersted in this. Could you post your current
> implementation to the mailing list -- I'd love to try it out.
Please use our Jira Issue Tracker for attachments, rather
than the mailing list.
http://issues.apache.org/jira/browse/FOR
David
Re: Stacktrace from LinkStatusGenerator when generating stack site from command-line
Posted by Diwaker Gupta <di...@apache.org>.
Hi Rasik,
I'm really interested in getting the Google sitemap functionality integrated
with Forrest. Though I'm not upto speed with what you have been trying, so
bear with me :)
On Monday 01 August 2005 12:21 pm, Rasik Pandey wrote:
> Has anyone seen the stacktrace below before with Forrest 0.6? Basically I
> am passing the LinkStatusGenerator my linkmap.html file so that it can
> crawl my site. After which, I can transform the result into a format
> compatible with google sitemaps. It works perfectly in a dynamic
> environment, but when attempting to generate a static site, I encounter the
> problem below.
[OT] there have been significant changes since Forrest 0.6 (we are currently
at 0.8-dev). Perhaps you might want to upgrade and work with the latest
version? That way its easier for us to push changes into Forrest.
At first glance, this looks like a Cocoon related error to me. Hopefully
someone more familiar with Cocoon will be able to help you out.
> ava.net.MalformedURLException: unknown protocol: cli
> at java.net.URL.<init>(URL.java:574)
> at java.net.URL.<init>(URL.java:464)
> at java.net.URL.<init>(URL.java:413)
> at org.apache.cocoon.generation.LinkStatusGenerator.generate(
> LinkStatusGenerator.java:342)
> at
[snip]
Like I said, I'm really intersted in this. Could you post your current
implementation to the mailing list -- I'd love to try it out.
Thanks,
Diwaker
--
Web/Blog/Gallery: http://floatingsun.net