Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat and the servlet of java mail demo

 
Metal Zhang
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all~~
I compiled the demo servlet and run it on Tomcat.When I login to the servlet,I can see a table which says there are 2 messages in the INBOX folder(I just sent 2 mails to my mail box to test the servlet).It seemed that nothing was wrong.But when I clicked the hyperlink of the "INBOX"(belongs to the folder name field of the table),the next page appeared but didn't finish immediately even if a very long time passed.So I went to see the Tomcat's console.I can see errors appear line by line.The errors are listed below:
2001-08-14 11:52:19 - Ctx( /WebMail ): IOException in: R( /WebMail + /servlet/Ja
vaMailServlet + null) Not an ISO 8859_1 character:��
2001-08-14 11:52:19 - Ctx( /WebMail ): IOException in: R( /WebMail + /servlet/Ja
vaMailServlet + null) Not an ISO 8859_1 character:��
2001-08-14 11:52:19 - Ctx( /WebMail ): IOException in: R( /WebMail + /servlet/Ja
vaMailServlet + null) Not an ISO 8859_1 character:��
2001-08-14 11:52:19 - Ctx( /WebMail ): IOException in: R( /WebMail + /servlet/Ja
vaMailServlet + null) Connection reset by peer: socket write error
2001-08-14 11:52:19 - Ctx( /WebMail ): IOException in: R( /WebMail + /servlet/Ja
vaMailServlet + null) Not an ISO 8859_1 character:��
2001-08-14 11:52:19 - Ctx( /WebMail ): IOException in: R( /WebMail + /servlet/Ja
vaMailServlet + null) Not an ISO 8859_1 character:��
I don't know what happened.Would you like to tell me what made this happen and how to resolve it.
Thank you very much.

------------------
Java lover from hell!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic