Hi, did you copy all the files from DTD? I got dbnotnx.mod in my docbook directory - you should copy all the files from Oasis, e.g. download whole Docbook DTD and unzip it.
It seems that then I ought work.. Petr > -----Ursprüngliche Nachricht----- > Von: Derek Hohls [mailto:[EMAIL PROTECTED]] > Gesendet am: Dienstag, 19. Februar 2002 07:42 > An: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Betreff: Re: AW: DocBook stylesheets not processed by Cocoon? > > 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 > > >>> [EMAIL PROTECTED] 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:[EMAIL PROTECTED]] > > Gesendet am: Montag, 18. Februar 2002 15:30 > > An: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > 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 > > > > >>> [EMAIL PROTECTED] 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: <[EMAIL PROTECTED]> > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > > > > --------------------------------------------------------------------- > > 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: <[EMAIL PROTECTED]> > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > --------------------------------------------------------------------- > 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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > --------------------------------------------------------------------- > 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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>