cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Re: AW: DocBook stylesheets not processed by Cocoon?
Date Tue, 19 Feb 2002 06:42:23 GMT
Petr

I have tried this on my test machine (Win2000, C2, TC4) and it does not
work:

Cocoon 2 - Internal server error
---------------------------------------------------------
type internal-server-error

message Could not read resource
file:/c:/tomcat/webapps/cocoon/lead/docs/project/index.xml

description org.apache.cocoon.ProcessingException: 
Could not read resource
file:/c:/tomcat/webapps/cocoon/lead/docs/project/index.xml: 
org.xml.sax.SAXParseException: 
File "file:/c:/tomcat/webapps/cocoon/lead/docbook/dbnotnx.mod" not
found.

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri
/cocoon/lead/docs/project/index.xml

exception
org.apache.cocoon.ProcessingException: 
Could not read resource
file:/c:/tomcat/webapps/cocoon/lead/docs/project/index.xml: 
org.xml.sax.SAXParseException: 
File "file:/c:/tomcat/webapps/cocoon/lead/docbook/dbnotnx.mod" not
found.

---------------------------------------------------------

I think that all that is changed is that now it cannot find some of the
modules
that are included as part of the DocBook DTD.

I have feeling that the link to the oasis site needs to have to work
properly...

Derek

>>> Petr.Kubanek@Dresdner-Bank.com 18/02/2002 04:36:19 >>>
Well, try to save docbook DTD to some other directory and point yours
files
to it..

Suppose you have:

dir docu	     # directory with your docbook documentation
dir docbook-4.2/ # directory with Docbook DTD

Then in docu/head.xml or something file you say:

<!DOCTYPE book PUBLIC
  "-//OASIS//DTD DocBook XML V4.1.2//EN"
   "../docbook-4.2/docbookx.dtd">

At least it work on my configuration (firewalled web, Win NT 4.0,
Cocooon
2.0 | Cocoon 2.0.1, Tomcat 4.0.1)

Petr Kubanek

> -----Ursprüngliche Nachricht-----
> Von: Derek Hohls [mailto:DHohls@csir.co.za] 
> Gesendet am: Montag, 18. Februar 2002 15:30
> An: bdelacretaz@codeconsult.ch; cocoon-users@xml.apache.org 
> Betreff: Re: DocBook stylesheets not processed by Cocoon?
> 
> When I try to 'ping www.oasis-open.org' from the machine, 
> it runs OK...?
> 
> The settings *are* at debug, with no obvious 'oasis' mention...
> 
> Any other ideas?  What is it that is giving the 
> java.net.ConnectException??
> 
> Thanks
> Derek
> 
> >>> bdelacretaz@codeconsult.ch 18/02/2002 09:23:53 >>>
> On Monday 18 February 2002 08:15, Derek Hohls wrote:
> > I am struggling with a problem getting a Cocoon file to work -
> > its fine on the test machine but fails on the live machine.
> 
> >. . .
> > <!DOCTYPE book PUBLIC
> >   "-//OASIS//DTD DocBook XML V4.1.2//EN"
> >   "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd">
> >. . .
> 
> >. . .
> > Exception during processing of
> > file:/usr/local/tomcat/webapps/cocoon/lead/docs/project/index.xml:
> > java.net.ConnectException: Connection refused
> >. . .
> > When I comment out the <!DOCTYPE> then it works fine...
> >. . .
> > PS the  path to Docbook is set in the CatalogManager.properties
file
> >. . .
> 
> I'd suspect the parser trying to retrieve 
> http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd (or whatever
is
> 
> defined in the CatalogManager) and failing. Maybe a firewall is 
> blocking access from the Cocoon process to www.oasis-open.org? 
> 
> Maybe setting DEBUG log level and searching for "oasis" or 
> "docbook" in
> 
> the cocoon logs would help?
> 
> -- 
>  -- Bertrand Delacrétaz, www.codeconsult.ch 
>  -- web technologies consultant - OO, Java, XML, C++
> 
> 
> 
> 
> 
> 
>
---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 
> 
>
---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message