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 » Database Exception Error

Post new topic  Reply to topic Goto page Previous  1, 2
 Database Exception Error « View previous topic :: View next topic » 
Author Message
JT
PostPosted: Wed Aug 16, 2006 3:01 pm    Post subject: Reply with quote

Padawan

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

Post the Insert statement.
Back to top
View user's profile Send private message
manojsu
PostPosted: Sun Aug 20, 2006 9:07 pm    Post subject: Reply with quote

Centurion

Joined: 19 Jul 2006
Posts: 147
Location: Bangalore

This is the insert statement..

INSERT INTO Database.{K_DATABASE_SCHEMA}.SUBSCRIPTIONS
(CONSUMER_REFERENCE,
CORRELID,
TOPIC_EXPRESSION,
USE_RAW,
STATUS )
VALUES
(subscribeIRef.consumerReference.address,
correlidC,
subscribeIRef.filter.topicExpression,
useRaw,
status);
Back to top
View user's profile Send private message Yahoo Messenger
JT
PostPosted: Sun Aug 20, 2006 9:38 pm    Post subject: Reply with quote

Padawan

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

Are you absolutely sure the K_DATABASE_SCHEMA variable contains the value you think it should?
Back to top
View user's profile Send private message
manojsu
PostPosted: Sun Aug 20, 2006 9:55 pm    Post subject: Reply with quote

Centurion

Joined: 19 Jul 2006
Posts: 147
Location: Bangalore

Yes, but not very confident..
But since its wrt to oracle database, i tried insertion without the SCHEMA name, cos the user is the schema wrt oracle..
still not able to do any thing
Back to top
View user's profile Send private message Yahoo Messenger
smdavies99
PostPosted: Sun Aug 20, 2006 10:56 pm    Post subject: Just to be sure Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Can you check that the node doing the insert has its properties correctly set.
If you don't set (or incorrectly set) the connection in the Compute/Filter/etc node then you can get this sort of problem.
Secondly, if this is a different ODBC DSN than you are using for the broker database, check that the params you used in the mqsisetdbparms are also correct
For example
mqsisetdbparms SKY101 -n REPORTING -u RepoUser -p RepoMan

You need the following to all match
- The ESQL
- The ODBC DSN in the node properties
- The mqsisetdbparms parameters
- The SYSTEM DSN ODBC Definition.

Without ALL FOUR having the correct definitons then it just won't work.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
manojsu
PostPosted: Mon Aug 21, 2006 12:07 am    Post subject: Reply with quote

Centurion

Joined: 19 Jul 2006
Posts: 147
Location: Bangalore

Yes, I have set the properties(Datasource = DSN),and also done addition of it in bar file
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

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