[jetty-user] 404 not found with more connections

Carachi <[email protected]> Wed, 29 Jun 2011 14:16:57 +0200
Newsgroups gmane.comp.java.jetty.support
Message-ID <[email protected]>
Hello everybody,
I am new in Jetty and I try to build a handler, so I do this:

public static void main(String[] args) throws Exception
     {
         Server server = new Server(8080);
         server.setHandler(new TaskHandler());

         server.start();
         server.join();
     }

TaskHandler is a my class that reply with an xml.
The server works well if I have few connections (something like 10), but 
if I have more connections (something like 100), Jetty sometimes (about 
13%) response with:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 404 Not Found</title>
</head>
<body>
<h2>HTTP ERROR: 404</h2>
<p>Problem accessing /. Reason:
<pre>    Not Found</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
</body>
</html>



Why?? How can I solve this problem??
How many connection Jetty supported?

Thank you