Author |
Message
|
kavya0105 |
Posted: Tue Jul 23, 2013 10:16 pm Post subject: Error while executing EmailOutput node |
|
|
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 |
|
 |
marko.pitkanen |
Posted: Tue Jul 23, 2013 10:37 pm Post subject: |
|
|
 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 |
|
 |
dogorsy |
Posted: Tue Jul 23, 2013 10:52 pm Post subject: |
|
|
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 |
|
 |
kavya0105 |
Posted: Tue Jul 23, 2013 11:27 pm Post subject: Error while executing EmailOutput node |
|
|
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 |
|
 |
mqjeff |
Posted: Tue Jul 23, 2013 11:30 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
kavya0105 |
Posted: Tue Jul 23, 2013 11:33 pm Post subject: |
|
|
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 |
|
 |
dogorsy |
Posted: Tue Jul 23, 2013 11:56 pm Post subject: |
|
|
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 |
|
 |
dogorsy |
Posted: Wed Jul 24, 2013 12:15 am Post subject: |
|
|
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 |
|
 |
kavya0105 |
Posted: Wed Jul 24, 2013 1:23 am Post subject: |
|
|
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 |
|
 |
dogorsy |
Posted: Wed Jul 24, 2013 2:26 am Post subject: |
|
|
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 |
|
 |
kimbert |
Posted: Wed Jul 24, 2013 6:01 am Post subject: |
|
|
 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 |
|
 |
kavya0105 |
Posted: Wed Jul 24, 2013 10:49 pm Post subject: |
|
|
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 |
|
 |
dogorsy |
Posted: Thu Jul 25, 2013 3:31 am Post subject: |
|
|
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 |
|
 |
kavya0105 |
Posted: Thu Jul 25, 2013 9:01 pm Post subject: |
|
|
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 |
|
 |
dogorsy |
Posted: Thu Jul 25, 2013 9:16 pm Post subject: |
|
|
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 |
|
 |
|