Re: SocketException!!!

Michael Sinz <[email protected]>
Newsgroups gmane.comp.java.linux.general
Message-ID <[email protected]>
Devan Namboothirippad wrote:
> hi,
> 
> I work on a Java based e-mail server. When I send mails to a Java-based 
> SMTP Server from my SMTP Client, I get SocketException (saying "Software 
>   caused connection abort" on the windows platform and "Broken pipe" on 
> Linux.). But when I send mails to Postfix, my client doesn't throw any 
> exceptions. Somebody please help me out...

Broken Pipe on Linux tends to be due to one end of the socket closing down
before the other end expects (usually you are trying to write a bit more
to the socket and it has closed)

Could there be something with the SMTP protocol that is not being handled
correctly?  Have sniffed the traffic yet to watch the exchange?

(Ethereal is your friend - use it)

Anyway, without more details, this is hard to diagnose - but most likely your
client is trying to send some extra data on the socket after the server
has closed the socket.

-- 
Michael Sinz                     Technology and Engineering Director/Consultant
"Starting Startups"                                mailto:[email protected]
My place on the web                            http://www.sinz.org/Michael.Sinz


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.