• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat and the servlet of java mail demo

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic