wicket-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martijn Dashorst" <martijn.dasho...@gmail.com>
Subject Proglem generating resource: broken pipe
Date Tue, 03 Oct 2006 09:04:56 GMT
When I generate a dynamic web resource and it is about 7.2kb,
generating and downloading the resource goes OK. When I create a
(much) larger download, rendering the resource breaks with a broken
pipe error.

Does anyone know what happens here? I attached the stacktraces I get.


wicket.WicketRuntimeException: method IResourceListener of interface
wicket.IResourceListener targetted at component [MarkupContainer
[Component id = aanmaken, page =
nl.topicus.iridium.web.gui.financieel.incasso.IncassoRunTonenPage,
path = 8:aanmaken.IncassoRunTonenPage$5, isVisible = true, isVersioned
= false]] threw an exception
	at wicket.request.target.resource.ComponentResourceRequestTarget.respond(ComponentResourceRequestTarget.java:68)
	at wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:49)
	at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66)
	at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:869)
	at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:896)
	at wicket.RequestCycle.step(RequestCycle.java:977)
	at wicket.RequestCycle.steps(RequestCycle.java:1051)
	at wicket.RequestCycle.request(RequestCycle.java:455)
	at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:215)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
	at org.mortbay.jetty.plus.PlusWebAppContext.handle(PlusWebAppContext.java:158)
	at org.mortbay.http.HttpServer.service(HttpServer.java:909)
	at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at wicket.request.target.resource.ComponentResourceRequestTarget.respond(ComponentResourceRequestTarget.java:64)
	... 24 more
Caused by: wicket.WicketRuntimeException: Unable to render resource
stream wicket.markup.html.DynamicWebResource$1@1d66f1
	at wicket.Resource.respond(Resource.java:279)
	at wicket.Resource.onResourceRequested(Resource.java:135)
	at wicket.markup.html.link.ResourceLink.onResourceRequested(ResourceLink.java:124)
	... 29 more
Caused by: EOFException(java.net.SocketException: Broken pipe)
	at org.mortbay.http.BufferedOutputStream.flush(BufferedOutputStream.java:206)
	at org.mortbay.util.ByteBufferOutputStream.ensureSpareCapacity(ByteBufferOutputStream.java:357)
	at org.mortbay.util.ByteBufferOutputStream.write(ByteBufferOutputStream.java:197)
	at org.mortbay.http.BufferedOutputStream.write(BufferedOutputStream.java:146)
	at org.mortbay.http.HttpOutputStream.write(HttpOutputStream.java:423)
	at org.mortbay.jetty.servlet.ServletOut.write(ServletOut.java:54)
	at wicket.util.io.Streams.copy(Streams.java:56)
	at wicket.Resource.respond(Resource.java:240)
	... 31 more


-- 
<a href="http://www.thebeststuffintheworld.com/vote_for/wicket">Vote</a>
for <a href="http://www.thebeststuffintheworld.com/stuff/wicket">Wicket</a>
at the <a href="http://www.thebeststuffintheworld.com/">Best Stuff in
the World!</a>

Mime
View raw message