>
>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 seems that you're creating a server socket, which acts like a daemon
and listens any incoming connections to the port specified.
BindException takes place when you bind some port which is already in use.
But shouldn't you be creating a normal socket instead of server socket?
On the other hand maybe you're creating a normal socket and when
it reserves a local port (localhost:XXYYZZ <-> mailserver:SMTP) this port
XXYYZZ, which should be just some free port (Java should know what are free ones),
it for some reason collides with some other network service. Dunno how could
that happen, though..
___________________________________________________________________________
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