geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ruebsam <mario.rueb...@googlemail.com>
Subject Creation of new threads after closing response writer in Servlet in Little-G Jetty 2.0.1
Date Fri, 14 Sep 2007 11:21:26 GMT
Hello,

after migrating successful from Little-G Jetty 1.1 to Little-G Jetty 2.0.1
I detected some strange behavior when closing the Servlets response writer.
Every time the writer is closed Geronimo or Jetty creates 10 new Threads
in the DefaultThreadPool. The code snippet is below.

In G 1.1 the same code has no impact on threads.
Does anybody has the same experience? Is this a Jetty or a Geronimo problem?

public void doGet(HttpServletRequest pRequest, HttpServletResponse pResponse) 
throws IOException, ServletException {
	<... do some stuff ...>

	PrintWriter tOut = pResponse.getWriter();
	tOut.write(tData);
	tOut.close();
}


Thanks,
Mario

Mime
View raw message