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 Interchange Server + Adapters » Issue relate to the JDBC Connector[solved]

Post new topic  Reply to topic
 Issue relate to the JDBC Connector[solved] « View previous topic :: View next topic » 
Author Message
mqseries123
PostPosted: Wed Oct 11, 2006 7:52 pm    Post subject: Issue relate to the JDBC Connector[solved] Reply with quote

Apprentice

Joined: 04 Jan 2006
Posts: 26

Hi,

The configuration of the system is :

OS : Windows 2000
WICS 4.3.1
MQ 5.3
DB2 8.2

It is required that the JDBC Adapter inserts a record to the table. The records are inserted fine if initially the application table is empty.

But if there are some records already in the same application table, it keeps inserting the same record in the table, hence there is a SQL exception (unique key constraint).


Last edited by mqseries123 on Tue Oct 17, 2006 8:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
vennela
PostPosted: Thu Oct 12, 2006 11:16 am    Post subject: Re: Issue relate to the JDBC Connector Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

mqseries123 wrote:

But if there are some records already in the same application table, it keeps inserting the same record in the table, hence there is a SQL exception (unique key constraint).

Don't you think it is working as designed?
What seems to be the problem
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mqseries123
PostPosted: Thu Oct 12, 2006 8:23 pm    Post subject: Reply with quote

Apprentice

Joined: 04 Jan 2006
Posts: 26

ICS picks the message from the queue, and the JDBC adapter inserts the record to the application table TABLE1. So it not an event based polling.

The messages come from workflow to a queue from which ICS has to pick it up.

There is an application table TABLE1 in which there are already records inserted. Now, when the JDBC connector agent is started, it goes on inserting the same record in the table hence giving an exception(unique key constraint). We are not able to figure out this behaviour.

We are also facing one more problem. In the interchange server console, the error
"MQJE001: Completion Code 2, Reason 2033" is shown.

We tried to debug, but now ICS is not picking the message from the queue.
Back to top
View user's profile Send private message
vk
PostPosted: Sat Oct 14, 2006 6:24 am    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

Quote:
ICS picks the message from the queue, and the JDBC adapter inserts the record to the application table TABLE1. So it not an event based polling.


I an using JDBC adapter with WMQI\WMB. Here the flow delivers a message to the queue. The adapter picks up the message from the queue and inserts into the database.

Is this different in ICS? If ICS is picking up the message from queue, how is the message passed on to the adapter?

Regards,
VK.
Back to top
View user's profile Send private message
Ratan
PostPosted: Mon Oct 16, 2006 9:02 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Turn the tracing to 5 on the JDBC Adapter and check the data in the BO going out. Looks like you are sending out the same data.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
mqseries123
PostPosted: Tue Oct 17, 2006 8:02 pm    Post subject: Reply with quote

Apprentice

Joined: 04 Jan 2006
Posts: 26

Thanks a lot.

We resolved the issue. the problem was with the installation of Fixpack 1. Installed the fixpack once again. Everything seems to work fine.
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 Interchange Server + Adapters » Issue relate to the JDBC Connector[solved]
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.