Setup is as follows: Windows NT4 SP5 (for development) Cocoon 2 rc1 (maybe rc2?) Tomcat 4.01
Mark -----Original Message----- From: Jörn Heid [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 4:12 PM To: [EMAIL PROTECTED]; Mark Kent Subject: AW: [C2] Socket write error serving CSS file ** means that sudirs will be integrated. * means looking in that specific directory. I do have similar problems with Tomcat 4.01. For me, the output is wrong due to socket exceptions. With Resin, all works fine. What version of Tomcat do you use? -----Ursprüngliche Nachricht----- Von: Mark S. Kent [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 1. November 2001 23:08 An: [EMAIL PROTECTED] Betreff: [C2] Socket write error serving CSS file My pages display fine, but the log is chock full of messages about a java.net.SocketException. I haven't changed my sitemap, but the error seems to occur after I haven't "visited" my Cocoon2 page page for a while. Once I try to refresh it, it fills the logs with these messages while try to serve my "testing.css" file (although the page displays just fine...). See snippets below. What is the difference between "**.css" and "*.css" in the sitemap? I followed examples from the supplied samples to do mine in my own "testing" folder, but what unsure what the difference means... << snipped from sitemap.xmap >> <map:match pattern="testing/**.css"> <map:read src="testing/{1}.css" mime-type="text/css"/> </map:match> << snipped from cocoon.log >> WARN (2001-11-01) 15:53.53:581 [cocoon ] (/cocoon/testing/testing.css) HttpProcessor[8080][3]/sitemap_xmap: Sitemap Error Process org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.net.SocketException: Connection aborted by peer: socket write error at org.apache.cocoon.components.pipeline.CachingStreamPipeline.processReader(Ca chingStreamPipeline.java:225) at org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process(Abstrac tStreamPipeline.java:116) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS treamPipeline.java:250) at org.apache.cocoon.www.sitemap_xmap.wildcardMatchN4005CD(sitemap_xmap.java:77 00) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2758) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2231) at org.apache.cocoon.sitemap.Handler.process(Handler.java:163) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114) at org.apache.cocoon.Cocoon.process(Cocoon.java:514) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:591) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :163) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1011) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106 ) at java.lang.Thread.run(Unknown Source) java.net.SocketException: Connection aborted by peer: socket write error at java.net.SocketOutputStream.socketWrite(Native Method) Thanks! Mark --------------------------------------------------------------------- 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]>