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 » Email Input Node WMB 7.0.0.3

Post new topic  Reply to topic
 Email Input Node WMB 7.0.0.3 « View previous topic :: View next topic » 
Author Message
coolcurls
PostPosted: Thu Feb 23, 2012 4:18 pm    Post subject: Email Input Node WMB 7.0.0.3 Reply with quote

Novice

Joined: 03 Aug 2007
Posts: 15

Hello,
I am trying to receive emails using EmailInputNode. I have configured the input node with server and user credentials.
I deployed the flow. It fails at the Input node while reading the email from the inbox. I am getting the following error in the user log.

I have changed the hostname, broker and EG name in the following log

Any help is appreciated.
Thanks!

Feb 23 18:52:34 hostname user:err|error WebSphere Broker v7003[9896026]: (BROKER1.EG_TT)[13378]BIP2628E: Exception condition detected on input node 'MF_TestEmail.Email Input'. : BROKER1.3b8ddce1-3001-0000-0080-d82fd7446e9e: /build/S700_P/src/DataFlowEngine/TemplateNodes/ImbCallableTemplateNode.cpp: 1202: ImbCallableTemplateNode::processMessage: ComIbmEmailInputNode: MF_TestEmail#FCMComposite_1_1
Feb 23 18:52:34 hostname user:info WebSphere Broker v7003[9896026]: (BROKER1.EG_TT)[13378]BIP4973E: EmailInput node 'Email Input' in message flow 'MF_TestEmail' has received an email with content type 'multipart/mixed; boundary="----_=_NextPart_001_01CC5C3A.953EED7D"' and internal type '### javax.mail.internet.MimeMultipart multipart', which the EmailInput node is not able to process. : BROKER1.3b8ddce1-3001-0000-0080-d82fd7446e9e: MbErrorHandler.java: 104: validateData: :
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Feb 24, 2012 2:02 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

That says it doesn't like the particular email it's trying to process.

It's not clear why - if the email is really just a multi-part email, it should be easily understood.

I'd dump out the contents of the email in a flatfile using something other than Broker and then stare at it for a while. Then I'd take a service trace of broker trying process the email. Then I'd submit that in a PMR.
Back to top
View user's profile Send private message
coolcurls
PostPosted: Fri Feb 24, 2012 10:06 am    Post subject: Reply with quote

Novice

Joined: 03 Aug 2007
Posts: 15

The message fails on the Email Input Node itself. It does not come to any of the output terminals on the node n debug mode. I wanted to check and see if anyone has had this issue before.
I have opened a service request with IBM.

mqjeff,
Thanks for your help.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Feb 24, 2012 10:19 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Connect each individual terminal of the input node to a Trace node, and see if you get the message in the flow. What is your "action on failing email" set to?


By the way, PMRs cannot be used for product-use training. Product-use training is provided here:

http://www-304.ibm.com/jct03001c/services/learning/ites.wss/us/en?pageType=course_description&courseCode=WM663
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Fri Feb 24, 2012 10:20 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

In cases like this, using UserTrace may well give you some more data that you would get with the Debugger.
_________________
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
cyn
PostPosted: Fri Apr 13, 2012 4:21 am    Post subject: Reply with quote

Newbie

Joined: 13 Apr 2012
Posts: 5

I have the same problem.

I'm using WMB 7.0.0.3 IBM AIX

When I receive e-mail with attachment using EmailInput node, i get exception in this node:

Quote:

Text:CHARACTER:Unknown content type: class javax.mail.internet.MimeMultipart
Insert
Type:INTEGER:5
Text:CHARACTER:Email Input
Insert
Type:INTEGER:5
Text:CHARACTER:mail.adapter
Insert
Type:INTEGER:5
Text:CHARACTER:multipart/mixed; boundary="=_mixed 0030B2C2C62579DF_="
Insert
Type:INTEGER:5
Text:CHARACTER:### javax.mail.internet.MimeMultipart multipart


Exception occurs only when email has an attachment, simple text emails are processing properly.

I tried to run the same flow and receive the same e-mail on WMB v8 PC-WIN and there was no exception.

Do you think it's java/operating system problem?

@coolcurls
Have you solved your issue?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Apr 13, 2012 4:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

cyn wrote:
Exception occurs only when email has an attachment, simple text emails are processing properly.


What kind of attachment?

cyn wrote:
I tried to run the same flow and receive the same e-mail on WMB v8 PC-WIN and there was no exception.

Do you think it's java/operating system problem?


I'd be more inclined to think that AIX & Windows are using 2 different code pages.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
cyn
PostPosted: Fri Apr 13, 2012 4:54 am    Post subject: Reply with quote

Newbie

Joined: 13 Apr 2012
Posts: 5

Vitor wrote:

What kind of attachment?

I've tried zip and txt file. I think attachment type does not matter.

Vitor wrote:

I'd be more inclined to think that AIX & Windows are using 2 different code pages.

But in that case simple text e-mail shouldn't also throw an exception in EmalInput node?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Apr 13, 2012 5:06 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

cyn wrote:
But in that case simple text e-mail shouldn't also throw an exception in EmalInput node?


Not if all the characters in the simple text (which being simple are all common) are idenitically mapped in both code pages; i.e alphanumerics & common punctuation.

If the attachment contains more exotic charactes (which the zip certainly will because it's a binary) that could be a issue. A problem with txt file attachments sort of crimps my wonderful theory however but...

...you're using WMBv7 on AIX & WMBv8 on Windows! It's highly possible the node got changed / fixed / enhanced between versions & this is why it working. Perhaps it's more tollerant / smarter with MIME content settings?

That's the next thing I'd look at in your position.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
cyn
PostPosted: Fri Apr 13, 2012 5:24 am    Post subject: Reply with quote

Newbie

Joined: 13 Apr 2012
Posts: 5

Vitor wrote:
It's highly possible the node got changed / fixed / enhanced between versions & this is why it working.


This is the simplest explanation,so I want to test this flow on WMB 7.0.0.3 on Windows.

But if node got fixed in v8 there should be also fix pack for v7, unless the error was fixed unconsciously
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Apr 13, 2012 5:31 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

cyn wrote:
But if node got fixed in v8 there should be also fix pack for v7, unless the error was fixed unconsciously


Not the first time.

It's also highly possible that v8 handles MIME content setting differently or has been enhanced to handle content differently / better.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Apr 13, 2012 5:46 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

My money is on a bad email created by Microsoft Outlook that requires custom MIME parts.

Again, to debug the email input node, use the following steps
  1. export the email as a text document (inlcuding all of the mime parts) from something other than Broker
  2. take a service trace of broker trying to receive the email
Back to top
View user's profile Send private message
cyn
PostPosted: Sun Apr 15, 2012 10:57 pm    Post subject: Reply with quote

Newbie

Joined: 13 Apr 2012
Posts: 5

This issue appears also in WMB 7.0.0.3 on Windows, but I realized that broker throws exception only when email has attachment and is sending as text/html.

The same email with attachment but sent as text/plain is processed properly.
Text/html email without attachment also is correct.

For WMB v8 all kind of email are correct.
Back to top
View user's profile Send private message
cyn
PostPosted: Mon Apr 16, 2012 5:43 am    Post subject: Reply with quote

Newbie

Joined: 13 Apr 2012
Posts: 5

This is WMB bug
http://www-01.ibm.com/support/docview.wss?uid=swg1IC75563

Quote:
The fix is targeted for delivery in the following PTFs:

V7.0 - Maintenance Level 7.0.0.4
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 » Email Input Node WMB 7.0.0.3
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.