<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face="Comic Sans MS" color=#800000 size=2></FONT> </DIV>
<DIV><FONT face="Comic Sans MS" color=#800000 size=2></FONT> </DIV>
<DIV><SPAN class=828131521-01072004><FONT face="Comic Sans MS" color=#800000
size=2>We're using 0.9, and we're seeing some strangeness which is causing us
problems. We have a generic servlet that takes an xml request, converts it
to a Document, figures out the actual function that the user wants and passes
the xml off to the appropriate class to handle the request. The problem
we've seen is that under a stress test eventually call to that servlet
hangs. It used to be the 101st call, but we increased the number of
available threads, the number of allowed http connections, and the number of
allowed client connections and the number of calls has risen to about 550, but
it's still happening. Below is the function we're using to make the
Document. Is there some internal configuration thing we're missing or is
the code below faulty?</FONT></SPAN></DIV>
<DIV><SPAN class=828131521-01072004><FONT face="Comic Sans MS" color=#800000
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=828131521-01072004></SPAN> </DIV>
<DIV><SPAN class=828131521-01072004><FONT face="Comic Sans MS" color=#800000
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=828131521-01072004><FONT face="Comic Sans MS" color=#800000
size=2> public Document makeDocument(String xmlInput)
{<BR> Document rd = null;<BR> InputSource is = new
InputSource(new StringReader(xmlInput));<BR> SAXBuilder builder = new
SAXBuilder();<BR> rd = builder.build(is);<BR> return
rd;<BR> }<BR></FONT></SPAN></DIV>
<DIV><SPAN class=828131521-01072004><FONT face="Comic Sans MS" color=#800000
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=828131521-01072004><FONT face="Comic Sans MS" color=#800000
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=828131521-01072004><FONT face="Comic Sans MS" color=#800000
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=828131521-01072004><FONT face="Comic Sans MS" color=#800000
size=2>-Rick</FONT></SPAN></DIV>
<p> <font face="Arial,Helvetica" size=-1>
This communication is for use by the intended recipient and contains
information that may be privileged, confidential or copyrighted under
applicable law. If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited. Please notify the sender by
return e-mail and delete this e-mail from your system. Unless explicitly
and conspicuously designated as "E-Contract Intended", this e-mail does
not constitute a contract offer, a contract amendment, or an acceptance
of a contract offer. This e-mail does not constitute a consent to the
use of sender's contact information for direct marketing purposes or for
transfers of data to third parties.
</p>
<p><center>
Francais Deutsch Italiano Espanol Portugues Japanese Chinese Korean<br>
<a href="http://www.dupont.com/corp/email_disclaimer.html">www.dupont.com/corp/email_disclaimer.html </a>
</center>
</font>
</p>
</BODY></HTML>