Adam Gifford wrote:
>
> Hello, we are developing a servlet that connects to a database, and for
> teh second night in a row have gotten this exception
> (java.net.SocketException : too many open files). Both nights it
> happened within the first few connections to the servlet (i'm not sure
> of the exact number it wasn't me trying to connect).
>
Maybe something was left open...
Try to use some JDBC pooling mechanism...
Pier
--
Pierpaolo Fumagalli - Java Apache Project - <http://java.apache.org/>
E-Mail <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]>
---------------------------------------------------------------------
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]