Author |
Message
|
sebastia |
Posted: Fri Mar 28, 2014 4:50 am Post subject: how to debug EmailOutput node operation |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Hi.
I am trying to send an Email from a MB flow.
Using "SENDEMAIL" program, ( http://freecode.com/projects/sendemail )
I can verify that
*) origin
*) destination
*) smtp server
are OK.
But when I put those data into MB flow, the "Failure" pin comes into action.
I use few lines from
>>> http://127.0.0.1:56640/help/ntopic/com.ibm.etools.mft.doc/ac66340_.htm
How can I know what went wrong ?
I am using Windows 7 but Event log is empty of new lines.
Using WireShark displays nothing is sent ... I'd say (not sure 100%).
I'd say I need a MB mechanism to tell me what RC gets EmailOutput node from SMTP protocol, am I right ?
Thanks. Sebastian. |
|
Back to top |
|
 |
Esa |
Posted: Fri Mar 28, 2014 4:57 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
What about capturing the ExceptionList?
Even better: user trace. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Mar 29, 2014 8:19 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
And have you verified that the email server will accept emails from the broker server?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sebastia |
Posted: Sun Mar 30, 2014 11:02 pm Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
mr ESA : ExceptionList - ok, will use it in minutes.
" mqsichangetrace " - never liked it, but maybe this time ...
mr Saper : how can I verify what you are saying ?
My flow has just a MQ input node (to act as a trigger), a Compute node (where the parameters will be set in the future, the eMail node (with destination and origin selected) and 2 Trace nodes receiving good/bad events from eMail node.
I would say "no", the email server is rejecting emails from MB server, but what do you mean exactly, besides my flow ?
Sebastian. |
|
Back to top |
|
 |
smdavies99 |
Posted: Sun Mar 30, 2014 11:18 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
sebastia wrote: |
.
I would say "no", the email server is rejecting emails from MB server, but what do you mean exactly, besides my flow ?
Sebastian. |
There should be a sample flow that will test the ability of broker to connect to your email server. give it a try. On V7, it is ironically called 'Email Sample' It is called the same in V9.0.0.1. It is located under the Transports and connectivity tab. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
sebastia |
Posted: Sun Mar 30, 2014 11:19 pm Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
ok, I shall install it, but can not be simpler than mine, jejeje |
|
Back to top |
|
 |
sebastia |
Posted: Mon Mar 31, 2014 2:35 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Looks to me the "port" value is wrong ...
Code: |
(0x01000000:Name ):RecoverableException = (
(0x03000000:NameValue):File = 'MbErrorHandler.java' (CHARACTER)
(0x03000000:NameValue):Line = 154 (INTEGER)
(0x03000000:NameValue):Function = 'sendMimeEmail()' (CHARACTER)
(0x03000000:NameValue):Type = '' (CHARACTER)
(0x03000000:NameValue):Name = '' (CHARACTER)
(0x03000000:NameValue):Label = '' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 4459 (INTEGER)
(0x03000000:NameValue):Text = 'Exception sending email' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'com.ibm.broker.emailnodes.EmailOutputNode : javax.mail.MessagingException: Could not connect to SMTP host: mail.server.com, port: 56;
nested exception is:
java.net.ConnectException: Connection refused: connect |
The "56" value comes from the "node" values, while the "IP" comes from the Compute node .. where the port assignment got an error.
Now eMail is sent perfectly. Thanks for your help. Sebastian. |
|
Back to top |
|
 |
|