>From API:

"public class BindException
extends SocketException
Signals that an error occurred while attempting to bind a socket to a local
address and port. Typically, the port is in use, or the requested local address
could not be assigned. "

You may be topping the limit to how many sockets you can open to the same
address.  My guess is that your application can only send one mail at a time
and when two users submit the form then one of the threads of your servlet
fails.

dave.

Alex Khordos wrote:

> Hey guys
>
> I have a servlet which basically sends out an email from a form.
> On occasion i get this exception. What does it mean?
>
> Exception creating server socket: java.net.BindException: Address already
> in use.
>
> It only happens sometimes, not always. TIA
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

--
David Mossakowski        [EMAIL PROTECTED]
http://www.dwdog.com/styk      212.310.7275

"I don't sit idly by, I'm planning a big surprise"
F         U         G         A        Z        I

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to