Author |
Message
|
VIVEK MOHAN |
Posted: Tue Apr 09, 2013 6:03 am Post subject: Exception while configuring SMTP server on yahoo |
|
|
Newbie
Joined: 21 Feb 2013 Posts: 5
|
Hello All,
While configuring SMTP Server on yahoo,got an Exception Trace as Follows,I have used mqsi commands as follows
mqsicreateconfigurableservice MB7BROKER -c SMTP -o YAHOOSERVER
mqsichangeproperties MB7BROKER -c SMTP -o YAHOOSERVER -n serverName -v smtp.mail.yahoo.com:465
mqsisetdbparms MB7BROKER -n smtp::YahooIdentity -u -p
mqsichangeproperties MB7BROKER -c SMTP -o YAHOOSERVER -n securityIdentity -v YahooIdentity
and after that i kept message flow with Email Output Node
ExceptionList
RecoverableException
File:CHARACTER:F:\build\S000_P\src\DataFlowEngine\ImbDataFlowNode.cpp
Line:INTEGER:1073
Function:CHARACTER:ImbDataFlowNode::createExceptionList
Type:CHARACTER:ComIbmEmailOutputNode
Name:CHARACTER:Excel2XMLMF#FCMComposite_1_2
Label:CHARACTER:Excel2XMLMF.EmailOutput
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Node throwing exception
RecoverableException
File:CHARACTER:MbErrorHandler.java
Line:INTEGER:127
Function:CHARACTER:sendBasicEmail()
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:4459
Text:CHARACTER:Exception sending email
Insert
Type:INTEGER:5
Text:CHARACTER:com.ibm.broker.emailnodes.EmailOutputNode : javax.mail.MessagingException: Exception reading response;
nested exception is:
java.net.SocketException: Connection reset
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:275)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at com.ibm.broker.emailnodes.EmailOutputNode.sendMail(EmailOutputNode.java:442)
at com.ibm.broker.emailnodes.EmailOutputNode.sendBasicEmail(EmailOutputNode.java:479)
at com.ibm.broker.emailnodes.EmailOutputNode.sendData(EmailOutputNode.java:357)
at com.ibm.broker.plugin.MbOutputTemplateNode.sendData(MbOutputTemplateNode.java:47)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:180)
at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:230)
at java.io.BufferedInputStream.read(BufferedInputStream.java:249)
at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440)
... 9 more
RecoverableException
File:CHARACTER:MbErrorHandler.java
Line:INTEGER:252
Function:CHARACTER:throwableToMbException
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:4678
Text:CHARACTER:Exception sending email
Insert
Type:INTEGER:5
Text:CHARACTER:Exception reading response
Connection reset
Please bear with my Stupidity
--
Regards
Vivek |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Apr 09, 2013 6:05 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Setup a similar profile pointing to a local SMTP server. Get the local profile working correctly first. Then migrate to Yahoo. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Apr 09, 2013 8:31 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Can you telnet from the broker machine to that host? |
|
Back to top |
|
 |
VIVEK MOHAN |
Posted: Tue Apr 09, 2013 9:15 pm Post subject: |
|
|
Newbie
Joined: 21 Feb 2013 Posts: 5
|
No Jeff I am unable to connect to the host from my Broker machine |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Apr 10, 2013 3:06 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
VIVEK MOHAN wrote: |
No Jeff I am unable to connect to the host from my Broker machine |
If you can't use SSH or telnet to talk to the SMTP server manually from the broker host, it should be reasonably obvious that Broker can't talk to the SMTP server either... |
|
Back to top |
|
 |
VIVEK MOHAN |
Posted: Thu Apr 11, 2013 8:40 pm Post subject: |
|
|
Newbie
Joined: 21 Feb 2013 Posts: 5
|
Now I am able to Telnet broker machine to the host,but still it is Throwing the Exception. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri Apr 12, 2013 4:09 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
VIVEK MOHAN wrote: |
Now I am able to Telnet broker machine to the host,but still it is Throwing the Exception. |
When you connect to a local mail server, does it work?
What is the exception?
What is the "effective level" of your runtime? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Apr 12, 2013 4:45 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
VIVEK MOHAN wrote: |
Now I am able to Telnet broker machine to the host,but still it is Throwing the Exception. |
are you able to telnet to the 465 port #? |
|
Back to top |
|
 |
|