The moose likes Threads and Synchronization and the fly likes InterruptedIOException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "InterruptedIOException" Watch "InterruptedIOException" New topic


Mark Webb

Joined: Aug 31, 2002
Posts: 10
I have a program that spawns a thread to send an email message to a server. I am using the SMTP protocol level stuff such as HELO, MAIL FROM, DATA..etc( I know not JavaMail ). After I send a HELO to the server, I get an InteruptedIOException on the read. The thread that makes the call to my SMTP class does not die after the exception is thrown because after the exception is caught, the thread name is the same as before the SMTP method is called. So I am really not sure why this is happening.
I have tried to telnet into the server on port 25 and issue the same commands as my program would and I get no errors.
Any ideas ?
It is sorta covered in the JavaRanch Style Guide.
subject: InterruptedIOException
jQuery in Action, 3rd edition