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 » mqsi

Post new topic  Reply to topic
 mqsi « View previous topic :: View next topic » 
Author Message
iamhappy
PostPosted: Wed Nov 09, 2011 5:01 am    Post subject: mqsi Reply with quote

Novice

Joined: 15 Sep 2011
Posts: 16

i am using mqsi since 1 year whenever i use database in my application.but now i want to know what is the exact reason to use mqsi commands before running any application.
Back to top
View user's profile Send private message
vmcgloin
PostPosted: Wed Nov 09, 2011 5:50 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

Please be more specific about your question. Referring to specific documentation you have read & do not understand might help us to know what you are asking.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Nov 09, 2011 2:53 pm    Post subject: Re: mqsi Reply with quote

Jedi Knight

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

iamhappy wrote:
i want to know what is the exact reason to use mqsi commands before running any application.


You must source the mqsi profile before running any WMB runtime commands, since the mqsi profile sets up environment-specific parameters for your operating platform.
_________________
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
iamhappy
PostPosted: Wed Nov 09, 2011 9:38 pm    Post subject: Reply with quote

Novice

Joined: 15 Sep 2011
Posts: 16

I was getting following errors :

1..."( TestBroker.default ) Database error: SQL State ''08001''; Native Error Code '-30082'; Error Text ''[IBM][CLI Driver] SQL30082N Security processing failed with reason "24" ("USERNAME AND/OR PASSWORD INVALID"). SQLSTATE=08001 ''.

The error has the following diagnostic information: SQL State ''08001'' SQL Native Error Code '-30082' SQL Error Text ''[IBM][CLI Driver] SQL30082N Security processing failed with reason "24" ("USERNAME AND/OR PASSWORD INVALID"). SQLSTATE=08001 ''
"


2..."( TestBroker.default ) Database error: ODBC return code '-1' from data source ''EMPLOYEE''.

The broker received an error when executing a database operation. The ODBC return code was '-1'. See the following messages for information obtained from the database about this error.

Use the following messages to determine the cause of the error. Typical causes are incorrect data source or table names. Correct either the database or the broker configuration.
"


When i set mqsi commands (mqsicreateconfigurableservice ,mqsichangeproperties,mqsisetdbparms )then i get no errors and it runs sucessfully

so i wanted to know more about mqsi because there is no explanation in redbooks or anywhere on google about "WHY"
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 09, 2011 9:53 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

iamhappy wrote:
....
The broker received an error when executing a database operation. The ODBC return code was '-1'. See the following messages for information obtained from the database about this error.

Use the following messages to determine the cause of the error. Typical causes are incorrect data source or table names. Correct either the database or the broker configuration.[/b] "


When i set mqsi commands (mqsicreateconfigurableservice ,mqsichangeproperties,mqsisetdbparms )then i get no errors and it runs sucessfully

so i wanted to know more about mqsi because there is no explanation in redbooks or anywhere on google about "WHY"


Now this is a correctly asked question.
Why does it work this way?.... Well because a lot of people have thought about it and have architected it this way...

mqsisetdbparms allows you to set user and password for multiple databases... This gives you more flexibility than just giving the broker user authorizations in all DBs. You could as such have 2 different DSN going to the same DB with a different user and different permissions....

Setting up a configurable service allows you to change targets between environments....

It's all been done with the intention to allow you to deploy across environments without changing code but keeping the environment specificities separate.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

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