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 » ODBC Data sources

Post new topic  Reply to topic
 ODBC Data sources « View previous topic :: View next topic » 
Author Message
Kjell
PostPosted: Wed Dec 01, 2004 3:07 am    Post subject: ODBC Data sources Reply with quote

Acolyte

Joined: 26 Feb 2002
Posts: 73

Hi

We have installed 2 brokers in the same machine , an AIX.
One broker for the development environment, and one for the test environment.

We have developed a flow that inserts records into an Oracle DB, via a Database node. For both brokers (dev + test) we want to use the same Oracle instance and the same schema. So, we have ONE datasource name that we use in this node.

Our problem is that it works perfectly from the DEV broker, but from the TEST one it does not work. We get an error , like "sql error in creating object" or similar.

Does anyone recognise this problem? Is it at all possible to use the same datasource from 2 different brokers, or do we need to create 2 Datasources, and thus remeber to change the property on the bar file when we move from dev to test?
Back to top
View user's profile Send private message
rajmq
PostPosted: Wed Dec 01, 2004 6:34 am    Post subject: Reply with quote

Partisan

Joined: 29 Sep 2002
Posts: 331
Location: USA

Hi Jell,

My First Question,

Why do you need two broker for access single db??
You can achive this using the single broker !!

What is the sql error details ??..did you enabled the trace ?? or post sys log error's

Cheers,
RJ
Back to top
View user's profile Send private message
JT
PostPosted: Wed Dec 01, 2004 6:41 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Shouldn't be a problem as we do something very similar. We have multiple brokers (Solaris) running simultaneously on the same server. Each broker contains the same message flows that are accessing the same Data Source (Oracle). We do this to load-balance the messages in the development environment.

What happens if you shutdown the DEV broker so that the TEST broker is the only one running. Does it work?

What is the exact error message?
Back to top
View user's profile Send private message
Kjell
PostPosted: Fri Dec 03, 2004 12:51 am    Post subject: Reply with quote

Acolyte

Joined: 26 Feb 2002
Posts: 73

The error message is obtained from the Exception list in the message, when I run the Flow debugger. It says "The ESQL code generated is invalid", pointing at the database node as to where the SQL stmt is. I do not remember the exact error numbers and so on, since I am on an other assignment at the moment. When I go thru the code step by step the debugger stops at the SQL Insert stmt and backs out.

I will try to shut down the DEV broker and run the TEST only, next time I am working on the task (it will be in 2 weeks).
Back to top
View user's profile Send private message
Kjell
PostPosted: Thu Dec 09, 2004 2:50 am    Post subject: Reply with quote

Acolyte

Joined: 26 Feb 2002
Posts: 73

I get the following error message:
BIP2599: "The ESQL deployed to the node is invalid"

How can the code be "valid" in DEV , but "invalid" in TEST?

Anyone?
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Dec 09, 2004 9:51 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
How can the code be "valid" in DEV , but "invalid" in TEST?

Different CSD levels?

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Kjell
PostPosted: Thu Dec 09, 2004 11:38 pm    Post subject: Reply with quote

Acolyte

Joined: 26 Feb 2002
Posts: 73

No,

Both DEV and TEST are on the same machine, create in the same WBIMB installation.
Back to top
View user's profile Send private message
kirani
PostPosted: Thu Dec 09, 2004 11:42 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

I am using the same DSN for 2 brokers on Windows platform and it's working very well.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
JT
PostPosted: Fri Dec 10, 2004 11:39 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

If you're deploying the exact same code to both brokers, then it sounds like an environmental discrepancy.

For instance, verify that the same database id & password were assigned, via mqsisetdbparms, to the data source for each of the brokers.
Back to top
View user's profile Send private message
Kjell
PostPosted: Mon Dec 13, 2004 11:23 am    Post subject: Reply with quote

Acolyte

Joined: 26 Feb 2002
Posts: 73

Solved

I had forgotten to stop the broker before doing the mqsisetdbparms.

All OK now.
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 » ODBC Data sources
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.