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 » Invalid logon to an Oracle ODBC

Post new topic  Reply to topic
 Invalid logon to an Oracle ODBC « View previous topic :: View next topic » 
Author Message
Vitor
PostPosted: Tue Nov 22, 2011 8:08 am    Post subject: Invalid logon to an Oracle ODBC Reply with quote

Grand High Poobah

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

OS: Solaris
WMB: 7.0.0.3
Oracle: 11g

A newly configured box is being tested with a specially written test flow which works fine on Windows.

On Solaris against the same database (but clearly not the same ODBC configuration!) the flow's blowing up with a SQL code 1017 "invalid log on". I've done a mqsicvp <broker name> -n <ODBC name> and that works, the ODBC name in the flow's user trace is the same one I'm using in the ODBC.

Looking at the ESQL (data source is in a Compute node) there's nothing obviously hinky. Is there somewhere else where the credentials could have been specified to override the ones I used on mqsisetdbparms? Do I need to do something else as well as mqsisetdbparms??? Are there credentials hidden in the code, bar file property, beer mat, anywhere? Is there another check I can perform? The ODBC trace was worthless in that it shows the user id I expoect and "*******" for a password, then a SQL 1017 coming back.

I sort of knew that from the broker error.

Suggestions welcomed, especially anything blindingly obvious I'm overlooking.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Nov 22, 2011 8:11 am    Post subject: Reply with quote

Jedi Knight

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

What context is the user id in at the Oracle box ? ie. is there a domain assumed at the Oracle box for Windows conx but not Solaris conx ?
_________________
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
Vitor
PostPosted: Tue Nov 22, 2011 8:18 am    Post subject: Reply with quote

Grand High Poobah

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

lancelotlinc wrote:
What context is the user id in at the Oracle box ? ie. is there a domain assumed at the Oracle box for Windows conx but not Solaris conx ?


My understanding is that the user in question is an Oracle one, but I'll increase my understanding.

On the assumption there's an assumed domain I'm not supplying why is the mqsicvp acting like the data source works? More importantly, how can I get whatever the mqsicvp command is using to connect in the way of credentials into the flow?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Nov 22, 2011 8:19 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Try adding -u to the mqsicvp, and then -u and -p. See if you can replicate the failure this way.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Nov 22, 2011 8:21 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
on the assumption there's an assumed domain I'm not supplying why is the mqsicvp acting like the data source works? More importantly, how can I get whatever the mqsicvp command is using to connect in the way of credentials into the flow?


mqsicvp may be using the Broker service user when you issue the -n. You only issued the ODBC trace when trying from the Broker runtime, not during the mqsicvp right?

Try ODBC tracing the successful mqsicvp and as well try utility tracing mqsicvp.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Nov 22, 2011 8:33 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
mqsicvp may be using the Broker service user when you issue the -n. You only issued the ODBC trace when trying from the Broker runtime, not during the mqsicvp right?


Right, but the mqsicvp result quotes the correct id not the broker's service id. It could be bluffing & I'll take another trace.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Invalid logon to an Oracle ODBC
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.