This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes Socket Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Servlets
Bookmark "Socket Exception" Watch "Socket Exception" New topic
Author

Socket Exception

cherry sawant
Greenhorn

Joined: Mar 26, 2002
Posts: 6
Hi,
I am getting an exception - java.net.SocketException: Software caused connection abort:
JVM_recv in socket input stream read
I get this error for the line as follows:
SmtpClient client = new SmtpClient(mailServer);
The constructor takes the ip of the smtp server.
import sun.net.smtp.SmtpClient;
I have never used the sun.net.smtp.SmtpClient before. Where can I find a documentation or Api for knowing it better as I am debugging the code written by someone else.
How do I get the error above?
Thank You..
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Socket Exception