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 » Broker unable to connect to DB

Post new topic  Reply to topic
 Broker unable to connect to DB « View previous topic :: View next topic » 
Author Message
Jenney
PostPosted: Thu Feb 21, 2008 12:12 pm    Post subject: Broker unable to connect to DB Reply with quote

Voyager

Joined: 25 Apr 2007
Posts: 83
Location: Melbourne

Hi,

We have Brk V6, Orable DB on AIX each seperately installed. I am able to set the broker db connection to the DB and Broker is running fine.

i have a message flow which access DB, i have set the mqsisetdbparms cmd and set another user with same DSN as of Broker and diff password to access DB. When i run the flow, i am getting following error .

Quote:

<ErrorCode>2322</ErrorCode>
<ErrorDetail>Child SQL exception</ErrorDetail>
<SeverityLevel>3</SeverityLevel>
<NodeSource></NodeSource>
<ErrorDescription>[DataDirect][ODBC Oracle driver][Oracle]ORA-00942: table or view does not exist </ErrorDescription>


I am able to connect & run sql statements through sql plus from Brk server. I don't understand why through broker flow i am getting that error.

Any idea will be a great help

Thanks
Jen
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 21, 2008 12:23 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

When you change the user with Oracle you are changing the default Schema, as well.

So you may need to fully address the database, table, or view, by including the Schema that they are defined under, rather than leaving it default.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Jenney
PostPosted: Thu Feb 21, 2008 12:39 pm    Post subject: Reply with quote

Voyager

Joined: 25 Apr 2007
Posts: 83
Location: Melbourne

this is my sql statement, here i am specifying the schema name and tabel name, on compute node i am specifying the data source name. I guess it should work with all these information

Quote:


SET Environment.Variables.ErrorDesc[] = SELECT P.ERR_DETAIL, P.RETRY_THRESHOLD, P.TIMEDELAYINTERVAL
FROM Database.mySchema.myTable AS P WHERE P.ERR_CD = errorCode;
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 21, 2008 12:57 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981





What does your Oracle DB say?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Jenney
PostPosted: Thu Feb 21, 2008 1:07 pm    Post subject: Reply with quote

Voyager

Joined: 25 Apr 2007
Posts: 83
Location: Melbourne

Oracle DBA says if they can run the command through sql plus, with the given user and password then they are all set from their side.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 21, 2008 1:14 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Jenney wrote:
Oracle DBA says if they can run the command through sql plus, with the given user and password then they are all set from their side.


Sure, but they might also be willing to examine their error log and see what Oracle says about why Broker is failing.

If they were actually providing support to development teams.
_________________
I am *not* the model of the modern major general.
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 » Broker unable to connect to DB
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.