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 » error in msg flow while using sendmailplugin node

Post new topic  Reply to topic
 error in msg flow while using sendmailplugin node « View previous topic :: View next topic » 
Author Message
rkford11
PostPosted: Tue Sep 28, 2004 9:42 am    Post subject: error in msg flow while using sendmailplugin node Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

I have designed a simple msg flow with i/p, sendmailplugin and o/p node. i have mentioned the SMTP server to be local host but i am not able to receive the email at the output node.
will somebody please help me with this flow especially sendmailplugin node.

thanks
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Sep 28, 2004 9:43 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Do you have SMTP server/service running on your localhost?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
mayur2378
PostPosted: Tue Sep 28, 2004 11:12 am    Post subject: Reply with quote

Apprentice

Joined: 26 May 2004
Posts: 47

Also did you follow the correct format to create the email message.

That kinda message do u get in your trace...

Mayur
Back to top
View user's profile Send private message Yahoo Messenger
rkford11
PostPosted: Tue Sep 28, 2004 12:34 pm    Post subject: Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

mayur2378 wrote:
Also did you follow the correct format to create the email message.

That kinda message do u get in your trace...

Mayur


i have changed SMTP server from local host to a remote host and i have the qmgr and i/p and o/p queues on my local system. i did follow this format
<Message> <From> </From> <To>abc@gmail.com </To> <Subject>test </Subject> <Body>mail </Body> <Base64 ContentType=" " Name=" "><![CDATA[ base64 data ]]></Base64> </Message>

but still i am not able to receive the mail and also the message in the o/p queue. it is staying in the i/p queue only.
please let me know where i am making the mistake.

thanks
Back to top
View user's profile Send private message
mayur2378
PostPosted: Tue Sep 28, 2004 12:53 pm    Post subject: Reply with quote

Apprentice

Joined: 26 May 2004
Posts: 47

try creating an Email Message in a compute node before the Plugin and see what happens.
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Tue Sep 28, 2004 1:24 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The SMTP server has to point to a machine that is running an SMTP server.

Add a trace node followed by a throw node to the Catch terminal of your MQInput node. Also, configure a backout queue and a backout requeue count on your input queue. Configure the trace node appropriately for your installation, at a minimum include ${Root} and ${ExceptionList} in the pattern.

Your message flow is throwing an exception somewhere. This is causing the message to be rolled back to the input queue and retried. If you do the above things, then the message will only be retried a certain number of times, and you can see what is going wrong as well.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Ramphart
PostPosted: Wed Sep 29, 2004 4:54 am    Post subject: Reply with quote

Disciple

Joined: 21 Jul 2004
Posts: 150
Location: South Africa, JHB

rkford11 wrote:

i did follow this format
<Message> <From> </From> <To>abc@gmail.com </To> <Subject>test </Subject> <Body>mail </Body> <Base64 ContentType=" " Name=" "><![CDATA[ base64 data ]]></Base64> </Message>

but still i am not able to receive the mail and also the message in the o/p queue. it is staying in the i/p queue only.
please let me know where i am making the mistake.

thanks


I've seen that the sendplugin node does not always handle exceptions elegantly when certain conditions occur. For instance it fall over if it can't find the From field in the XML message. You should really look at your windows event log in this case because your error messages will more than likely be there.

Be sure to hook-up the failure terminal of the sendplugin to an output Queue then at least you'll be able to trap those errors thats handled by the node (e.g SMTP server, port problems, etc.)

One more thing worth mentioning - ive seen the sendplugin node fail when the input XML has a declaration at the beginning, like <?xml version="1.0"?>. Make sure that your XML message starts with the <Message> tag.

Regards
_________________
Applications Architect
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » error in msg flow while using sendmailplugin node
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.