LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-11-2003, 01:36 AM   #1
pattar
LQ Newbie
 
Registered: Jan 2003
Posts: 13

Rep: Reputation: 0
sendmail through jsp


Hello,

I have a peculiar problem. I am running RH Linux 7.2. I am using jsp for my website.
I recently shifted my website from company to another. In the earlier company, the mail.smtp.host for sendmail using tomcat was webserver.com.
When we shifted the website, we did not change the coding and hence received the error that webserver.com is unavailable. Then we changed the coding to reflect the current hostname. It worked fine for a month and now the problem has surfaced again. We checked the coding. It reflects the current hostname only. The coding has not been changed. Any idea why it behaving so. I have checked out the sendmail part too, using the examples in tomcat. I was able to receive mails send through the same. Hence sendmail is working fine. The error I receive is -

Error : javax.mail.SendFailedException: Sending failed; nested exception is: javax.mail.MessagingException: Could not connect to SMTP host: webserver.com, port: 25; nested exception is: java.net.ConnectException: Connection timed out


Could someone help me on this please.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
urgent help on JSP anirudh Programming 8 08-17-2005 05:54 PM
JSP security another2 Linux - Security 0 07-24-2004 11:18 AM
Why JSP and XML? Swift&Smart Programming 10 06-20-2003 09:28 PM
VB to JSP jayakrishnan Linux - General 3 05-08-2002 01:28 AM
jsp deepak Programming 0 04-18-2001 10:49 AM


All times are GMT -5. The time now is 09:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration