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 while executing EmailOutput node

Post new topic  Reply to topic Goto page 1, 2  Next
 Error while executing EmailOutput node « View previous topic :: View next topic » 
Author Message
kavya0105
PostPosted: Tue Jul 23, 2013 10:16 pm    Post subject: Error while executing EmailOutput node Reply with quote

Newbie

Joined: 13 Jun 2013
Posts: 7

I have created a flow with MQinput node, EmailOutput node and Compute node.
I executed the following commands,
1. mqsicreateconfigurableservice BROKER -c SMTP -o MYSERVER
2. mqsichangeproperties BROKER -c SMTP -o MYSERVER -n serverName -v xxxxxxxxxxt:25
3. mqsisetdbparms BROKER -n MyIdentity -u xxxxx -p xyz
4. mqsichangeproperties BROKER -c SMTP -o MYSERVER -n securityIdentity -v MyIdentity

And in compute node I have written,
SET OutputRoot.EmailOutputHeader.To = 'xxxxx';
SET OutputRoot.EmailOutputHeader.From = 'yyyyy';
SET OutputRoot.EmailOutputHeader.Subject = 'Email Test.';
SET OutputLocalEnvironment.Destination.Email.SMTPServer ='MYSERVER';
SET OutputLocalEnvironment.Destination.Email.SecurityIdentity = 'MyIdentity';

After executing this flow, I got error
"text:CHARACTER:com.ibm.broker.emailnodes.EmailOutputNode : Security identity specified but no userid or password has been declared using mqsisetdbparms".

Should I configure Username and password in Compute node also?
Is there anything I am missing?
Please help me in resolving this issue.
Back to top
View user's profile Send private message
marko.pitkanen
PostPosted: Tue Jul 23, 2013 10:37 pm    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Hi,

Did you try with email:: or smtp:: prefixes on mqsisetdbparms command resourcename paramer?

--
Marko
Back to top
View user's profile Send private message Visit poster's website
dogorsy
PostPosted: Tue Jul 23, 2013 10:52 pm    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

the correct syntax is
mqsisetdbparms MB8BROKER -n email::mySecurityIdentityObjectName
-u myUserID -p myPassword
Back to top
View user's profile Send private message
kavya0105
PostPosted: Tue Jul 23, 2013 11:27 pm    Post subject: Error while executing EmailOutput node Reply with quote

Newbie

Joined: 13 Jun 2013
Posts: 7

I tried with mqsisetdbparms MB8BROKER -n email::mySecurityIdentityObjectName
-u myUserID -p myPassword

I changed command and restarted the broker.
Still I am getting same error.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jul 23, 2013 11:30 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The name has to match.
Back to top
View user's profile Send private message
kavya0105
PostPosted: Tue Jul 23, 2013 11:33 pm    Post subject: Reply with quote

Newbie

Joined: 13 Jun 2013
Posts: 7

Yes.
mqsisetdbparms BROKER -n email::MyIdentity -u xxxxx -p xyz


I am using MB 7 version.
Back to top
View user's profile Send private message
dogorsy
PostPosted: Tue Jul 23, 2013 11:56 pm    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

in the compute node, are you propagating message only or message and LocalEnvironment? , which looking at the error message probably is not the cause of the problem....
Back to top
View user's profile Send private message
dogorsy
PostPosted: Wed Jul 24, 2013 12:15 am    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

have you specified a security identity in the email output node ? Could it be that you are specifying the parameters in the file output node, then trying to override them with the local environment but not propagating it ? In that case, the local environment will be ignored as it is not seen by the email node, and the static parameters used.
Back to top
View user's profile Send private message
kavya0105
PostPosted: Wed Jul 24, 2013 1:23 am    Post subject: Reply with quote

Newbie

Joined: 13 Jun 2013
Posts: 7

I specified Security identity in compute node as well as EmailOutput node.

I removed it in EmailOutput node. Still it is not working.
I am passing both Message and Local environment.
Back to top
View user's profile Send private message
dogorsy
PostPosted: Wed Jul 24, 2013 2:26 am    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

in that case you will need to run with user or service trace and see what values are being used
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Jul 24, 2013 6:01 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Start with user trace. Service trace is for IBM service, not for users. User trace is almost always better for users.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
kavya0105
PostPosted: Wed Jul 24, 2013 10:49 pm    Post subject: Reply with quote

Newbie

Joined: 13 Jun 2013
Posts: 7

Security identity specified but no userid or password has been declared using mqsisetdbparms...

When this error will come?
Only if userid and password is not set?
Or
Userid or password is wrong?
Back to top
View user's profile Send private message
dogorsy
PostPosted: Thu Jul 25, 2013 3:31 am    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

kavya0105 wrote:
Security identity specified but no userid or password has been declared using mqsisetdbparms...

When this error will come?
Only if userid and password is not set?
Or
Userid or password is wrong?


What does the error message say ?
Back to top
View user's profile Send private message
kavya0105
PostPosted: Thu Jul 25, 2013 9:01 pm    Post subject: Reply with quote

Newbie

Joined: 13 Jun 2013
Posts: 7

Here is the Exception tree.
RecoverableException
File:CHARACTER:F:\build\S000_P\src\DataFlowEngine\TemplateNode s\ImbOutputTemplateNode.cpp
Line:INTEGER:318
Function:CHARACTER:ImbOutputTemplateNode::
processMessageAssemblyToFailure
Type:CHARACTER:ComIbmEmailOutputNode
Name:CHARACTER:EmailSample#FCMComposite_1_3
Label:CHARACTER:EmailSample.EmailOutput
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Caught exception and rethrowing
RecoverableException
File:CHARACTER:EmailOutputNode.java
Line:INTEGER:1859
Function:CHARACTER:getDataFromBrokerExternalResources()
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:4458
Text:CHARACTER:mqsisetdbparms value missing
Insert
Type:INTEGER:5
Text:CHARACTER:com.ibm.broker.emailnodes.EmailOutputNode : Security identity specified but no userid or password has been declared using mqsisetdbparms
Back to top
View user's profile Send private message
dogorsy
PostPosted: Thu Jul 25, 2013 9:16 pm    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

No one asked for the exception tree. I asked what the error message says, just to see if you can read and interpret it so that you can answer your own question:

"When this error will come?
Only if userid and password is not set?
Or
Userid or password is wrong? "

by the way, have you run a user trace yet ? you will get a lot more information in it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Error while executing EmailOutput 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.