Mario, thanks for doing the extra debugging to narrow down where the
problem is at. Yes the jetty version is 6.1.5. You can also find
the version number of a component in the admin console's System
modules portlet or by the directory name in Geronimo's repository,
in this case $G/repository/org/mortbay/jetty/jetty/6.1.5
Best wishes,
Paul
On Sep 14, 2007, at 11:34 AM, Mario Ruebsam wrote:
I did some debugging and followed the code until:
SelectChannelConnector$ConnectorEndPoint(SelectChannelEndPoint).run
() line: 422
when this line is called the Treads will be created.
I guess this is Jetty code because I could not found it
in the Geronimo sources.
Which Jetty version is used is Geronimo 2.0.1?
When I look in the sources pom.xml it is 6.1.5, is this the used
Version?
Thanks,
Mario
Mario Ruebsam wrote:
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