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 » URGENT:Which userId needs access to a User database...?

Post new topic  Reply to topic
 URGENT:Which userId needs access to a User database...? « View previous topic :: View next topic » 
Author Message
ydsk
PostPosted: Wed Aug 23, 2006 10:16 am    Post subject: URGENT:Which userId needs access to a User database...? Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Maybe I am asking a basic question. We have a broker on Solaris and the broker database is all set.

I also have a User database (Oracle9) on a remote Unix box managed by DBAs. My msgflows need to access it to log errors.

We did all the steps( TNS names, ODNC.ini, mqsi_setupdatabase, mqsisetdbparms) on the broker box but I see ODBC errors( invalid username/passwd)in /var/adm/messages on the broker box. Looks like we are missing something.

My question is, which id needs to be granted permission by the DBA to access the User database ? Is it the broker service id or some other id ? With which id does the broker(msgflows) access the user database ?

Can someone pls clarify ?

Thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 23, 2006 10:20 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ah14460_.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mlafleur
PostPosted: Wed Aug 23, 2006 10:26 am    Post subject: Reply with quote

Acolyte

Joined: 19 Feb 2004
Posts: 73

Quote:
which id needs to be granted permission by the DBA to access the User database ?


The one you set with mqsisetdbparms
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 23, 2006 10:27 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

mlafleur wrote:
Quote:
which id needs to be granted permission by the DBA to access the User database ?


The one you set with mqsisetdbparms


I view it as actually the other way around.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ydsk
PostPosted: Wed Aug 23, 2006 10:43 am    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Jeff,

Thanks for the quick response.

But my question is with which id does the broker(msgflows) access the user database ? And does that id need to be part of mqm/mqbrkrs on the broker box ?

Pls clarify.
Back to top
View user's profile Send private message
ydsk
PostPosted: Wed Aug 23, 2006 10:50 am    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

sorry guys, I posted before I saw your last posts.

Here is the error I am getting:

BIP2321E: Database error: ODBC return code '-1'. : /build/S600_P/src/DataFlowEngine/ImbOdbc.cpp: 227: ImbOdbcHandle::checkRcInner: : BIP2322E: Database error: SQL State ''28000''; Native Error Code '1017'; Error Text ''[DataDirect][ODBC Oracle driver][Oracle]ORA-01017: invalid username/password; logon denied ''. : /build/S600_P/src/DataFlowEngine/ImbOdbc.cpp: 355: ImbOdbcHandle::checkRcInner: :

The problem is the DSN name I am using ( given by DBA) has a dot , like in 'ABC.XYZ' and when I use it in my compute node like Database.ABC.XYZ.Schema1.Table , I think the broker is treating it differently.

Any ideas what the problem could be ?

thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 23, 2006 11:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I would say the problem is that you have named the DSN after the database it is pointed to.

Also that you don't understand ESQL syntax as well as you should, to know how to handle identifiers that have periods in them.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ydsk
PostPosted: Wed Aug 23, 2006 11:13 am    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Jeff,
Here is my TNS entry:

BSCORADX.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp)
(PROTOCOL = TCP)
(Host =cccun087)
(Port = 1800)
)
)
(CONNECT_DATA =
(SID = BSCORADX)
(GLOBAL_NAME =BSCORADX)
)
)

Can you pls tell me what would be my DNS name here ?

Thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 23, 2006 11:15 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

No, I can't tell you. There is nothing in there that puts any restrictions or requirements on the DSN name that you use.
_________________
I am *not* the model of the modern major general.


Last edited by jefflowrey on Wed Aug 23, 2006 11:26 am; edited 2 times in total
Back to top
View user's profile Send private message
ydsk
PostPosted: Wed Aug 23, 2006 11:15 am    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

It's a Oracle 9 database on a remote unix box.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 23, 2006 11:18 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What database is being used and what operating system it is running on has nothing to do with the DSN name either.
_________________
I am *not* the model of the modern major general.


Last edited by jefflowrey on Wed Aug 23, 2006 11:26 am; edited 2 times in total
Back to top
View user's profile Send private message
ydsk
PostPosted: Wed Aug 23, 2006 11:19 am    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

I know if there is a dot I need to use double quotes like in "ABC.XYZ" but that didn't help either. I am not sure what the DNS name would be in my case based on the DNS entry I gave above.

This is driving me nuts. Appreciate any help in this matter.

Thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 23, 2006 11:21 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Who gets to decide what the DSN name is?

http://www.openlinksw.com/info/docs/odbcwhp/open.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ydsk
PostPosted: Wed Aug 23, 2006 11:46 am    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

And Jeff, we used an id on the mqsisetdbparms command to setup access to user database. Does that id need to be part of mqbrkrs/mqm or other groups ?

thanks.
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 » URGENT:Which userId needs access to a User database...?
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.