If I put the following line in my xml document <!DOCTYPE ead PUBLIC "-//Society of American Archivists//DTD ead.dtd (Encoded Archival Description (EAD) Version 1.0)//EN" "http://www.ourserver.com/EAD/ead.dtd">
then I get the following Exception from Cocoon: java.net.UnknownHostException: www.ourserver.com (I put the detailed log at the end of the message). But when I change that line to <!DOCTYPE ead PUBLIC "-//Society of American Archivists//DTD ead.dtd (Encoded Archival Description (EAD) Version 1.0)//EN" "ead.dtd"> it suddenly works. However, when from the server running Cocoon I can perfectly access the dtd, e.g. by typing "lynx http://www.ourserver.com/EAD/ead.dtd". What's up with that? Why can't Cocoon access it??? I understand that this is probably a pretty general error message, but I don't see why Cocoon wouldn't be able to connect - or is it generally not able to connect to remote hosts? ======================= Configuration: Tomcat4 + Cocoon 2.0.1 Linux redhat java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20010925 (JIT enabled: jitc)) ======================= Thanks for suggestions, Ingmar. Detailed log from above: java.net.UnknownHostException: www.ourserver.com at java.net.InetAddress.getAllByName0(InetAddress.java:585) at java.net.InetAddress.getAllByName0(InetAddress.java:554) at java.net.InetAddress.getByName(InetAddress.java:463) at java.net.Socket.<init>(Socket.java:112) at sun.net.NetworkClient.doConnect(NetworkClient.java:56) at sun.net.www.http.HttpClient.openServer(HttpClient.java:347) at sun.net.www.http.HttpClient.openServer(HttpClient.java:534) at sun.net.www.http.HttpClient.<init>(HttpClient.java:282) at sun.net.www.http.HttpClient.<init>(HttpClient.java:292) at sun.net.www.http.HttpClient.New(HttpClient.java:304) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:3 93) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection .java:487) at java.net.URL.openStream(URL.java:816) at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFac tory.java:149) at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntit y(DefaultEntityHandler.java:772) at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubse t(DefaultEntityHandler.java:571) at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java :1139) at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentSc anner.java:2145) at org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.j ava:2100) at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XML DocumentScanner.java:831) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner. java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098) at org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:182) at org.apache.cocoon.components.source.URLSource.toSAX(URLSource.java:331) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:109) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv entPipeline.java:209) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS treamPipeline.java:355) at org.apache.cocoon.www.sitemap_xmap.matchN1035A(sitemap_xmap.java:3602) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2358) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1980) at org.apache.cocoon.sitemap.Handler.process(Handler.java:180) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:127) at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:144) at org.apache.cocoon.Cocoon.process(Cocoon.java:582) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:795) at javax.servlet.http.HttpServlet.service(HttpServlet.java) ......... --------------------------------------------------------------------- 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]>