Hi all, Could you please help. How I can eliminate the following exception (copied from console) ? . . . Starting service Tomcat-Apache Apache Tomcat/4.0 java.lang.RuntimeException: java.net.SocketException: Connection aborted by peer : socket write error at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java :3174) at java.lang.Thread.run(Thread.java:484) ==========
I've just requested http://localhost:8080/bdl/search_card for which I have the following pipeline: <map:pipeline> . . . <map:match pattern="**css/*.css"> <map:read src="html/css/{2}.css" mime-type="text/css"/> </map:match> <map:match pattern="**scripts/*.js"> <map:read src="html/scripts/{2}.js" mime-type="application/javascript"/> </map:match> <map:match pattern="**img/*.gif"> <map:read src="html/img/{2}.gif" mime-type="image/gif"/> </map:match> <map:match pattern="search_card"> <map:select type="request-parameter"> <map:parameter name="parameter-name" value="Item"/> <map:when test="newsearch"> <map:aggregate element="selections"> <map:part src="cocoon:/get_lubricants" element="select_lubricant"/> <map:part src="cocoon:/get_suppliers" element="select_supplier"/> <map:part src="cocoon:/get_natures" element="select_nature"/> <map:part src="cocoon:/number_lubricants" element="found"/> </map:aggregate> <map:transform src="stylesheets/search_card.xsl"/> <map:transform type="i18n"/> <map:transform src="stylesheets/search2html.xsl"/> </map:when> <map:when test="list"> <map:generate src="cocoon:/query_lubricants"/> </map:when> <map:otherwise> <map:aggregate element="selections"> <map:part src="cocoon:/get_lubricants" element="select_lubricant"/> <map:part src="cocoon:/get_suppliers" element="select_supplier"/> <map:part src="cocoon:/get_natures" element="select_nature"/> </map:aggregate> <map:transform src="stylesheets/search_card.xsl"/> <map:transform type="i18n"/> <map:transform src="stylesheets/search2html.xsl"/> </map:otherwise> </map:select> <map:serialize/> </map:match> . . . ============== In the core.log I can see: HttpProcessor[8080][3]/CachingStreamPipeline: IOException in ProcessReader java.net.SocketException: Connection aborted by peer: socket write error at java.net.SocketOutputStream.socketWrite(Native Method) . . . org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:249) at org.apache.cocoon.www.sitemap_xmap.matchN102A4(sitemap_xmap.java:3745) . . . at java.lang.Thread.run(Thread.java:484) WARN (2002-03-15) 14:45.05:085 [core] (/bdl/css/ome.css) HttpProcessor[8080][3]/sitemap_xmap: Error, try to process the error page org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.net.SocketException: Connection aborted by peer: socket write error . . . ========== When I look at the sitemap_xmap.java for the matchN102A4 I see: . . . //line numbers not supported with xalan try { // method for handling "**css/*.css" if (matchN102A4(redirector, environment, pipeline, eventPipeline, internalRequest, listOfMaps)) return true; // method for handling "**scripts/*.js" . . . //line numbers not supported with xalan// method for handling "**css/*.css" private final boolean matchN102A4(SitemapRedirector redirector, Environment environment, StreamPipeline pipeline, EventPipeline eventPipeline, boolean internalRequest, List listOfMaps) throws ConnectionResetException, ResourceNotFoundException, Exception { Map map; Parameters param; Map objectModel = environment.getObjectModel(); String cocoon_view = environment.getView(); String cocoon_action = environment.getAction(); final boolean debug_enabled = getLogger().isDebugEnabled(); if ((map = matches("wildcard", matcher_N102A4_expr, "**css/*.css", Parameters.EMPTY_PARAMETERS, objectModel)) != null) { if (debug_enabled) getLogger().debug("Matched wildcard pattern **css/*.css"); listOfMaps.add (map); this.dumpParameters(listOfMaps); getLogger().debug("Component reader:resource(Parameters.EMPTY_PARAMETERS)"); if (debug_enabled) getLogger().debug("Source= " + substitute(listOfMaps, "html/css/{2}.css")); getLogger().debug("Mime-type= text/css"); pipeline.setReader ("resource", substitute(listOfMaps, "html/css/{2}.css"), Parameters.EMPTY_PARAMETERS, "text/css"); if (!internalRequest) { return pipeline.process(environment); } if (true) return true; listOfMaps.remove (listOfMaps.size() - 1); this.dumpParameters(listOfMaps); } return false; } // method for handling "**scripts/*.js" . . . =============== What the matter? Thank you in advance. Roman --------------------------------------------------------------------- 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]>