Bug 38362

Summary: <io:request url > tag is sometimes causing "java.io.IOException: Stream closed"
Product: Taglibs Reporter: akschome
Component: IO TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED LATER    
Severity: normal    
Priority: P2    
Version: nightly   
Target Milestone: ---   
Hardware: Other   
OS: Linux   

Description akschome 2006-01-24 03:16:29 UTC
<io:request url="file://..." > tag is sometimes causing "java.io.IOException:
Stream closed"

This happens sporadically. I am trying to read a text file from my /tmp
directory and flush the content to the browser. 

Here is the stack trace:

java.io.IOException: Stream closed
	at org.apache.jasper.runtime.JspWriterImpl.ensureOpen(JspWriterImpl.java:203)
	at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:252)
	at org.apache.taglibs.io.PipeHelper.pipe(PipeHelper.java:108)
	at org.apache.taglibs.io.PipeHelper.pipe(PipeHelper.java:94)
	at org.apache.taglibs.io.URLTag.readURL(URLTag.java:287)
	at org.apache.taglibs.io.URLTag.doEndTag(URLTag.java:139)
	at
org.apache.jsp.downloadReport_jsp._jspService(org.apache.jsp.downloadReport_jsp:79)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Comment 1 Henri Yandell 2009-11-29 19:39:30 UTC
Resolving. Taglib has been retired.