ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » how to debug EmailOutput node operation

Post new topic  Reply to topic
 how to debug EmailOutput node operation « View previous topic :: View next topic » 
Author Message
sebastia
PostPosted: Fri Mar 28, 2014 4:50 am    Post subject: how to debug EmailOutput node operation Reply with quote

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
View user's profile Send private message Visit poster's website
Esa
PostPosted: Fri Mar 28, 2014 4:57 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

What about capturing the ExceptionList?
Even better: user trace.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Mar 29, 2014 8:19 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
sebastia
PostPosted: Sun Mar 30, 2014 11:02 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
smdavies99
PostPosted: Sun Mar 30, 2014 11:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
sebastia
PostPosted: Sun Mar 30, 2014 11:19 pm    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

ok, I shall install it, but can not be simpler than mine, jejeje
Back to top
View user's profile Send private message Visit poster's website
sebastia
PostPosted: Mon Mar 31, 2014 2:35 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » how to debug EmailOutput node operation
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.