You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Antonio Gallardo <ag...@agssa.net> on 2004/05/23 08:39:58 UTC

sdocbook demo not working:

Hi:

While making a "fast" review, the sample at:

http://localhost:8888/samples/catalog/sdocbook-demo

is not working.

The error is:

org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
java.io.FileNotFoundException:
/home/agallardo/workspace/cocoon-2.1/build/webapp/samples/catalog/sdocbook.dtd
(No such file or directory)

Best Regards,

Antonio Gallardo



Re: [SOLVED] - Re: sdocbook demo not working:

Posted by David Crossley <cr...@apache.org>.
Antonio Gallardo wrote:
> David Crossley dijo:
> > Thanks for verifying some samples Antonio. Many more of us
> > devs and users need to do that prior to release.
> >
> > This sdocbook demo works for me. See the notes on the Sample
> > page - you would need to configure the catalog entity resolver.
> 
> OK. I get it "working".

Good.

> > However, your comment reveals some other problems.
> > For me the webapp documentation is broken:
> > http://localhost:8888/docs/
> 
> It works here.
> >
> > and the main Catalog resolver demo is broken.
> > http://localhost:8888/samples/catalog/catalog-demo
> 
> That works for me too.

Well that is a relief - it is only me.

> Maybe you are using a local.build.properties to disable the docs generation.

No it is not that.

Both the "catalog-demo" sample and the docs/ front page
break for me because Cocoon cannot find files that have
relative pathnames.

In the "catalog-demo" case, samples/catalog/catalog-demo.xml
refers to a local file testovr.txt

In the "docs/" case, the document-v10.dtd refers to a local file
characters.ent

In both cases the xml parser normally finds those files okay.

Now i have saxon6.5.2.jar in lib/local and somehow it interferes
and has trouble with relative references. Removing the Saxon jar
makes everything happy again.

Anyway, that means that our Cocoon release is okay and that i need
to go back to trying to get Saxon to work.

--David







[SOLVED] - Re: sdocbook demo not working:

Posted by Antonio Gallardo <ag...@agssa.net>.
David Crossley dijo:
> Thanks for verifying some samples Antonio. Many more of us
> devs and users need to do that prior to release.
>
> This sdocbook demo works for me. See the notes on the Sample
> page - you would need to configure the catalog entity resolver.

OK. I get it "working".
>
> However, your comment reveals some other problems.
> For me the webapp documentation is broken:
> http://localhost:8888/docs/

It works here.
>
> and the main Catalog resolver demo is broken.
> http://localhost:8888/samples/catalog/catalog-demo

That works for me too.

Maybe you are using a local.build.properties to disable the docs generation.

Best Regards,

Antonio Gallardo

Re: sdocbook demo not working:

Posted by David Crossley <cr...@apache.org>.
Thanks for verifying some samples Antonio. Many more of us
devs and users need to do that prior to release.

This sdocbook demo works for me. See the notes on the Sample
page - you would need to configure the catalog entity resolver.

However, your comment reveals some other problems.
For me the webapp documentation is broken:
http://localhost:8888/docs/

and the main Catalog resolver demo is broken.
http://localhost:8888/samples/catalog/catalog-demo

Is that the case for others too?

I will try to investigate.

--David

Antonio Gallardo wrote:
> Hi:
> 
> While making a "fast" review, the sample at:
> 
> http://localhost:8888/samples/catalog/sdocbook-demo
> 
> is not working.
> 
> The error is:
> 
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
> java.io.FileNotFoundException:
> /home/agallardo/workspace/cocoon-2.1/build/webapp/samples/catalog/sdocbook.dtd
> (No such file or directory)
> 
> Best Regards,
> 
> Antonio Gallardo